zGuy981 Posted November 2 Posted November 2 I added the plugin and updated the gatewayip to my HD Powerview Gen 2's IP address as my single hub. After doing so it only adds one shade. Upon inspecting the log it looks like it is encountering an error on init of that first shade. It does not appear to process anymore after that. I tried with both the production and beta versions but the same error happens in both: 2024-11-02 04:07:17.525 Thread-3 (parameterHandler) udi_interface ERROR udi_interface:write: KeyError 2024-11-02 04:07:17.525 Thread-3 (parameterHandler) udi_interface ERROR udi_interface:write: : 2024-11-02 04:07:17.525 Thread-3 (parameterHandler) udi_interface ERROR udi_interface:write: 'capabilities' I have attached the prod debug.log, the beta debug_2.log, and the shades and scenes dump. Any help would be greatly appreciated. My EISY is on the latest firmware as well. Let me know if I can provide any additional information. debug_2.log debug.log shades.txt scenes.txt Quote
sjenkins Posted November 2 Posted November 2 @zGuy981, Thanks for including the all of the debug files ; I will take a look at it this afternoon, heading out for my daughter's hockey now. I see where to look & may have a question or two. Just to be clear it looks like you have four shades. They seem all the same type can you verify what type they are? (tilt, roll, from bottom, from top, both) Do you really have 18 rooms and 37 scenes defined in the app for these four shades? Not saying this is the cause but if they are not all in use then some cleanup in the app may help. Finally, are any of your scenes multi room scenes? Quote
zGuy981 Posted November 2 Author Posted November 2 (edited) Thank you for getting back to me so quickly! Out of the 4 shades, 3 are both ways and the last is a slider, left to right. I do have 18 rooms as I am integrated with homekit, so they are populated on the homekit side but 30 are empty on the powerview side. The same goes for scenes between homekit/isy integration there are about equal multiroom/single shade scenes. Currently, I use network resource to IFTTT Powerview integration for a number of scenes to allow for limited integration. Let me know if I can help in any way and thanks again. Edited November 2 by zGuy981 Quote
sjenkins Posted November 3 Posted November 3 ok, found the issue. Your second shade in the list, 35640, can I verify that is the left/right shade? It has a completely different json structure than the others (see below if you care). The GEN-2 system did this the odd time & is a lot of what they cleaned up in Gen-3. It has no "capabilities" reference & interestingly had a "motor" reference. The capability number is what you use to tell what kind of shade you have (there are many). I just need to set a "default" shade if one doesn't exist. Likely should have that and a log I was doing that anyway, but the error does flag something wrong ; you might not have anyone let you know otherwise. I will get my coffee made and go at this. I'll let you know when I need you to test, likely in the beta first. For those who might care beyond me below is the JSONs I am talking about: Below is a "normal" shade (your other threee): Quote { "id": 9303, "type": 8, "capabilities": 7, "batteryStatus": 3, "batteryStrength": 167, "roomId": 53427, "firmware": { "revision": 2, "subRevision": 1, "build": 2313, "index": 3 }, "name": "RGluaW5nIFJvb20gU2hhZGU=", "groupId": 28315, "signalStrength": 0, "smartPowerSupply": { "status": 0, "id": 0, "port": 0 }, "positions": { "position1": 0, "posKind2": 2, "position2": 0, "posKind1": 1 } }, Below is your "Special" one (going to assume default type): Quote { "id": 35640, "type": 26, "batteryStrength": 180, "batteryStatus": 4, "roomId": 31532, "groupId": 4497, "name": "TGl2aW5nIFJvb20gU2xpZGVy", "positions": { "posKind1": 1, "position1": 0 }, "firmware": { "revision": 1, "subRevision": 8, "build": 1944 }, "motor": { "revision": 0, "subRevision": 0, "build": 127 }, "smartPowerSupply": { "status": 0, "id": 0, "port": 0 } }, Quote
zGuy981 Posted November 3 Author Posted November 3 Thank you for looking into this. That is correct 35640 firmware and motor info match the left to right slider info in the app. Thanks again! Quote
sjenkins Posted November 3 Posted November 3 No worries ; thank you for finding the bug. I am treating this as a bug, I was depending on the variable being there and had no default if it wasn't ; my bad. So on the beta store is v1.12.4, I have checked it out locally but I have Gen-3, so would be great if you could check out and run especially this shade and make sure all is as it should be. Quote
zGuy981 Posted November 3 Author Posted November 3 I tried the beta version and unfortunately, it had the same error. I uninstalled the previous version. I tried it twice the first time I used the slot I had been using and the second time a new slot. Both had the same capabilities error. I have attached the log. According to the details page, it is on 1.12.4. Please let me know if there is something else I can try. debug.log Quote
sjenkins Posted November 3 Posted November 3 No worries; I’ll check tonight after hockey. Sometimes need to peel the onion a bit. I likely missed it in another spot. Thanks for the debug. Quote
Solution sjenkins Posted November 3 Solution Posted November 3 (edited) @zGuy981 Ready for you to give it a try ; its in the beta area same version, just reinstall 1.12.4 Appreciate your patience. I missed a second occurrence in the shade update routine. let me know..... Edited November 3 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.