sjenkins Posted September 5 Posted September 5 Basically rewrote the whole thing as the Python was pretty ugly & while I'm no expert I have come a ways in my journey. Also, stole shamelessly off a few other more gifted plugin makers. Thanks to all who make their work public. @Jimbo.Automates I'm looking at you. The end result is much more pythonic and readable ; hopefully easier to maintain. It is MUCH more responsive and less likely to crash ; with the old version did on a regular basis for me. Saying all that the feature list is very short & really only for the G3 folks. Small thing, added a node count to the controller node, does not include the controller. Saw others with it and can be useful as a sanity check. Motion for shades & Active for scenes should be good for use in scenes as controllers and in programs. In addition the shade actions should work in programs for control in addition to status. The event engine works much more quickly and reliably now, to the point I now pre-populate POLLING with 60s short and 600s long cycle. The 60s is for G2 updates and does nothing for G3 except restart the event engine if it ever crashes (doesn't seem to anymore). While the 600s is only for G3 polling and does nothing for G2. G3 almost doesn't need the polling anymore. YMMV. G3 scene activation I found was not always being updated by the PowerView gateway. The app would read correctly but when you went for the active list, it was out of date. Now I use the active scene event, but I set the active scene by calculating where the shades are. I also trigger calculations when the shades start or stop movement. Seems to work MUCH better. Sorry G2, there is no way to get the underlying shade data for a scene. I tried. Cleaned up the logs ALOT. INFO level is more sane now. Please send me DEBUG level if you have issues. I have tested a fair bit but I have 15 shades and about the same number of scenes, ONLY G3. I am most fearful that I broke something for G2. So I am really really sorry G2 but I gave you little and may have broke something. I will leave it in BETA as long as it takes, but I will need some of you to test it. One last note. With the move to EISY-UI, there is some behaviour that I am seeing across plugins. Once you update this plugin, you may need to run an ISY update / reboot. You should NOT need to delete and re-install (that will cause you to have to resave all your programs, yuck!!). If you don't update/reboot and you log-in locally, all is well. But the portal login may give you a lot of blank bits. They will update as scenes are activated or shades change but a update / reboot makes everything better. Or at least that is what I found. You can load the beta in a slot you have production, and move back to production. Most likely (!!) without breaking anything. I have done this a few times. I actually have my programs which schedules triggering of scenes to three different plugin slots (where I keep my production, beta, and local versions). I only run one at a time but it allows me to test back and forth quickly. Please give feedback!! Quote
sjenkins Posted Thursday at 02:37 PM Author Posted Thursday at 02:37 PM Pretty quiet group out there ; I am specifically looking for at least ONE Gen2 user to tell me the commands and updates still work before I go into production. Quote
GTench Posted Friday at 02:47 PM Posted Friday at 02:47 PM @sjenkins is 1.13.0 in the plugin store? Just wondering how to get at it Gary Quote
sjenkins Posted Friday at 08:48 PM Author Posted Friday at 08:48 PM 5 hours ago, GTench said: @sjenkins is 1.13.0 in the plugin store? Just wondering how to get at it Gary Should be in the non-production store. Quote
GTench Posted Saturday at 02:30 PM Posted Saturday at 02:30 PM Thanks... found it. Can I have both the production and nonproduction versions installed at the same time but in different slots? Quote
sjenkins Posted Saturday at 09:19 PM Author Posted Saturday at 09:19 PM 6 hours ago, GTench said: Thanks... found it. Can I have both the production and nonproduction versions installed at the same time but in different slots? Yes you can, I actually have production, beta, & development local on mine. I don’t tend to run them at the same time as sometimes the gateway gets grumpy. But nothing will blow up. you also can install the beta on top of the production, and then go back to production without your programs getting messed up. I do this sometimes too in my testing cycle. The poly platform is very flexible this way. Quote
GTench Posted 14 hours ago Posted 14 hours ago @sjenkinsthanks, good information to know. I will install and test G2 Quote
GTench Posted 13 hours ago Posted 13 hours ago @sjenkinsInstalled and configured it but it is only showing 1 node in PG3 even after a couple of restarts. The production version shows 17 nodes. I have not checked in the AC yet Quote
sjenkins Posted 6 hours ago Author Posted 6 hours ago (edited) @GTench, Found a late dumb error in Discovery. Did a quick fix for G3, but give me the night & I will fix it properly. Edited 5 hours ago by sjenkins Quote
sjenkins Posted 1 hour ago Author Posted 1 hour ago (edited) @GTench, Sorry for the delay, fixed. The bug was in the discover routine which you have to do a clean install to find & have certain shades. I made a change before my last clean install test. My bad. Should be good to delete, re-install and check out. btw: : to all testers, please tell me if you are G3 or G2 when you give feedback. Thanks again to all!! Edited 1 hour ago by sjenkins Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.