update rules / items / things to better reflect project + naming conv.

This commit is contained in:
theBigBlase 2023-12-21 12:08:36 -05:00
parent 07cfe658cc
commit 62e0ced2a4
3 changed files with 51 additions and 13 deletions

View file

@ -3,27 +3,24 @@ Bridge mqtt:broker:mainBroker [ host="172.69.1.2", secure=false ]
Thing mqtt:topic:lumiere "lumiere" (mqtt:broker:mainBroker) {
Channels:
Type switch : light "indicateur degat" [
stateTopic="lumiere/degat/etat",
commandTopic="lumiere/degat/commande",
on="ON", off="OFF"
Type string : light "indicateur degat animation" [
stateTopic="lumiere/degat/animation"
]
Type color : light "effect color" [
stateTopic="lumiere/degat/color/etat",
commandTopic="lumiere/degat/color/commande", colorMode="RGB"
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="de/degat/dernierLance"
stateTopic="capteur/de/degat/dernierLance"
]
}
Thing mqtt:topic:button "recommencer" (mqtt:broker:mainBroker) {
Channels:
Type switch : de "effecteur nouveau tour" [
stateTopic="de/nouveauTour"
stateTopic="capteur/boutton/nouveauTour"
]
}