c44ec14a9d6afd59743b84a61db3c76478f1cab5
System of monitoring and controlling heating.
Modules (called units) send their data via UDP. Each datagram contains JSON object of following form: { "id": "", "ip": "", "v1": "123", ... }
Where ID is unit's identifier (MAC address usually), IP is unit's current IP address (for server to be able to contact it). Other values in object are names and values of sensors available on the unit.
Server could send datagram with some commands to unit. For simplicity datagram is simple string with command and optional arguments, everything separated with character 0x01.
Possible commands are:
- ping - no arguments. Informs unit that server is still alive and able to communicate
Languages
C#
79.3%
C++
20.7%