GithubHelp home page GithubHelp logo

id0-labs / bangali Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adey/bangali

0.0 2.0 0.0 323 KB

bangali's random code stuff for smartthings

License: GNU General Public License v3.0

Groovy 100.00%

bangali's Introduction

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.



bangali's People

Contributors

adey avatar johnwillliam avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.