Skip to content

Conversation

@wmoss
Copy link
Contributor

@wmoss wmoss commented Sep 25, 2025

This creates entities for Wyze Sense motion and contact sensors as well as camera motion detection.

These both used to use the SensorService.process_update to update themselves, which just hammered the Wyze api in a tight loop (which understandably made Wyze angry).

For the Wyze Sense contact and motion sensors, this change instead uses UpdateManager to only poll every 30 seconds. The sensors are also disabled by default, which should further reduce traffic to the Wyze API.

For the camera motion sensor, it registers for the update events, which shouldn't produce any additional load given that the system is already polling for camera updates.

This creates entities for Wyze Sense motion and contact sensors as well as camera motion detection.

These both used to use the SensorService.process_update to update themselves, which just hammered the Wyze api in a tight loop (which understandably made Wyze angry).

For the Wyze Sense contact and motion sensors, this change instead uses UpdateManager to only poll every 30 seconds. The sensors are also disabled by default, which should further reduce traffic to the Wyze API.

For the camera motion sensor, it registers for the update events, which shouldn't produce any additional load given that the system is already polling for camera updates.
@brg468
Copy link
Collaborator

brg468 commented Sep 25, 2025

I believe these were disabled intentionally because we were spamming the Wyze servers. Have to check with @SecKatie on re-enabling.

@wmoss
Copy link
Contributor Author

wmoss commented Sep 25, 2025

@brg468 correct, they were. This at least attempts to implement it in a way that reduces that spam. See the description for details. It may not be enough to make merging this appropriate, I can't be the judge of that.

@github-actions
Copy link

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Nov 10, 2025
@janssjay
Copy link

Please deliver this

@github-actions github-actions bot removed the Stale label Nov 11, 2025
@SecKatie SecKatie added the Feature Request New feature request label Dec 5, 2025
@SecKatie SecKatie self-requested a review December 10, 2025 02:49
@SecKatie SecKatie self-assigned this Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Request New feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants