Page 1 of 1

SHIELD-ESP-WIFI Rev2.0 and MQTT

PostPosted: Wed Apr 19, 2017 11:50 am
by hadigan
Hi there, I am working on an Arduino based project that involves MQTT communication and currently looking for suitable hardware. Someone mentioned that the wifi shield is not compatible with MQTT communication so I just want to reconfirm, is this true?

If it is not compatible, can you suggest suitable hardware to accomplish this? Thanks in advance.

Re: SHIELD-ESP-WIFI Rev2.0 and MQTT

PostPosted: Thu Apr 20, 2017 9:17 pm
by bengchet
Hi,

You can use this for MQTT connection.

Re: SHIELD-ESP-WIFI Rev2.0 and MQTT

PostPosted: Tue Jun 13, 2017 1:51 pm
by zaki75
Hi,

I am able to use Cytron ESP8266 Wifi Shield with a clone Arduino UNO for MQTT connection but not with Cytron ESP8266 library.
You can follow my steps : https://github.com/zaki75/MyMQTT_Dioty_ ... SP_library .

Rgds.

Re: SHIELD-ESP-WIFI Rev2.0 and MQTT

PostPosted: Tue Jun 13, 2017 2:24 pm
by bengchet
Hi,

Yes, WiFiESP library with mqtt publish works perfectly, but not with subscribe. For subscription, it works like just about 1 or 2 out of 10. If you are lucky, you can get more of it, but still the result is not stable. If you are only concerned with mqtt publish, WiFiEsp library is good to go. Thanks @zaki75 for posting this.