Jump to content

Hunter Douglas shade plugin version 0.1.1


Recommended Posts

Posted

The biggest change here is to take advantage of the Pushing of events from the gateway, while still Polling every so often as belt/suspenders.  This allows scenes to indicate they are active and shades to be updated closer to real time which indicating when in motion.  Some cleaning up of the code to make it more reliable.  Deleted parameters from being displayed ; still have to get to the input side without making a node for every shade type.

Enjoy, & please give feedback!

 Also to remind that this ONLY works on V3 (G3) gateways.  Sorry but older V2 (G2) are a different API and I do not believe they push events.

 

Polling:  Full update of shade and scene datae loaded from the gateway
    - happens at start-up and LongPoll
    - really should just be the extra belt/suspenders as the Push should catch all/most events.  
    - program limited to no faster than once per 3s
    - suggest 60s for LongPoll
    
Pushing: Data is pushed from the gateway and regularly checked
    - updates are checked for every ShortPoll
    - includes Motion-Started, Motion-Stopped, Scene-Activated, Scene-Deactivated, and Shade-Online (pushed infrequently, likely as a keep-alive for the push stream)
    - suggest 5s for ShortPoll
 

 

VERSION = '0.1.1'
"""
0.1.1
DONE tap into gateway events, which allows longPoll update to move from 30s to 60s
DONE active scene indications from events
DONE shade motion indicator from events
DONE shade position update from start, stop, online events
DONE remove parameters based on shade capability (primary, secondary, tilt)
DONE update readme & config instructions to highlight G3 scope

add to future version:
TODO remove set position parameters which are not useful to certain shades

0.1.0
DONE handle multiple gateways automatically, picking primary & switching if required
DONE updated configuration instructions as well as link to the forums

past versions:
0.0.9
DONE fix uom for positions(100) & ids(107)
DONE more notices clean-up
DONE shade naming to include room as scenes
DONE remove status based on shade capability (primary, secondary, tilt)

0.0.8:
DONE handling of notices individually
DONE polling 5s short-poll 30s long-poll
DONE status for programs (positions etc)

0.0.7:
DONE faster status updates when command is given
DONE bug fix
DONE re-order of parameters displayed

0.0.6:
DONE move shade by specific amounts
DONE bug fix scenes not activating

0.0.5:
DONE change shortpoll to 30s
DONE update shades on shortpoll
DONE clear start notice at shortpoll
DONE clean up error proofing in get
DONE fix updating variables with shortpoll
DONE limit device ping to 5s

0.0.4:
DONE discover when new gatewayip is entered
DONE poll status regularly using shortpoll
DONE update required after nodes added to get status
DONE notice when gateway get error
"""
 

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.6k
×
×
  • Create New...