Giter Club home page Giter Club logo

stoplight's Introduction

Stoplight

This SmartApp takes a RGB bulb and makes it into a stoplight for children. The idea is to give young children a sense of when they can get up/come out of their room in the morning. Set the bulb to red at night while sleeping and set to green in the morning when appropriate to come out of their room.

This SmartApp will setup 2 sets of schedules. One set is for weekdays and one for weekends. Each set has a green start time and a red start time. You can also set the level, hue, and saturation to your liking. Level will be personal choice....but my hue is set to 0 for red and 33 for green. And both saturations are set to 100 (giving the most color).

Install this SmartApp:

  • Log in to ide.smartthings.com with your SmartThings account.
  • Navigate to My SmartApps
  • Select "New SmartApp"
  • Select "From Code"
  • Copy the code from stop-light.groovy
  • Select "Create"
  • Select "Save"
  • Select "Publish" -> "For Me"

Use the SmartApp

  • Open SmartThings Mobile App
  • Go to the Marketplace
  • Select SmartApps
  • Scroll to bottom and select My Apps
  • Select Stop Light
  • You can now input the preferences and rename the SmartApp to your liking
  • Click Save

stoplight's People

Contributors

shadowjig 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.