As the title says... Chat on...

User avatar
By Cobozco
#17908 Trying to test MQTT with NodeMCU with a Rapsberry Pi 2 using Mosquitto with OpenHAB on the same network with button presses sending either a 1 or 0...the goal is for those 1`s and 0`s to turn an led on/off...

Current issue I'm testing the example application code given here: http://www.esp8266.com/viewtopic.php?f=19&t=1278
Getting the same sort of results as here with the "reconnecting 12992...reconnecting... another value" at the bottom: https://github.com/nodemcu/nodemcu-firmware/issues/237

Been working with the NodeMCU since April so past the whole MQTT fiasco not working...Please Help :D
User avatar
By ninharp
#24650 Hey,

dunno if the problem still exists but i ran into the same issues with not working mqtt with mosquitto on raspberry pi.
have you tried to enable debug mode in mosquitto server? maybe its an authentication error or just the same problem like mine. the current repository version of mosquitto won't work with current nodemcu you had to get the latest mosquitto source and compile it for yourself (just ~10 minutes work) and it will work correctly with nodemcu.

-ninharp