-->
Page 1 of 1

Simple test and two NodeMCU esp8266

PostPosted: Thu May 31, 2018 1:35 pm
by fritserasmus
I used the sample sketch provided with "PubSubClient /mqtt_esp8266" to send a string as topics and sure enough, with the minimum changes to the sketch (Only added UID, credentials and topic to distinguish between the two esp8266's,

the communication stops when a second NodeMCU is connected (powered up).

In this topic on the forum:
viewtopic.php?f=160&t=17706&p=0&e=0

I described my prototype attempt but my reply with more info seems to disappear.

I am more than will to share my test code to prove it.

Any help will greatly be appreciated



Frits

Re: Simple test and two NodeMCU esp8266

PostPosted: Thu Jun 07, 2018 1:00 am
by fritserasmus
Solved:
When client.connect, each ESP8266 should have a unique ClientID.
I used the same sketch and not changing the ClientID

This topic can be closed