-->
Page 1 of 1

Stuck - some help needed please

PostPosted: Tue Dec 22, 2015 4:04 am
by ajafferji
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

Re: Stuck - some help needed please

PostPosted: Wed Dec 23, 2015 6:22 pm
by AcmeUK
Hi
Have a look at this thread http://www.esp8266.com/viewtopic.php?f=6&t=3018
In post #6 (on page 2) the guy talks about
the mosquito version on RPi is not compatible with the one I am using on the ESP

and identifies a solution.