Jump to content

Hunter Douglas shade plugin version 0.1.5


Recommended Posts

Posted

Put out a new version which has a new set of profile files as well as G2 debug.  Make sure you restart your Admin console after install.

The main 'feature' is in set Shade Position you can set False or 0-100, this allows the user to define what is moving.

Next I will likely work on cleaning up the shade node so that is matches the features of a shade closer.  So that tilt or secondary only show up for shades that need it.  After talking to the node experts I think I now know how to accomplish this without having a node type for every type of shade x G2/G3.

Enjoy and please send feedback.

 

VERSION = '0.1.5'
"""
0.1.5
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

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

Posted

@sjenkins Great update. Working very well! Here are my tests in the sequence that they were performed. Again SSP = Set Shade Position button. Only thing that I have noticed is when I use the shade in a program and set it to either a variable of a number position, it does not show up in the code (see below)

false,false,20 SSP works

false,false,false SSP left tilt at 20

false,false,0 SSP returned tilt to 0 and updated AC

false,false,15 SSP set tilt at 15 and update AC

false,false,0 SSP returned tilt to 0 and updated AC

30,false,false SSP worked and AC updated to 30

30,false,25 SSP had no change from previous position

50,false,25 SSP opened blind to 50% and no tilt as it should be

0,false,25 SSP closed blinds and tilt remained at 0 as it should be

false,false,false Tilt Open did not work

false,false,false SSP followed by Tilt Open worked with AC set to 49

false,false,false Tilt Close worked

false,false,60 SSP worked and AC showed 49

false,false,60 Tilt Close worked with AC updating to 0

false,false,false OPEN opened the shade to 100 and AC updated

false,false,false CLOSE closed the shade and AC showed 0

 

image.thumb.png.7999294778ff2c2a92e02b553aa87dc6.png

 

image.thumb.png.8355e0ecb17f6df5e2ce64d3f43a328c.png

hunterdouglas_3-24-2024_115623_AM.zip

Posted

@sjenkins I should add that the program does run correctly even though the line of code does not itself show the open level. And great idea to add the Boolean to the position

Posted (edited)

Really good to hear we are getting closer!

Thanks for doing such extensive testing.
Am I right just the below didn't work as expected?

3 hours ago, GTench said:

false,false,false Tilt Open did not work

Just wanted to verify the above.  Tried on my G3 and it worked, so want to narrow the issue.

On the showing up the code program issue ; verified same response with mine ; yup, I know what I have to do there.

 

btw: as you suggested primary gets priority over tilt for G2 -- for fun I would like to see what would happen if I sent primary to the G2 posKind1: 1  & tilt to posKind2: 3 and see what happens.  Would only be useful if there is no secondary.  I might make a button just for you to try it out.

Edited by sjenkins
Posted

@GTench Fixed the program formatting issue.

it includes a profile change so admin restart.

also, check my above comment ; wanted to verify all other tests especially the Tilt Open as I did not see that in mine.

 

Posted

@sjenkins  I rebooted eisy but did not reinstall your plugin then immediately tried

false,false,false tilt open but it did not do anything but things seem to work well using SSP

I also took a look at the program but it looks the same as before

image.thumb.png.79b8005dc4be60bea4cb2c01a0b8aaa0.png

Posted

@GTench  Sorry I may not have been clear.  You DO need to reinstall the plugin.  When I say Admin restart is does NOT mean an EISY reboot.  That is almost never required.  I just meant that the Admin (blue screen) needs to be closed and reopened.

With the reinstall of the plug-in the program should show the parameters. -- I made a change there.

The false, false, false Tilt open I will take another look at as it works with mine.

Guest
This topic is now closed to further replies.

×
×
  • Create New...