Wie lautet Dein FullTopic?
Die mqtt.cfg ist obsolet, die Bridge enthält ja alle relevanten Parameter.
Wie lautet Dein FullTopic?
Die mqtt.cfg ist obsolet, die Bridge enthält ja alle relevanten Parameter.
Heißt, er Wert wird trotzdem angezeigt? Dann versuch mal, den dynamischne Teil zu setzen:
Code: Alles auswählen
Switch item=Jalousie1_AZ label="Jalousie Arbeitszimmer [ ]" mappings=["J1 RECHTS"="rechts","J1 LINKS"="links","J1 AUS"="aus"]
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" ]
}
}
Code: Alles auswählen
Bridge mqtt:broker:OH2Broker [ host="192.16x.xxx.xxx", secure=false, username="xxxxxxx", password="xxxxxx", clientID="OH2Broker"]
{
Thing mqtt:topic:SwEsVitrine {
Channels:
Type switch:switch [stateTopic="stat/Esszimmer_Vitrine/POWER", commandTopic="cmnd/Esszimmer_Vitrine/POWER"]
}
}
Code: Alles auswählen
Switch EsszimmerVitrine "Vitrine" <light> ["Lighting"] {channel="mqtt:topic:SwEsVitrine:switch"}
Code: Alles auswählen
Switch item=EsszimmerVitrine