Hi
How to add Thing for the Thing file ?
I add a shutter, and everything works, and now I want to add a hotwater
Thank you
MY Things
Bridge mqtt:broker:mosquitto "Mosquitto" [
host="192.168.207.3", // or whatever the ip of the broker is
port=1883, // same for port
clientID="openhabianMQTT" // client id of openHAB in the broker
] {
Thing topic windows "windows" @ "mqtt" {
Channels:
Type switch : ch1 "Power" [ stateTopic= "stat/windows/POWER1", commandTopic="cmnd/windows/POWER1" ]
Type switch : ch2 "Power" [ stateTopic= "stat/windows/POWER2", commandTopic="cmnd/windows/POWER2" ]
// }
// Thing topic hotwater "hotwater" @ "mqtt" {
// Channels:
// Type switch : "Hotwater" [ stateTopic= "stat/hotwater/POWER", commandTopic="cmnd/hotwater/POWER" ]
}
}
Bridge mqtt:broker:mosquitto "Mosquitto" [
host="192.168.207.3", // or whatever the ip of the broker is
port=1883, // same for port
clientID="openhabianMQTT" // client id of openHAB in the broker
] {
Thing topic windows "windows" @ "mqtt" {
Channels:
Type switch : ch1 "Power" [ stateTopic= "stat/windows/POWER1", commandTopic="cmnd/windows/POWER1" ]
Type switch : ch2 "Power" [ stateTopic= "stat/windows/POWER2", commandTopic="cmnd/windows/POWER2" ]
}
Thing topic hotwater "hotwater" @ "mqtt" {
Channels:
Type switch : "Hotwater" [ stateTopic= "stat/hotwater/POWER", commandTopic="cmnd/hotwater/POWER" ]
}
}