Once the Local Server is running, you can interact with it using standard HTTP requests.
Base URL http://localhost:10800 (or whatever port you configured).
Before sending commands, the server needs to know which device to talk to.
/configure
{ "dsn": "YOUR_DEVICE_DSN", "device_ip": "LOCAL.DEVICE.IP.ADDRESS", "lan_key": "YOUR_LAN_KEY", "device_scheme": "http", "monitor_property_name": "MONITOR_PROPERTY_NAME" }
Note: lan_key can be obtained from the Cloud API
lan_key
/command
{ "command": "COMMAND" }
Note: More information on how to generate a valid command
Returns the decoded status of the machine.
/get_monitor
{ "monitor": { ... }, "monitor_b64": "...", "received_at": 1678886400.0 }
Forces a refresh of the monitor status from the device.
/refresh_monitor
/get_properties
There was an error while loading. Please reload this page.