How do I change the clientid?
Posted: 15 Nov 2016, 15:39
Hi, hope someone can help.
I'm testing with two esp devices running ESPEasy. When both devices are powered on, switches don't work,
but if I turn one of the two esp devices off, everything works fine. Did try this both ways around.
Someone else mentioned that it could be to do with the clientid
My mosquitto log shows both devices connecting as ESPClient0
1479219935: Client ESPClient0 already connected, closing old connection.
1479219935: New client connected from 192.168.0.30 as ESPClient0 (c1, k15, upi).
1479219955: New connection from 192.168.0.27 on port 1883.
1479219955: Client ESPClient0 already connected, closing old connection.
1479219955: New client connected from 192.168.0.27 as ESPClient0 (c1, k15, upi).
1479219965: New connection from 192.168.0.30 on port 1883.
I did set different names for both devices in the config section.
Is this correct, or should I change it, and then how would I go about doing that?
Thanks!
I'm testing with two esp devices running ESPEasy. When both devices are powered on, switches don't work,
but if I turn one of the two esp devices off, everything works fine. Did try this both ways around.
Someone else mentioned that it could be to do with the clientid
My mosquitto log shows both devices connecting as ESPClient0
1479219935: Client ESPClient0 already connected, closing old connection.
1479219935: New client connected from 192.168.0.30 as ESPClient0 (c1, k15, upi).
1479219955: New connection from 192.168.0.27 on port 1883.
1479219955: Client ESPClient0 already connected, closing old connection.
1479219955: New client connected from 192.168.0.27 as ESPClient0 (c1, k15, upi).
1479219965: New connection from 192.168.0.30 on port 1883.
I did set different names for both devices in the config section.
Is this correct, or should I change it, and then how would I go about doing that?
Thanks!