W5100 MQTT gateway fails to connect to broker
-
I have always found everyone on this forum generally really helpful, so I'm hoping some will be able to help me solve my problem. I have recently been testing Home Assistant and I'm now trying to get mysenors up and running with it.
I already have the latest verison of mosquitto up and running on my RPI without any problems and I've been able to publish and subcribe to topics, so I know its working OK.
I have just compiled and uploaded the default W5100 MQTT gateway sketch and altered the various settings and when I restart the arduino I get the following in the serial monitor
IP: 192.ting MQTT connection... IP: 192.168.0.87 0;255;3;0;9;Attempting MQTT connection... 0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0) 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSM:RADIO:OK 0;255;3;0;9;TSM:GW MODE 0;255;3;0;9;TSM:READY IP: 192.168.0.87 0;255;3;0;9;No registration required 0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1 IP: 192.168.0.87 0;255;3;0;9;Attempting MQTT connection... IP: 192.168.0.87So the gateway is never able to connect to the MQTT broker. I have double checked everything and restarted, recomplied and still no luck. Am I missing something obvious, Any help would be very much appreciated
-
I have always found everyone on this forum generally really helpful, so I'm hoping some will be able to help me solve my problem. I have recently been testing Home Assistant and I'm now trying to get mysenors up and running with it.
I already have the latest verison of mosquitto up and running on my RPI without any problems and I've been able to publish and subcribe to topics, so I know its working OK.
I have just compiled and uploaded the default W5100 MQTT gateway sketch and altered the various settings and when I restart the arduino I get the following in the serial monitor
IP: 192.ting MQTT connection... IP: 192.168.0.87 0;255;3;0;9;Attempting MQTT connection... 0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0) 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSM:RADIO:OK 0;255;3;0;9;TSM:GW MODE 0;255;3;0;9;TSM:READY IP: 192.168.0.87 0;255;3;0;9;No registration required 0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1 IP: 192.168.0.87 0;255;3;0;9;Attempting MQTT connection... IP: 192.168.0.87So the gateway is never able to connect to the MQTT broker. I have double checked everything and restarted, recomplied and still no luck. Am I missing something obvious, Any help would be very much appreciated
-
It was a silly mistake, I have forgotten to uncomment the username and password, its working now :-)
-
It was a silly mistake, I have forgotten to uncomment the username and password, its working now :-)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login