Code Monkey home page Code Monkey logo

smartthings's Introduction

SmartThings

SmartThings Development

SevereWeatherAlert

Alarm, text, and push notification on changes in weather alert(s). Allows filtering for ignore list of alert(s) as well as alarm auto shut off.

Note: This could have been setup to alert when message changed rather then type of alert, but sometimes same alert they seem to change often and not want alarm all night long (I like to sleep).

DeviceEndpoints

Web Service application endpoint for switches as starting point.

Note: Was being developed for Amazon Echo but now is supported.

smartThings.js

Example code for reaching endpoint.

token.js

Example code for retrieving token for access into endpoint.

AlarmResetter

Resets alarm if active in reset period with delay period before disarm.

ModeSwitchRoutine

When mode changes, will also activate routine. Since routines already activate mode, this allows the other direction.

ModeSwitchActivator

When selected mode change occurs (e.g. home, away, night) then switch(es) are activated and in any other mode are deactivated.

ModeLocker

Monitors switches for on/active to determine if mode does not get changed during normal location cycles. Can use simulated switch for phone app or actual switch to lock "home" location for example.

Device Logger

Does "put" request to send device name and value to local server for logging WebApplication-Server

http://<hostname>:<port>/api/st/log

ModeWatcher

Watches for zone 1 entry into zone 2 and if no entry into zone 2 will revert back to location mode before zone 1 was entered.

Story

If Night mode changes to Home mode with zone 1 sensing presence (making the transition). Yet zone 2 in Night mode is sensing intruder. If zone 1 goes active changing location mode, but zone 2 is not passed within window peroid, will revert to location mode prior to zone 1 presence.

This solves my problem where bedroom hallway will change location mode to Home (so can take dog out). However, if just going to bathroom and back want location mode to go back quickly if never actually went downstairs (to take dog out).

Virtual Devices

Lets turn on/off devices without actually having any for controlling other application operations states.

smartthings's People

Contributors

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