RPI Gateway MQTT - Attempting MQTT connection...Connected [Loop]
-
Hi All,
Has anyone ever had this problem? When I start the service, he it stay in loop waiting for connection with itself, this is normal?My configure:
./configure --my-gateway=mqtt --my-controller-ip-address=192.168.1.157 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1Debug:
pi@octopi:~/MySensors $ sudo mysgw -d mysgw: Starting gateway... mysgw: Protocol version - 2.1.1 mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1 mysgw: TSF:LRT:OK mysgw: TSM:INIT mysgw: TSF:WUR:MS=0 mysgw: TSM:INIT:TSP OK mysgw: TSM:INIT:GW MODE mysgw: TSM:READY:ID=0,PAR=0,DIS=0 mysgw: MCO:REG:NOT NEEDED mysgw: MCO:BGN:STP mysgw: MCO:BGN:INIT OK,TSP=1 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... -
Hi All,
Has anyone ever had this problem? When I start the service, he it stay in loop waiting for connection with itself, this is normal?My configure:
./configure --my-gateway=mqtt --my-controller-ip-address=192.168.1.157 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1Debug:
pi@octopi:~/MySensors $ sudo mysgw -d mysgw: Starting gateway... mysgw: Protocol version - 2.1.1 mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1 mysgw: TSF:LRT:OK mysgw: TSM:INIT mysgw: TSF:WUR:MS=0 mysgw: TSM:INIT:TSP OK mysgw: TSM:INIT:GW MODE mysgw: TSM:READY:ID=0,PAR=0,DIS=0 mysgw: MCO:REG:NOT NEEDED mysgw: MCO:BGN:STP mysgw: MCO:BGN:INIT OK,TSP=1 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... mysgw: connected to 192.168.1.157 mysgw: Attempting MQTT connection... -
@Luiz-Augusto-Lago
You need to install mosquitto as mqtt broker (or whatever other mqtt broker you like)@gohan Already installed :/
-
Done! I need reinstall Mosquitto (I don't know why, but works)...anyway... thanks for help!!
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