Skip to content

dday4thedeceiver/bangali

 
 

Repository files navigation

bangali's random code stuff for SmartThings.

while ST has a concept of rooms it seems to be more of a grouping mechanism. in contrast rooms occupancy considers the room as a meta device and automates a few common tasks associated with a “room” physical or virtual. in keeping with that it has attributes, capabilities and commands which are useable in webcore or other smartapps like Smart Lighting.

however, what makes it useful for me is not just the room's state but the ability to manage automation for room in one set of settings for the room. when adding a room device through the smartapp you are able to configure settings for the room which allow the various devices in the room to be automated based on these settings.

for example in settings:

  • if away modes are selected, rooms will change to ‘vacant’ state if they are in either the ‘occupied’ or ‘checking’ state when location changes to any of the away modes.
  • if motion sensors are selected, rooms will change to ‘occupied’ state on motion if they were previously ‘vacant’.
  • if switches are selected, when room changes to ‘occupied’ the switches will be turned on.
  • if motion timeout in seconds is selected the room will be changed to ‘vacant’ after last motion inactive + motion timeout seconds.
  • if 2nd group of switches are selected, when room changes to ‘vacant’ the switches will be turned off.

this is only a part of what's possible through various settings. please take a look at the settings for a room in the child-app that captures all of these settings to get a sense of what else is possible.

these are very common tasks around rooms which most users go through automating at some point, so also posting here in case others find this useful.



About

bangali's random code stuff for smartthings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 100.0%