ESP8266: communication control module
Arduino Pro-Min: dimmer control module (DCM)
ESP interfaces to EaasyIoT Server and DCM
ESP implements local manual control of dimmer via single pushbutton (PB)
-> hold down PB to dim or brighten lamp
-> when PB is released, dimmer value is sent to IoT Server (0-100%) using following command:
This keeps Server synced to ESP state when ESP PB is used.
On IoT Server, when the ESP module sends the dimmer level update, the dimmer module updates the value Sensor.DimmerLevel - which is exactly what should happen. However, the dimmer level bar graphic does not get updated.
How do I refresh the bar graphic to correctly show the Sensor.DimmerLevel received from the ESP module.