ift713-main-host/openhab/openhab_conf/things/battlefield.things

27 lines
677 B
Text
Raw Normal View History

Bridge mqtt:broker:mainBroker [ host="172.69.1.2", secure=false ]
Thing mqtt:topic:lumiere "lumiere" (mqtt:broker:mainBroker) {
Channels:
Type string : light "indicateur degat animation" [
stateTopic="lumiere/degat/animation"
]
Type switch : light_toggle "indicateur degat toggle" [
stateTopic="lumiere/degat/toggle"
]
}
Thing mqtt:topic:de "lecteur de" (mqtt:broker:mainBroker) {
Channels:
Type number : de "effecteur degat" [
stateTopic="capteur/de/degat/dernierLance"
]
}
Thing mqtt:topic:button "recommencer" (mqtt:broker:mainBroker) {
Channels:
Type switch : de "effecteur nouveau tour" [
stateTopic="capteur/boutton/nouveauTour"
]
}