- Wed Feb 18, 2015 2:21 pm
#10114
Hi Lawrence -
You might be right on the panics during the publish. I do not have debounce circuitry in this setup, and may be suffering from a burst of publish messages. I will add that to my to-do list!
Yes, my relay does activate on power cycle. I am unsure if it's from the ESP bootloader powering the pin, or if it's something in the logic of the relay board I'm using. Yet another thing on my to-do list to debug.
Another problem with this is voltage on GPIO0 causes the unit to not boot up correctly on occasion. This could be it simply booting into flash mode. I'm unsure how to get around that at the moment.
You could write a rule to poll the device in openHAB. I could be a simple ping on occasion to see if the network connect to the ESP is up, or it could be a MQTT publish to the listening ESP, expecting an ack message of some sort back.
During testing I did this where openhab would publish a request for memory status, and the ESP would publish back node.heap()
So much to do, so little a project....