Re: MQTT for NodeMCU Lua working NOW
Posted:
Tue Jan 20, 2015 8:19 pm
by joaodh
I apologize for the ignorance. but someone can explain me how is MQTT? thanks
Re: MQTT for NodeMCU Lua working NOW
Posted:
Wed Jan 21, 2015 12:53 pm
by quantalume
Has anyone else noticed that node.restart() fails under certain conditions? I think the problem only occurs with the MQTT branch of the NodeMCU firmware.
Re: MQTT for NodeMCU Lua working NOW
Posted:
Thu Jan 22, 2015 12:39 pm
by iHaveESP
@tuanpm Thanks for all the work on this!
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