Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Abba- opened this issue Sep 28, 2023 · 32 comments · May be fixed by #607
Open

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

Abba- opened this issue Sep 28, 2023 · 32 comments · May be fixed by #607
Labels
bug Something isn't working

Comments

@Abba-
Copy link

Abba- commented Sep 28, 2023

Describe the bug
Toggling the switch for 'Motion Detection' or 'Power' for a doorbell doesn't work.

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

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).

Power: There isn't a power button on the app for doorbells, so this is probably simply unsupported.
Siren: Likewise, I dont think there is a siren option

System configuration
System: As Virtual Machine 10.5 on Unraid
HA Version: 2023.9.2
WyzeApi Version: 0.1.22

@Abba- Abba- added the bug Something isn't working label Sep 28, 2023
@github-actions
Copy link

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 github-actions bot added the Stale label Oct 29, 2023
@Abba-
Copy link
Author

Abba- commented Oct 29, 2023

Keeping this active….

@brg468
Copy link
Collaborator

brg468 commented Oct 29, 2023

I don’t think motion switches work on the doorbell, so really we should not add the motion switch. Can you post the model number from the device page in HA for the doorbell and I can add it to the list of cameras that don’t support motion switch.

@Abba-
Copy link
Author

Abba- commented Oct 29, 2023

They absolutely do have a motion detection switch. They don’t have a regular power switch. They only capture motion. (See first post)

HomeAssistant shows WYZEDB3 by WyzeLabs

@brg468
Copy link
Collaborator

brg468 commented Oct 29, 2023

I believe you that they have a motion switch, but apparently it doesn’t work the same as the other cameras. Without having one I can’t do much other than remove the switch if it isn’t working. If you or somebody wants to share the device I can see if it can be done but there’s no guarantee, some of the newer cams seem to use a different protocol for these things that isn’t supported through the API (floodlight pro is one of them)

@Abba-
Copy link
Author

Abba- commented Oct 29, 2023

Happy to share it, do you have email where we can continue conversation?

@brg468
Copy link
Collaborator

brg468 commented Oct 29, 2023

email is [email protected], you can share to that if you'd like.

brg468 on discord also

@github-actions github-actions bot removed the Stale label Oct 30, 2023
Copy link

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 github-actions bot added the Stale label Nov 29, 2023
@Abba-
Copy link
Author

Abba- commented Nov 29, 2023

Communication ongoing…

@github-actions github-actions bot removed the Stale label Nov 30, 2023
Copy link

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 github-actions bot added the Stale label Dec 31, 2023
@janssjay
Copy link

The switch does appear to toggle the "Motion Event Recordings" check-box in the Wyze app, but then the HA switch always resets to "On", even if the Wyze option is unchecked.

@github-actions github-actions bot removed the Stale label Jan 1, 2024
Copy link

github-actions bot commented Feb 1, 2024

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 github-actions bot added the Stale label Feb 1, 2024
@Abba-
Copy link
Author

Abba- commented Feb 2, 2024

Investigating....

@github-actions github-actions bot removed the Stale label Feb 3, 2024
@brg468
Copy link
Collaborator

brg468 commented Feb 14, 2024

I put in a small change to how motion switches are controlled. I'm not sure if it will have any effect on the doorbell or not.

SecKatie/wyzeapy#82

Copy link

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 github-actions bot added the Stale label Mar 16, 2024
@Abba-
Copy link
Author

Abba- commented Mar 19, 2024

Request still not merged so cant check...

@github-actions github-actions bot removed the Stale label Mar 19, 2024
@janssjay
Copy link

Have the same problem/experience with the Cam Pan v3 and Cam v3. Motion detection toggle does not affect the app and always returns to ON regardless of the state in the app.

@brg468
Copy link
Collaborator

brg468 commented Mar 20, 2024

@janssjay are you running the latest version(0.1.24)? This should have been fixed in that release.

@janssjay
Copy link

@brg468 I just upgraded to 1.24 and retested. Now the Motion Detection toggle stays where set, but it controls the "Motion Event Recordings" toggle, not the "Track Motion" toggle for the Cam Pan v3. As for the Cam v3, the Motion Detection toggle also stays where set but unsuccessfully attempts to control the "Motion Tagging" option in the app. One time it momentarily turned this option off but then reset with a "network unstable" error. After that, it no longer had any impact.

@brg468
Copy link
Collaborator

brg468 commented Mar 20, 2024

The motion detection switch always controlled the record motion events switch on the camera. Track motion and motion tagging are not able to be controlled from this integration.

Copy link

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 github-actions bot added the Stale label Apr 20, 2024
@Abba-
Copy link
Author

Abba- commented Apr 21, 2024

Communication ongoing

@github-actions github-actions bot removed the Stale label Apr 22, 2024
Copy link

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 github-actions bot added the Stale label May 22, 2024
@SecKatie
Copy link
Owner

Its been merged @Abba- can you check now?

@github-actions github-actions bot removed the Stale label May 23, 2024
@Monacoslo
Copy link

Is there a way do enable back motion detection (sensor for automations) on regular Wyze cams?

@brg468
Copy link
Collaborator

brg468 commented May 30, 2024

@Monacoslo see this comment.

#320 (comment)

@Abba-
Copy link
Author

Abba- commented Jun 11, 2024

Its been merged @Abba- can you check now?

Based on my testing with 0.1.27, 4 switches appear under the Device info for the WYZEDB3.
Also can I request you reopen #559 please as it directly relates to how errors below can be handled.

Motion Detection:
Seem to be unchanged from original report.
The app allows motion detection toggle at Settings -> event recording -> motion detection.
However, the API now now throws an "unauthorized operation" rather then silently reverting.

Notification
✅This turned off notifications as expected.

Power
This throws an "unauthorized operation". I agree there is no option for this and it should be removed for the doorbell.

Siren
This throws an "unauthorized operation". I agree there is no option for this and it should be removed for the doorbell.

Copy link

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 github-actions bot added the Stale label Jul 12, 2024
Copy link

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2024
@Abba-
Copy link
Author

Abba- commented Sep 2, 2024

@brg468 @SecKatie can we unstale this please?

@SecKatie SecKatie reopened this Sep 2, 2024
@SecKatie SecKatie removed the Stale label Sep 2, 2024
@brg468
Copy link
Collaborator

brg468 commented Sep 2, 2024

Looking at the notes of #607, the power switch was removed and the motion toggle was not able to be fixed.

@brg468 brg468 linked a pull request Sep 4, 2024 that will close this issue
@Abba-
Copy link
Author

Abba- commented Sep 22, 2024

@KyGuy2002, based on #607 its impossible to fix the motion toggle?
(FWIW I have the non-pro Doorbell, although I doubt API is all that different).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants