diff --git a/JSON-dictionary.md b/JSON-dictionary.md index eebfcd0..b2ed6de 100644 --- a/JSON-dictionary.md +++ b/JSON-dictionary.md @@ -1,9 +1,11 @@ # JSON Commands Information is exchanged between the ESP32 and remote clients using JSON string formatting. -Only actual changes are transmitted to minimise traffic. -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. +i.e. {"name1":value1,"name2":value2} + +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. Some commands are bi-directional, others are simply command directives (to ESP32), or status reporting (from ESP32).