Code Monkey home page Code Monkey logo

hunter-douglas-powerview's Introduction

hunter-douglas-powerview

SmartThings SmartApp and DTH for controlling Hunter Douglas blinds via PowerView hub

Installation

More detailed instructions to come. For now, this assumes you are familiar with SmartThings GitHub Integration

  1. Add repo owner 'clang13' repo 'hunter-douglas-powerview' to your GitHub Settings
  2. In your My SmartApps tab, 'Update from Repo', choose the SmartApp, check Publish, Execute Update
  3. In your My Device Handles tab, 'Update from Repo', choose the device handles, check Publish, Execute Update
  4. In your SmartThings App, go to Marketplace | SmartApps tab, scroll to My Apps, choose 'Hunter Douglas PowerView'
  5. Enter your PowerView Hub's IP address (you can find this in the PowerView app by clicking the upper-left menu, selecting your Hub, Info, Network Info)
  6. Click to discover and configure shades

Shades

Shade support is basic, but functional. You can:

  • Create Things for individual shades, or for all shades discovered on the hub
  • Set the top and bottom positions (work in progress, not all shade types are fully supported)
  • Issue Jog and Calibrate commands
  • Refresh status

The accuracy of the data returned from the PowerView Hub is quite variable, so shade position and battery info may be out of date.

Scenes

You can:

  • Create Things for individual scenes, or for all scenes discovered on the hub
  • Trigger scenes either as a momentary switch or as a window covering via the 'presetPosition' command

Rooms

Room support is tailored to work with EchoSistant. EchoSistant allows specifying window coverings to be opened or closed as a group. Rather than specifying multiple sets of shades and having EchoSistant trigger them individually, you can assign an Open and/or Close Scene to a Room, and assign the Room in EchoSistant -- "opening" or "closing" the Room will in turn trigger the corresponding scene.

Works in progress:

  • Discovery/configuration needs to be more reliable
  • If possible, status querying needs to be more reliable, but this may be a limitation of the PowerView Hub
  • More configurable refresh time
  • Support for multi-room scenes
  • (Possibly) optionally support LAN-based service intermediary to query PowerView and only report updates via callback, to reduce load on SmartThings.

hunter-douglas-powerview's People

Contributors

clang13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hunter-douglas-powerview's Issues

Discovery = NULL

Using hunter douglas v1 hub and Smartthings hub v1 but logs show null during discovery. See below.

callPowerView: url = 'http://10.x.x.x:80/api/scenes, method = 'GET', body = 'null', query = null

Using api URL in chrome shows:
{"sceneIds":[30096,34104,34865,29335],"sceneData":[{"id":30096,"networkNumber":0,"name":"xxxxxxxxxxx01==","roomId":22248,"order":0,"colorId":4,"iconId":20},{"id":34104,"networkNumber":1,"name":"xxxxxxxxxxxxxx02","roomId":22248,"order":1,"colorId":5,"iconId":43},{"id":34865,"networkNumber":2,"name":"xxxxxxxxxxxxx03==","roomId":22248,"order":2,"colorId":8,"iconId":70},{"id":29335,"networkNumber":3,"name":"xxxxxxxxxxxxxxx04","roomId":22248,"order":3,"colorId":6,"iconId":156}]}

Please help.

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.