Jump to content

Hunter Douglas shade plugin version 0.1.7


Recommended Posts

Added feature to automatically update node names when they are updated in the PowerView App.

Will update within the next long poll and/or during restart.

 

VERSION = '0.1.7'
"""
0.1.7
DONE rename nodes if changed in PowerView app

past versions:
0.1.6
DONE parameters based on shade capabilities

0.1.5
DONE format for program setShadePosition
DONE set Shade Position change using False to define which parameters to change
DONE more debug on G2 so it acts as expected

0.1.4
DONE add node_queue & as result need pause updates while in discovery
DONE FIRST TRY G2 tilt feature

0.1.3
DONE node discover rewrite to allow add/remove
DONE add event 'homedoc-updated' currently no actions
DONE limit room label size to 15 as room - shade/scene < 30 for ISY
DONE clean up LOGGING.debug messages
DONE G2 bug fixes

0.1.2
DONE change icons to nicer ones
DONE docs with screenshots & description for udi spotlight
DONE add troubleshooting document
DONE add some support for G2 gateways (no gateway push, only polling)

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

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

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
"""
 

Link to comment

@sjenkinsDid an update but still showed 0.1.6 in PG3. Tried a restart but still showed o.1.6. Also got a popup error in PG3 saying "Error fetching from gateway". Another thing was that programs stopped working but AC direct commands still worked. I tried just running the "run then" command but that did not work either. I needed to go into each program, select a line and slick update (did not change anything) then clicked save changes. After that the "run then" command worked

hunterdouglas_4-6-2024_105628_AM.zip

Link to comment

I had some really odd stuff happen.  Had to resave my developer upload to get the 0.1.7 to stick three times.

Just redid it this morning so you may want to try again.

The resaving of programs I have heard of before but only with other plugins.

 

Link to comment

wow ; went to mine & it showed 0.1.7

did a refresh of the store and it reverted to 0.1.6

let me do a new push to my GitHub and see if it sticks... if not I'll have to put a ticket in.

 

Link to comment

ok , so did something kind of severe...

I have been wanting to change the name to HunterDouglas since about the beginning to match the naming convention and make the plugin easier to find.

so I deleted the old one (still shows in list but no install option)

Shows in the store further up the list as HunterDouglas and version 0.1.8

Works on mine but if this doesn't work I don't know any more nuclear option.

 

Link to comment

Did a refresh and see 0.1.8 in the original position but I don't see the entry further up. I will try the update on the 0.1.8 entry that I see

image.thumb.png.c904aecb4577f7f95762837e869c41bb.png

image.thumb.png.0dad85e2378e17f2010d1d00ed21b48a.png

Link to comment

@sjenkinsOK that worked. I see 0.1.8 as installed on PG3.

Just curious if you know why most plugins show up sorted alphabetically except for the last 7. If I try to resort by clicking on name it does not correct this.

Link to comment
Posted (edited)

So 10min after I made my change it changed the name back on mine too.

Go figure.

This is why I wanted to change the name of mine from 

hunterdouglas

to

HunterDouglas

the lower case gets sorted to the end

I will ask the Discord development guys on how best to change it.

btw: :  Sorry if by doing this I messed up your programs

(this was more frustrating than any issue so far, arrrrg)

 

 

Edited by sjenkins
Link to comment

Ah ok thanks, That makes sense. No problem with programs. If I remember correctly I had similar update and program issues with the Yolink plugin in the early stages. Just part of the learning curve

Link to comment

So, to the meat of it:

The plugin should change based on what you modify in the PowerView app names in addition to adding/deleting shades or scenes.  I added this after cleaning up mine a bit & realising I wanted it.

We are getting 10 more shades in the next month or so.  Most of them will have secondary axis as most are double rollers.  One also has the header move up/down.  Should be able to test some new types.

Link to comment

Nice... Might get more in the future too but if so I assume they would be G3. Will you plugin work with a mixture of G2 and G3 hubs?

Link to comment
Posted (edited)

@GTench Not currently as it makes that choice at the start. Would require some rewrite, and a tester (hint hint). No reason it can’t be done, I just don’t know how the gateways operate together or are talked to separately. Might make more sense just to run two instances of the plugin.  There isn’t any other cross talk between blinds. You could make your own scenes in the ISY. I’d be interested how their app handles it. 

Edited by sjenkins
Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...