-->
Page 1 of 1

Using ESP8266 only for MQTT communication, network discovery

PostPosted: Mon Jun 01, 2015 3:41 am
by ReNNo_BiH
My goal is to make IoT device that uses arduino and ESP8266. As I need more GPIO pins, PWM, interrupt pins and much more I need to stick with Arduino (in my case AtMega32U4).
All my code works, only what I need is to establish MQTT communication between my device and MQTT broker (server). I managed to do that using "espduino" and it works flawlessly.
https://github.com/tuanpmt/espduino

But I need to make this device smart, that means to make some kind of network discovery so my server can find device in local network. Also I need some kind of configuration tool ... it would be cool if device can boot in AP mode so I can enter SSID and Password using web interface.

As espduino uses firmware that communicates using SLIP commands I have no idea to implement these things. I could make some kind of primitive network discovery using UDP broadcasting but cannot use UDP with this firmware, hmmm.

Is there any alternative to espduino that can provide MQTT communication and also some kind of network discovery protocol?