SecKatie / ha-wyzeapi

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

[Feature Request] Add Floodlight control for new Floodlight Pro #491

Closed rykermorgan closed 10 months ago

rykermorgan commented 1 year ago

Describe the solution you'd like Controls for the new Floodlight Pro (LD_CFP) currently only include:

I'd love to be able control the floodlight from HA, instead of having to do it from the Waze app. Then I could tie the light to a wireless button/switch.

Describe alternatives you've considered Not sure there are any

Additional context image

talormanda commented 1 year ago

+1 - I need this in my life.

github-actions[bot] commented 12 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

talormanda commented 12 months ago

Bump

brg468 commented 12 months ago

Somebody wanna try some copy/paste editing?

Change line 69 in light.py to this and restart. I don’t have this cam so I don’t know if that’s all it will take.

if camera.product_model in ["WYZE_CAKP2JFUS", "WYZECFLP"]:

bryceandress commented 12 months ago

Somebody wanna try some copy/paste editing?

Change line 69 in light.py to this and restart. I don’t have this cam so I don’t know if that’s all it will take.

if camera.product_model in ["WYZE_CAKP2JFUS", "WYZECFLP"]:

That did not do the trick

brg468 commented 12 months ago

Ok, that’s probably not the right model number..what does HA show under device info for that cam?

Edit: Ha never mind, it’s in the screenshot posted above.

brg468 commented 12 months ago

Try

if camera.product_model in ["WYZE_CAKP2JFUS", "LD_CFP"]:

bryceandress commented 12 months ago

That also did not work. I also tried LDCFP, WYZE_LDCFP, and WYZE_LD_CFP.

Just to confirm, reloading the integration is all that is needed? Or do I need to restart HA entirely?

brg468 commented 12 months ago

I would try a full restart, reload sometimes throws an error.

At a minimum I would think a switch would show up if the model number is correct, it may or may not work.

bryceandress commented 12 months ago

Try

if camera.product_model in ["WYZE_CAKP2JFUS", "LD_CFP"]:

Alright with this suggestion and a full HA restart the switch for the Floodlight now appears. However, when turned on, it does not activate the lights and the switch will turn itself back off after a few seconds, presumably due to an error. I need to step away but can help troubleshoot further this weekend if needed.

brg468 commented 12 months ago

Ok that’s not that unexpected, I’m sure it’s using a different property for the light. Hoping for the easy fix.

brg468 commented 11 months ago

If somebody wants to share their device with me I can take a look at what it might take to get this working, assuming it’s similar to how the other floodlights work.

talormanda commented 11 months ago

If somebody wants to share their device with me I can take a look at what it might take to get this working, assuming it’s similar to how the other floodlights work.

Were you able to get this working? If not, I can try to share my device for a limited time to see if you can spot this to get it working.

brg468 commented 11 months ago

I have not had anybody share with me, but if you’d like to share to brg468@hotmail.com I can take a look when I have some time.

talormanda commented 11 months ago

I have not had anybody share with me, but if you’d like to share to brg468@hotmail.com I can take a look when I have some time.

I will send you an email to get a more precise communication. I can't share it for an indefinite amount of time so you will have to let me know.

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 10 months ago

This issue was closed because it has been stalled for 5 days with no activity.