apatsufas / homebridge-tapo-p100

Homebridge TP-LINK Tapo P100 Platform Plugin
Apache License 2.0
65 stars 14 forks source link

Tapo Lighstrips #17

Open PCasp opened 2 years ago

PCasp commented 2 years ago

Are there any plans to support Tapo lightstrips L900 and L920?

apatsufas commented 2 years ago

Not at the moment as I don't own such a device.

It could be possible that they share the same api as the color bulbs, but I would have to check that. If you want you could give it a try if you own a light strip.

garnser commented 2 years ago

I'd be happy to have a look at this with some guidelines. However it doesn't seam like it exposes a valid response compared to other devices.

curl -H "Content-Type: application/json" http://192.168.68.137/app?token
<html><body><center>200 OK</center></body></html>
ryanep commented 2 years ago

I've tested this today with my L900-5 light strip using the Colorlight type. All works nicely.

garnser commented 2 years ago

I've tested this today with my L900-5 light strip using the Colorlight type. All works nicely.

Not sure how or why but gave it another try now successfully

capmalo commented 2 years ago

Does this stiff work for you ? Tried to do that with my L900-5 and it's not working

Edit: Fixed ! Wrong IP adress, on/off & dimming works well but color not really, sometimes it works, sometime not and sometime it flash the color 1/2s and then go back to previous color.

[12/04/2022, 21:52:04] [Tapo Smart Platform] 371 Error: read ECONNRESET [12/04/2022, 21:53:25] [Tapo Smart Platform] 371 Error: read ECONNRESET [12/04/2022, 21:53:51] [Tapo Smart Platform] 364 Error Code: -1008, ERR_PARAMS 192.168.0.38

0xJerry commented 2 years ago

no luck for me, @capmalo mind sharing your config json? :)

capmalo commented 2 years ago

no luck for me, @capmalo mind sharing your config json? :)

Yes, but it is roughly the same as in the example :

"platforms": [
    {
        "name": "Tapo Smart Platform",
        "username": "username",
        "password": "password",
        "platform": "TapoP100",
        "devices": [
            {
                "name": "Lightstrip_1",
                "host": "192.168.0.X",
                "type": "Colorlight",
                "updateInterval": 10,
                "timeout": 5
            }
        ]
    }
]