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

MQTT camera state online periodically - Enhancement #1136

Open
mhpetiwala opened this issue Mar 5, 2024 · 0 comments
Open

MQTT camera state online periodically - Enhancement #1136

mhpetiwala opened this issue Mar 5, 2024 · 0 comments

Comments

@mhpetiwala
Copy link

First of great solution for Wyze cameras. I use it to interface with my home assistant but my deployment is not standard addon. I run them completely separate. Only thing I use to interface the bridge and HASS is MQTT. It works most of the time but I only keep my Wyze cameras connected under some conditions and offline most of the time due to privacy concerns.

Hence I keep my bridge and cameras monitored - using MQTT states from the bridge.

The wyze bridge state is used to see if the bridge is online or needs to be restarted (paranoid about availability) and the cameras are monitored to see if they're online or offline.
The problem I am facing is the online state of the camera is only sent once when they go online and not periodically. While the offline states are sent using multiple states
wyzebridge/office/state IOTC_ER_TIMEOUT
wyzebridge/office/state stopping
wyzebridge/office/state stopped
wyzebridge/office/state IOTC_ER_TIMEOUT
wyzebridge/office/state stopped
wyzebridge/state online
wyzebridge/state online
wyzebridge/office/state IOTC_ER_TIMEOUT
wyzebridge/office/state stopping
wyzebridge/office/state stopped

My request is to enhance the states to periodically also send online for camera states - so that if say the bridge dies (crash or whatever) but for some reason cameras go into an island mode and don't send online periodically or offline/failure status - I can have my state on HASS side timeout for online and move it appropriately to offline for the cameras.

This is surely not a bug more of an enhancement but would help make the bridge and states of cameras more robust.
Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant