I am using esp8266 on a wemos mini D1.
Doesn’t it happen that when you have a button on the control panel to control the output of a GPIO, does this mark (lit or not) in a different state than the real one that the GPIO has?
As a solution I create a parallel virtual channel, read the real state of the GPIO and send an output with that state to the new channel that always tells the truth.
But I would like to know if there is a way to do the same to correct the button itself with its correct lighting. It’s possible?
thats a good and best relaible way to get the state of the GPIO on the borad. But the button on cayenne should hold your last value. Try refreshing the browser with the device dashboard open.