Trying to configure mqtt broker on Hassio errors!

just showing that the username and password are the same…, i am editing mqtt_preferences as instructed in the guide, still refuses to connect

Have you restarted monitor after changing the config file?

What guide??

You’re editing mqtt preferences on another pi that is supposed to connect to your HA? Using what application does it connect?? What are you running?

The cient is monitor, a presence detector, long thread on forum.

Monitor is such a generic name…FFS.

A link to the damn thing at the beginning of this entire thread would have been a good thing and saved a lot of useless troubleshooting

1 Like

I got it somewhat working with cloudmqtt, it send’s the packets, but then disconnects after a few seconds, it stays connected for only about a few minutes

2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/load/bytes/sent/15min’, … (6 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/load/sockets/1min’, … (4 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/load/sockets/5min’, … (4 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/load/sockets/15min’, … (4 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/load/connections/1min’, … (4 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/load/connections/5min’, … (4 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/load/connections/15min’, … (4 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/messages/stored’, … (2 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/messages/received’, … (2 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/messages/sent’, … (3 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/store/messages/count’, … (2 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/store/messages/bytes’, … (3 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/subscriptions/count’, … (1 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/retained messages/count’, … (2 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/heap/current’, … (5 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/heap/maximum’, … (5 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/publish/messages/dropped’, … (1 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/publish/messages/received’, … (1 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/publish/messages/sent’, … (3 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/publish/bytes/received’, … (1 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/publish/bytes/sent’, … (3 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/bytes/received’, … (3 bytes))
2019-01-02 00:39:59: Sending PUBLISH to cloudmqtt-st-ui-0.3207999314318215 (d0, q0, r1, m0, ‘$SYS/broker/bytes/sent’, … (4 bytes))
2019-01-02 00:39:59: Sending SUBACK to cloudmqtt-st-ui-0.3207999314318215
2019-01-02 00:40:05: Socket error on client cloudmqtt-st-ui-0.3207999314318215, disconnecting.