Update JSON dictionary

Ray Jones 2019-01-11 09:15:27 +00:00
parent 452e7744c5
commit e9ccd93883

@ -1,9 +1,11 @@
# JSON Commands # JSON Commands
Information is exchanged between the ESP32 and remote clients using JSON string formatting. Information is exchanged between the ESP32 and remote clients using JSON string formatting.
Only actual changes are transmitted to minimise traffic. i.e. {"name1":value1,"name2":value2}
However, whenever a new client attaches to the ESP32, every client receives the full set of information.
i.e. every time a client connects, they will always get the complete status of the heater, then only changes to the values. Only actual value changes are transmitted to minimise traffic.
However, whenever a new client attaches to the ESP32, every client will receive the full set of information.
i.e. every time a client connects, they will always get the complete status of the heater, then only changes to the values, unless another user connects.
The table below documents the JSON names sent between the ESP32 and Bluetooth or WiFi clients. The table below documents the JSON names sent between the ESP32 and Bluetooth or WiFi clients.
Some commands are bi-directional, others are simply command directives (to ESP32), or status reporting (from ESP32). Some commands are bi-directional, others are simply command directives (to ESP32), or status reporting (from ESP32).