MQTT and ESP8266, memory issues but a nice protocol for IoT
Posted: Mon May 11, 2015 11:02 pm
Got the vibration detection board working with MQTT. This was really an ordeal given that the memory issues with LUA and the ESP8266 are really frustrating. Its trial and error. Finally and after stripping the code to the bare minimum, i.e., remove all the fancy web page interface to the board configuration, things got working pretty good.
I installed my own MQTT broker on a MacBook, Mosquitto, and got it to work without major issues.
MQTT is really great for IoT, of course if you have a broker running or want to go through a public broker, otherwise my ad-hoc messaging solution I think it is a bit easier for home projects. But again, MQTT is the way to go if you want to control several devices, send and receive various commands, etc.
On my future boards I will offer ad-hoc messaging or MQTT check http://www.horaciobouzas.com
I installed my own MQTT broker on a MacBook, Mosquitto, and got it to work without major issues.
MQTT is really great for IoT, of course if you have a broker running or want to go through a public broker, otherwise my ad-hoc messaging solution I think it is a bit easier for home projects. But again, MQTT is the way to go if you want to control several devices, send and receive various commands, etc.
On my future boards I will offer ad-hoc messaging or MQTT check http://www.horaciobouzas.com