Advertisement
__Dave__

OpenHAB - Rule for thermostats auto/manual mode

Nov 4th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1. ===================
  2. .items
  3. ===================
  4. Group:String:AND(Auto,Manu) gModus
  5. String Tim_Raumthermostat_Modus "Tim" <radiator> (Tim, gModus) {channel="innogysmarthome:blablabla:operation_mode"}
  6.  
  7. ===================
  8. .rules
  9. ===================
  10. rule "Statusmail when switched to manual mode"
  11. when
  12.     Member of gModus changed to Manu
  13. then
  14.     sendNotification("MEINEEMAIL",triggeringItem.name + " ist auf Manuellen Modus gestellt")
  15. end
  16.  
  17. rule "Status when all are in automatic mode"
  18. when
  19.     Item gModus changed to Auto
  20. then
  21.     sendNotification("MEINEEMAIL","Alle Thermostate sind wieder auf Automodus")
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement