Closed KrunchMuffin closed 5 years ago
@KrunchMuffin Ok thanks for chiming in! I had hoped you had HG running for other things maybe.
@tuicemen You seems to use my program version. @genemars write a best version. Can you try this new version ? 1014-WeMo.zip i only adapt @genemars version to :
@noliono I just got back from a vacation so I'll test your version tonight. I also have been running a modified version of Genies last build so I'll compare the two. I also suppressed the things you did but I also had to reverse the order for ON and Off status for my modules so a brief On wasn't seen. That would trigger any events I had watching for an On status even though the module was actually Off.
@tuicemen @noliono let me know when the script is working so I can include it in next HG release.
@noliono I'm testing your version now, it works with one WeMo however if I add a second I get false ON events. Playing with the order of code for the status update seems to resolve my issues just as it did for @genemars last build. However I don't want to jump the gun saying everything is 100% working till I've fully tested this. Seems devices don't update if the status is changed for the Wemo locally till they've been turned on & off from inside HG.
I've loaded my changes to a second RPi so I can see if things are consistent.
@noliono can you test this with your system? 1015-WeMo.zip I had to change the order things were carried out as well I had to separate the responce2 from the Module.IsOn/Off using the && made my setup misbehave. I have this working reliably (so far) on two RPi Zero W boards with HG v1.3-beta.2
@noliono can you test this with your system? 1015-WeMo.zip I had to change the order things were carried out as well I had to separate the responce2 from the Module.IsOn/Off using the && made my setup misbehave. I have this working reliably (so far) on two RPi Zero W boards with HG v1.3-beta.2
I try to use your program but my HomeGenie have an abnormal CPU usage (describe here : #374) and i test to disable it to solve my issue. But that didn't solve my issue and so i think the lag for switch on/off is due to my CPU usage ... In brief, i can't be sure 100% your program work fine ... :/
@noliono I had to revert to version 1.2-Stable.39 with one of my RPI as I lost control of many other things. Maybe it was the issue your seeing. The other Pi with 1.3-beta.2 runs fine for me thus far though I don't have the same things configured on it. The modified WeMo program I posted continues to work reliably for me from both RPIs
@genemars I believe this is stable enough to be added to HG with the changes I made and posted last. The modified WeMo program I posted continues to work reliably for me from both my RPIs. The only time it stopped working was when my router rebooted. And when that happened HG reported the error of not being able to communicate to said WeMo devices. Setting the WeMo IPs to my routers IP reserved list has fixed that. ;)
@tuicemen ok, I will add this to next hg release.
@genemars that will be great thanks.
The WeMo program is now included in v1.3-stable.3. :)
After a long time to solve my CPU use in homegenie, I can say that the program work fine on my side too!
Curious as I have a few,