GithubHelp home page GithubHelp logo

bender1061 / smartthings-ps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paulsheldon/smartthings-ps

0.0 1.0 0.0 586 KB

My SmartThings

License: GNU General Public License v3.0

Groovy 100.00%

smartthings-ps's Introduction

Welcome to my SmartThings Repository

Here you will find my created SmartApps and Device Handlers as listed below.

Please note I acknowledge all original developers of updated Smart Apps & Device Handlers where appropriate

Smart Apps

ABC Advanced Button Controller - Updated 2020-05-05

Updated Features

  • Added Inovelli Red Series Switch (may also support Black Series)
  • Added ZRC-90 Scene Controller
  • Added Zen27
  • Added Ikea Button (5 buttons)
  • Added WS200+ Switch & Dimmer
  • Added Sonos Integration (Beta)
  • Updated Lightify Device Handler to allow Colour Temperature settings

This is an updated version of ABC by Stephan Hackett (See original repository here).

Updated Features

  • Added support for Philips Hue Dimmer
  • Added option to control Color Temperature
  • Code improvements

Device Handlers

Hue Dimmer Switch

This is an updated version Hue Dimmer Switch by Stephen McLaughlin (See original repository here)

Updated Features

  • Added support for Smart App button numbers (1,2,3,4)
  • Added option to switch between button names or numbers

Lightify Bulb -ABC

This is an updated version **Lightify Bulb ** by Scott Gibson (See original repository here)) This has corrected ColourTemperature to work with ABC and a few other tweaks

Zigbee Switch Power

This is an updated version Zigbee Power Switch by SmartThings (See original repository here)

Updated Features

  • Added support for Salus SP600 Smart Plug

Aqara Cube Controller (MFKZQ01LM).

It is based on code by @DroidSector & @ClassicGod and would not be possible without their work.

To pair your Aqara Cube Controller with SmartThings HUB follow the instructions outlined here: https://community.smartthings.com/t/xiaomi-zigbee-outlet-steps-to-pair-any-xiaomi-zigbee-device/67582

This DTH offers 3 modes of operation (that can be changed in the settings):

  1. Simple (set by default)- designed for backwards compatibility with previous DTH - presents only 7 buttons for basic gestures like shake, 90 degree flip, 180 degree flip, slide, knock, rotate right and rotate left.
  2. Advanced - presents 36 buttons for maximum functionality. Buttons are assigned as follows:
  • buttons 1 to 6 - "push" event on face 0 to 5 activation (corresponds to face pointing up)
  • buttons 7 to 12 - "push" event on slide gesture with faces 0 to 5 pointing up
  • buttons 13 to 18 - "push" event on knock gesture with faces 0 to 5 pointing up
  • buttons 19 to 24 - "push" event on right rotation with faces 0 to 5 pointing up
  • buttons 25 to 30 - "push" event on left rotation with faces 0 to 5 pointing up
  • buttons 31 to 36 - "push" event on shake gesture with faces 0 to 5 pointing up
  1. Combined - with this DTH will present 43 buttons assigned as follows:
  • buttons 1 to 7 - basic actions just like in Simple mode
  • buttons 8 to 43 - actions from Advanced mode moved by 7 positions.

I recommend using the Advanced mode

DTH also offers emulated "Three Axis" capability for easy usage in SmartApps like Mood Cube. It is dependent on selected face and affected by limitation mentioned below.

Due to limitations imposed by data sent by the hardware there are some things to keep in mind:

  • The device sends orientation only on those gestures:
  • 90 degree flip
  • 180 degree flip
  • slide
  • knock
  • Because of that orientation data for rotation and shake events is based on last know orientation.
  • Device does not send any data if gesture is unrecognized - rotating the cube randomly in the air and placing it down will most likely not send any event.
  • The DTH will correct last known orientation and send missing flip/face activation events if needed as soon as it's gets the orientation data form the device.
  • Due to the above rotation and shake events can execute for wrong faces if the flip gestures are not performed correctly (like rotating the cube randomly in the air)

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.