Nun habe ich erneut ein MQtt Problem.
Von einem Augenblick zum anderen bekam ich von dem Stick keine Daten mehr in HA.
HA neu aufgesetzt, aber MQTT Broker will sich nicht verbinden.
Mit dem MQTT Explorer geprüft. Der Stick sendet wenn der Broker aktiv ist. Der schaltet sich aber ab, dann sieht der Explorer nichts von dem Stick.
Aus dem Add-on store den Mosquitto Broker installiert.
Ich habe mein System noch nicht fertig aufgebaut, stelle aber auch fest, dass der Stick irgendwann nicht mehr verbunden ist. Teilweise schon nach 4 Stunden. Gibt es die neue Firmware schon irgendwo?
Schon wieder keine Verbindung.
Der Stick verbindet sich kurz mit HA, sendet Daten und dann kommt nach 2s der Abbruch.
Hier ist mal der Auszug aus dem Broker Log:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
[14:53:20] INFO: SSL is not enabled
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
[14:53:20] INFO: Starting NGINX for authentication handling...
s6-rc: info: service legacy-services successfully started
[14:53:21] INFO: Starting mosquitto MQTT broker...
2025-01-15 14:53:21: Warning: Mosquitto should not be run as root/administrator.
2025-01-15 14:53:21: mosquitto version 2.0.18 starting
2025-01-15 14:53:21: Config loaded from /etc/mosquitto/mosquitto.conf.
2025-01-15 14:53:21: Loading plugin: /usr/share/mosquitto/go-auth.so
2025-01-15 14:53:21: ├── Username/password checking enabled.
2025-01-15 14:53:21: ├── TLS-PSK checking enabled.
2025-01-15 14:53:21: └── Extended authentication not enabled.
2025-01-15 14:53:21: Opening ipv4 listen socket on port 1883.
2025-01-15 14:53:21: Opening ipv6 listen socket on port 1883.
2025-01-15 14:53:21: Opening websockets listen socket on port 1884.
2025-01-15 14:53:21: mosquitto version 2.0.18 running
2025-01-15 14:53:21: New connection from ::1:36074 on port 1883.
2025-01-15 14:53:21: Client <unknown> disconnected due to protocol error.
[14:53:21] INFO: Successfully send discovery information to Home Assistant.
[14:53:21] INFO: Successfully send service information to the Supervisor.
2025-01-15 14:53:41: New connection from 192.168.178.48:59969 on port 1883.
2025-01-15 14:53:41: Client 5uGr5n0VN2H4vrL1Yz88Js disconnected, not authorised.
2025-01-15 14:54:13: New connection from 172.30.32.2:45576 on port 1883.
2025-01-15 14:54:13: Client <unknown> closed its connection.
2025-01-15 14:56:13: New connection from 172.30.32.2:47314 on port 1883.
2025-01-15 14:56:13: Client <unknown> closed its connection.
2025-01-15 14:58:13: New connection from 172.30.32.2:42828 on port 1883.
2025-01-15 14:58:13: Client <unknown> closed its connection.
2025-01-15 14:59:11: New connection from 192.168.178.48:54011 on port 1883.
2025-01-15 14:59:11: Client 3Iwov3J58OIutY4xMMLJga disconnected, not authorised.
2025-01-15 15:00:00: New connection from 192.168.178.48:50065 on port 1883.
2025-01-15 15:00:00: New client connected from 192.168.178.48:50065 as 7bBs7fWt2QanJgLLZN7psB (p2, c1, k60, u'ff').
2025-01-15 15:00:01: Client 7bBs7fWt2QanJgLLZN7psB disconnected.
2025-01-15 15:00:01: New connection from 192.168.178.48:46447 on port 1883.
2025-01-15 15:00:01: New client connected from 192.168.178.48:46447 as 6dlvaorPrDxxCvDzU2apva (p2, c1, k60, u'ff').
2025-01-15 15:00:01: Client 6dlvaorPrDxxCvDzU2apva disconnected.
2025-01-15 15:00:01: New connection from 192.168.178.48:46349 on port 1883.
2025-01-15 15:00:01: New client connected from 192.168.178.48:46349 as 7G5LZNqElJZTSRZ6H52Ycb (p2, c1, k60, u'ff').
2025-01-15 15:00:13: New connection from 172.30.32.2:46362 on port 1883.
2025-01-15 15:00:13: Client <unknown> closed its connection.
s6-rc: info: service legacy-services: stopping
[14:01:57] INFO: Service restart after closing
Was soll das mir sagten und wie kann ich Abhilfe schaffen?
by HarryP: Code-/Logzeilen formatiert (bitte immer in </> einbinden)