Hallo .n3,
gern würde ich das auch sagen können.
Ich denke alles genau, wie hier beschrieben
http://tech-engineering.de/home-assistant-und-openwb/,
auch gemacht zu haben.
Die Datei
mosquitto.conf sieht bei mir so aus:
Code: Alles auswählen
connection openwb
address 192.168.178.10:1883 # IP der openWB
start_type automatic
topic openWB
local_clientid openwb.mosquitto
try_private false
cleansession true
Das Protokoll des Home Assistant Add-on: Mosquitto broker sieht nach Neustart so aus:
Code: Alles auswählen
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
[13:43:23] INFO: Setting up user mqtt-user
[13:43:24] 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)
[13:43:26] INFO: Starting NGINX for authentication handling...
s6-rc: info: service legacy-services successfully started
[13:43:26] INFO: Starting mosquitto MQTT broker...
1699793006: Loading config file /share/mosquitto/mosquitto.conf
2023-11-12 13:43:26: Warning: Mosquitto should not be run as root/administrator.
2023-11-12 13:43:26: mosquitto version 2.0.17 starting
2023-11-12 13:43:26: Config loaded from /etc/mosquitto/mosquitto.conf.
2023-11-12 13:43:26: Loading plugin: /usr/share/mosquitto/go-auth.so
2023-11-12 13:43:26: ├── Username/password checking enabled.
2023-11-12 13:43:26: ├── TLS-PSK checking enabled.
2023-11-12 13:43:26: └── Extended authentication not enabled.
2023-11-12 13:43:26: Opening ipv4 listen socket on port 1883.
2023-11-12 13:43:26: Opening ipv6 listen socket on port 1883.
2023-11-12 13:43:26: Opening websockets listen socket on port 1884.
2023-11-12 13:43:26: Connecting bridge openwb (192.168.178.10:1883)
2023-11-12 13:43:26: mosquitto version 2.0.17 running
2023-11-12 13:43:26: New connection from 127.0.0.1:39634 on port 1883.
2023-11-12 13:43:26: Client <unknown> disconnected due to protocol error.
[13:43:28] INFO: Successfully send discovery information to Home Assistant.
[13:43:29] INFO: Successfully send service information to the Supervisor.
2023-11-12 13:43:29: New connection from 172.30.32.1:39637 on port 1883.
2023-11-12 13:43:29: New client connected from 172.30.32.1:39637 as 1RbdxENcqQLsRqsaso6MAv (p2, c1, k60, u'mqtt-user').
Wenn ich mir aber nun die 77 Entities von openWB over MQTT anschaue, erhalte ich nur dies hier.
Alle Werte sind "
unbekannt"
Wer bitte kann mir einen Tipp geben ?