DaveGut / HubitatActive

Hubitat Environment Developments
64 stars 87 forks source link

Kasa KL430 implementation #2

Closed jbbarnes77 closed 3 years ago

jbbarnes77 commented 3 years ago

I have 75 Kasa devices on my network, representing over a dozen products. The drivers are working fine.

The only unsupported device is the KL430 RGB LED strip. I can offer to test drivers on mine if you do not have one to test with.

Brandon

DaveGut commented 3 years ago

You can do a manual installation by creating a virtual device using the Color Bulb driver. Turn on Debug logging and do a refresh - providing me with logging. Then, for the driver, what functions work / do not work. And for the Kasa App, are there critical functions missing.

DaveGut commented 3 years ago

App updated to accept KL430 as a color bulb.

jbbarnes77 commented 3 years ago

I noted the update to the application. I used the new code to update the Kasa Integration app. Didn't see any changes to the drivers, so that was the only new code I installed.

Upon rerunning the Integration app, it listed my KL430 and allowed me to add it. So it does show as a current device now. It will not, however, respond. I can't turn it on or off or make any brightness or color changes.

I can provide assistance in documenting and troubleshooting.

jbbarnes77 commented 3 years ago

Dave,

Thanks for the new code. I tested it and added a comment to the case, but it remained closed. So I'm not sure if my comment gets highlighted or not.

In case it doesn't, here's what I added:

I noted the update to the application. I used the new code to update the Kasa Integration app. Didn't see any changes to the drivers, so that was the only new code I installed.

Upon rerunning the Integration app, it listed my KL430 and allowed me to add it. So it does show as a current device now. It will not, however, respond. I can't turn it on or off or make any brightness or color changes.

I can provide assistance in documenting and troubleshooting.

Brandon

On 12/26/2020 6:01 AM, David Gutheinz wrote:

You can do a manual installation by creating a virtual device using the Color Bulb driver. Turn on Debug logging and do a refresh - providing me with logging. Then, for the driver, what functions work / do not work. And for the Kasa App, are there critical functions missing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DaveGut/HubitatActive/issues/2#issuecomment-751364187, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIMNU6DSRMLXLJHBYPPL3KLSWX3C5ANCNFSM4VJRWU6A.

DaveGut commented 3 years ago

Brandon, I have developed a test driver. Location is: []https://raw.githubusercontent.com/DaveGut/Hubitat-TP-Link-Integration-DEPRECATED/master/LightstripTest.groovy

Instructions:

    • Refresh // debug entry in log
    • On // light turns on (if fails, stop), attribute switch = on
    • Off // light turns off, attribute switch = off
    • Set Level 50 // light on to a level of 50, attribute level = 50
    • Set Circadian // Light changes color temperature // attribute color temp changes
    • Set Color Temperature 6500 // CT changes to 6500, attribute CT = 6500
    • Set Color (pick any) // Color Changes, attribute CT = 0, color attributes change.
DaveGut commented 3 years ago

Code has been updated to include the KL430. May or may not work.