2019-04-11 20:30:55 +02:00
|
|
|
|
|
|
|
Bridge mqtt:broker:mosquitto "Mosquitto" [
|
|
|
|
host="localhost",
|
|
|
|
port=1883,
|
|
|
|
secure=false,
|
|
|
|
username="",
|
|
|
|
password="",
|
|
|
|
clientID="openHAB2"
|
|
|
|
]{
|
|
|
|
|
2019-04-12 20:28:43 +02:00
|
|
|
Thing topic entrance_door_status "Entrance Door Status" @ "Entrance" {
|
|
|
|
Channels:
|
|
|
|
Type switch : status "Status" [
|
|
|
|
stateTopic="stat/entrance/door_status/POWER"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-04-11 20:30:55 +02:00
|
|
|
Thing topic entrance_ceiling_lamps "Entrance Ceiling Lamps" @ "Entrance" {
|
|
|
|
Channels:
|
|
|
|
Type switch : power "Power" [
|
|
|
|
commandTopic="cmnd/entrance/ceiling_lamp/Power"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-04-12 00:23:40 +02:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Thing topic chill_zone_screen "Screen" @ "Chill Zone" {
|
|
|
|
Channels:
|
|
|
|
Type switch : up "Up" [
|
|
|
|
commandTopic="cmnd/chill_zone/screen/Power1"
|
|
|
|
]
|
|
|
|
|
|
|
|
Type switch : stop "Stop" [
|
|
|
|
commandTopic="cmnd/chill_zone/screen/Power2"
|
|
|
|
]
|
|
|
|
|
|
|
|
Type switch : down "Down" [
|
|
|
|
commandTopic="cmnd/chill_zone/screen/Power3"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-04-11 20:30:55 +02:00
|
|
|
Thing topic chill_zone_lamps "Lamps" @ "Chill zone" {
|
|
|
|
Channels:
|
|
|
|
Type switch : power "Power" [
|
|
|
|
commandTopic="cmnd/chill_zone/sonoffs/Power"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-04-12 00:23:40 +02:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
2019-04-11 20:30:55 +02:00
|
|
|
Thing topic engineering_table_lamps "Engineering Table Lamps" @ "Engineering" {
|
|
|
|
Channels:
|
|
|
|
Type switch : power "Power" [
|
|
|
|
commandTopic="cmnd/engineering/table/sonoffs/Power"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
Thing topic engineering_ceiling_lamps "Engineering Ceiling Lamps" @ "Engineering" {
|
|
|
|
Channels:
|
|
|
|
Type switch : power "Power" [
|
|
|
|
commandTopic="cmnd/engineering/ceiling/lamp/Power"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
Thing topic engineering_status_lamp "Engineering Status Lamp" @ "Engineering" {
|
|
|
|
Channels:
|
|
|
|
Type switch : power "Power" [
|
|
|
|
commandTopic="cmnd/engineering/status_lamp/Power"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2019-04-11 22:25:05 +02:00
|
|
|
|
|
|
|
// See services/chromecast.cfg for the callback URL
|
|
|
|
Thing chromecast:chromecast:b000d809ccb35a409a3dd3d14e0fbf08 [ipAddress="10.2.113.120", port=8009]
|