joaodh wrote:I apologize for the ignorance. but someone can explain me how is MQTT? thanks
Draft here: http://tuanpm.tumblr.com/post/108428048 ... th-esp8266
I'm using the bin at the first post.
I'm publishing dht temperature data every 45 seconds using a timer. I also have a PIR sensor that is interrupt driven to publish as well. At times they attempt to publish at the same time and I get "unprotected error in call to Lua API (pir.lua:34: sending in process)" and the module reboots.
I've added a flag to skip publishing dht data in favor of PIR motion, it helps, but reboot still happens. Seems like there should be a queue or something.
Anyone seeing this too?
-Thanks