sjenkins Posted February 28 Posted February 28 A few refinements. I re-wrote the discover routine so that it was smarter & didn't duplicate nodes for shades/scenes and also knew to delete ones it couldn't find. If you get too verbose with your naming it is easy to use up the 30 characters ISY allows you, so I limited the room text to 15 chars, giving the balance to the shade/scene name. Could make this a parameter or even more cool make the shades/scenes nodes children of the rooms. In the background I have reduced some of the debug logging which I more needed during development. Finally I have been having fun with a willing victim to develop G2 capabilities without breaking G3, thank you @GTenchfor your patience. We now have nodes, and soon I am hoping movement for the G2 users. Feedback is welcome! VERSION = '0.1.3' """ 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 FIXME G2 bug fixes add to future version: TODO bugfix & test 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 """ 1
Recommended Posts