Ja, genau, das meinte ich.
Dein Topic, welches Du in Deiner Konfiguration angegeben hast, ist falsch.
So sollte es korrekt aussehen:
Code: Alles auswählen
Bridge mqtt:broker:mosquitto "Mosquitto MQTT Broker" @ "MQTT" [
host="localhost",
port=1883,
secure=false,
qos=0,
//clientID="paho360305817892100",
//retainMessages=false
reconnectTime=60000,
keepAlive=30000,
//lwtMessage="",
//lwtQos=1,
//lwtTopic="",
//lwtRetain=false,
username="xxx",
password="xxx"
//certificatepin=false,
//publickeypin=false,
//certificate="",
//publickey=""
] {
Thing topic sonoff_paterre "Sonoff Paterre" {
Channels:
Type switch : PowerSwitch1 [ stateTopic="stat/sonoff_paterre/POWER1", commandTopic="cmnd/sonoff_paterre/POWER1" ]
Type switch : PowerSwitch2 [ stateTopic="stat/sonoff_paterre/POWER2", commandTopic="cmnd/sonoff_paterre/POWER2" ]
Type switch : PowerSwitch3 [ stateTopic="stat/sonoff_paterre/POWER3", commandTopic="cmnd/sonoff_paterre/POWER3" ]
Type switch : PowerSwitch4 [ stateTopic="stat/sonoff_paterre/POWER4", commandTopic="cmnd/sonoff_paterre/POWER4" ]
}
}
Ich habe die Schlüsselworte der Bridge mal alle aufgelistet und korrigiert - siehe offizielle Dokumentation
https://www.openhab.org/addons/bindings ... tt-binding
openHAB5.0.1 stable in einem Debian-Container (trixie, OpenJDK 21 headless runtime) (Proxmox 9.0.11, LXC)