Mqtt "sync" question

So after much thought I settled on putting a button on the esp. When the button is pushed it sends a 0 and resets the esp.
I feel I was over thinking the problem. So if there is a power failure I put the door down , push the button on the esp and life is good again.

1 Like