SecKatie / ha-wyzeapi

Home Assistant Integration for Wyze devices.
740 stars 112 forks source link

Support Indicator Floodlight V2 #616

Open jdeath opened 1 month ago

jdeath commented 1 month ago

Support light indicator on Wyze Floodlight v2

jdeath commented 1 month ago

This supports knowing if the light is on or off. For some reason it will not change the light state. This used to work fine on another model, but the API does not appear to allow setting P1056 directly anymore. Do you have an example of using the api library just to set a property? I lost my old code where I got this working years ago... The app must use a websocket now, and not a post as it does not show up in my MITM logs.

brg468 commented 1 week ago

Personally I’d say I’m not in favor of adding a switch to essentially act as a sensor. If we can’t find a way to make it actually control the light then I think this will lead to more issues from people not realizing the limitation of it.

I’m not sure but it might have been addressed in https://github.com/SecKatie/ha-wyzeapi/pull/607

jdeath commented 1 week ago

I am hopeful when 607 is merged, this will work. It could be made as a sensor to avoid confusion, but not sure how.