-->
Page 1 of 1

Mqtt

PostPosted: Thu Dec 18, 2014 4:24 pm
by Nerobot
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

Re: Mqtt

PostPosted: Mon Jan 12, 2015 3:29 pm
by scargill
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.