Stuck - some help needed please
Posted: Tue Dec 22, 2015 4:04 am
Hi, I have a ESP8266 version 12E (NodeMCU) which I am flashing using the Arduino IDE.
I have a raspberry Pi on the same network which has got Mosquitto MQTT running.
I am trying to write a sketch to connect to Wifi and then publish a simple message (Hello World) to the topic outTopic. It should be quite simple but no matter what I do it does not work. My Mosquitto broker is working fine as I can publish and subscribe from it from other devices.
Does anyone have a Arduino IDE sketch which would be able to do this?
Thanks
I have a raspberry Pi on the same network which has got Mosquitto MQTT running.
I am trying to write a sketch to connect to Wifi and then publish a simple message (Hello World) to the topic outTopic. It should be quite simple but no matter what I do it does not work. My Mosquitto broker is working fine as I can publish and subscribe from it from other devices.
Does anyone have a Arduino IDE sketch which would be able to do this?
Thanks