I am busy withe a project using a NodeMcu and therefore I am using the MQTT. I would like to know if, and how there is a way to sync dashboard values when the device comes online after a reboot.
for example: if I have set pin D1 high with a button widget and there is a power failure, when the power comes back on D1 is still set high on the dashboard but the pin on the physical board is still off. I would like the board to fetch values from the dashboard upon connection as it is done here with the ethernet version: https://github.com/myDevicesIoT/Cayenne-Arduino-Library/blob/master/examples/Basics/SyncAll/SyncAll.ino
Thanks in advance!