The use of the ESP8266 in the world of IoT

User avatar
By Nerobot
#5106 Hi All,

I'm thinking about using the ESP8266 for a home automation project I'm starting. I'm new to all this and looking at using MQTT to control devices and send data to the central system (such as temperature from different rooms). However I can't find a way to use an avr and an ESP8266 to subscribe to mqtt topics.

If possible it would be great if I could power off the esp and only power it on periodically to test for subscribed topics (and then act upon it).

Has anyone got any examples that could help me, or point me in the right direction.

Thanks,

Steven
User avatar
By scargill
#7120 Well TunaPms MQTT works - if you use Mosquitto for your broker you can send messages that are guaranteed to get through. When the code gets a message it sends it down the serial line - so your Arduino could pick up on that and do something - the Arduino of course would control the power to the ESP8266. Never thought of that - not a bad idea.