Giter VIP home page Giter VIP logo

neflhiem / st-trigger-my-lights Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ericvitale/st-trigger-my-lights

0.0 1.0 0.0 41 KB

Trigger My Lights is a smart app that allows you to set parameters for switches, dimmers, smart color lights, smart white lights based on events from 1 to n motion sensors, 1 to n accelerometers, 1 to n contact sensors, mode changes, & when a routine is executed.

License: Apache License 2.0

Groovy 100.00%

st-trigger-my-lights's Introduction

ST-Trigger-My-Lights

Summary

Trigger My Lights is a smart app that allows you to set parameters for switches, dimmers, smart color lights, smart white lights based on events from 1 to n motion sensors, 1 to n accelerometers, 1 to n contact sensors, mode changes, & when a routine is executed.

If you have several scenarios you would like to control, just install the app from "My Apps" multiple times.

Example Scenarios

  1. Turn the garage lights on (switch) when the inside garage door is opened (contact sensor), the garage door is opened (accelerometer), or the one of the garage windows are opened (contact sensor).
  2. Turn the hallway lights on, level to 5% and temperature to 2750K (smart white light) if motion is detected in the hallway and it is after sundown. FYI - Sunrise / Sundown feature coming soon.
  3. Turn the Family Room Lamps on, level to 20% and color to green if the routine "watch TV" is executed. FYI - Color lights coming soon.

Installation via GitHub Integration

  1. Open SmartThings IDE in your web browser and log into your account.
  2. Click on the "My SmartApps" section in the navigation bar.
  3. Click on "Settings".
  4. Click "Add New Repository".
  5. Enter "ericvitale" as the namespace.
  6. Enter "ST-Trigger-My-Lights" as the repository.
  7. Hit "Save".
  8. Select "Update from Repo" and select "ST-Trigger-My-Lights".
  9. Select "trigger-my-lights.groovy".
  10. Check "Publish" and hit "Execute".

Manual Installation (if that is your thing)

  1. Open SmartThings IDE in your web browser and log into your account.
  2. Click on the "My SmartApps" section in the navigation bar.
  3. Click the blue "+ New SmartApp" button at the bottom of the page.
  4. Click "From Code".
  5. Paste in the code from "trigger-my-lights.groovy" and hit "Create". (https://github.com/ericvitale/ST-Trigger-My-Lights/blob/master/smartapps/ericvitale/trigger-my-lights.src/trigger-my-lights.groovy)
  6. Click the "Publish" --> "For Me".
  7. The app will appear on your app under "Marketplace" --> "My Apps"

st-trigger-my-lights's People

Contributors

ericvitale avatar

Watchers

James Cloos 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.