Introduction

For Wi-Fi devices direct control via a local network is available. Information is exchanged through POST requests at http://dev_ip/api.cgi, where dev_ip is the ip address of the device on the local network. To detect new devices on the local network broadcast packets is used. Data is presented in JSON format.

Important

The ability to control device via local network without authentification by default blocked for security reasons.

JSON keys are available:

sn - the serial number of the device, required when transferring new data into device.

cmd - send command to receive data from the device (parameters, schedule, telemetry)

par - change device parameters

tt - transfer new schedule

time, auth - authentication

Important

It is impossible to transfer the schedule and parameters in one request, as well as several days of the schedule.

Note

The device has a page http://dev_ip/api.html, where you can check requests and test the exchange protocol.