-
-
Notifications
You must be signed in to change notification settings - Fork 15
Services
Dmitry Mamontov edited this page May 10, 2022
·
4 revisions
The service allows you to calculate the default password for telnet or ssh.
After calling the service, you will receive a notification with a password if it was calculated successfully.
❗ To activate telnet or ssh on the router, use the search on the Internet. The service only calculates the password.
Example:
service: miwifi.calc_passwd
target:
device_id: ... # Device ID (It is the router)
Allows you to make an arbitrary request to the router API.
The list of supported API methods can be found in the disassembled firmware repository.
After execution, the event Luci response will be called, in which the API response will be passed.
Example of turning off the LED:
service: miwifi.request
target:
device_id: ... # Device ID (It is the router)
data:
uri: misystem/led # API method.
body: # Request Body
on: 0