SecKatie / ha-wyzeapi

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

[Bug] Motion detection switches aren't working for doorbell. #476

Closed Abba- closed 1 year ago

Abba- commented 1 year ago

Describe the bug Toggling the switch for 'Motion Detection' or 'Power' for a doorbell doesn't work. Originally was diagnosing the doorbell, but it seems all camera have the below issue with "Motion Detection".

To Reproduce Steps to reproduce the behavior:

  1. Turn off Doorbell Motion Detection from dashboard / entity
  2. Wait 20-45 seconds (presumably the amount of time for it to poll)
  3. Switch will return to on position.

Expected behavior

  1. Power: There isn't a power button on the app for doorbells, so this is probably simply unsupported.
  2. Motion: Motion is supported in the app (Settings -> event recording -> motion detection) so would expect this switch to show as off in the app (and the entity to reflect the off state).

System configuration System: As Virtual Machine 9.5 on Unraid HA Version: 2023.4.2 WyzeApi Version: 0.1.19

No errors show in logs, advise if I should paste debug output and what I need to sanitize from it,

Thanks!

brg468 commented 1 year ago

What version of cameras do you have?

For the doorbell, does the switch show the correct state of motion detection? I don't have the doorbell so I wondering if its handled the same was as the cameras or not.

Abba- commented 1 year ago

I have v3 and v2. The Motion detection settings are working again for my cameras so maybe that was a temporary bug.

For the doorbell, yes the switch state does update in HA if I change it in the app.

github-actions[bot] commented 1 year 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 1 year ago

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