docker-wyze-bridge icon indicating copy to clipboard operation
docker-wyze-bridge copied to clipboard

MQTT motion

Open knoxx333 opened this issue 3 years ago • 2 comments

It would be super helpful to get "motion" added to MQTT. This would allow for HKSV to enable recording using /koush/scrypted. The full MQTT feature set is already implemented in Dafang Hacks in case that is helpful? THX!

knoxx333 avatar Sep 30 '21 17:09 knoxx333

This would be great, but I'm not sure if it would be possible as I don't think the camera exposes any motion information via tutk..?

AFAIK, the cam does the detection in camera and, if the cool down is not active, pushes the recording to the wyze server where the video gets processed in the cloud.

The SD card option seems to continuously records a one min clip even if you have "events only" selected and deletes the clip if no motion was detected.

Even if we could access the same motion events as the Alexa integration, the main problem with wyze is that their alerts are super slow.

Dafang is a custom firmware, so they have direct access to the camera's motion detection. May be able to achieve something similar with WyzeHacks which installs on top of the official firmware?

I believe ha-wyzeapi has some sort of motion detection from the camera via the web api, which could be another option, but I'm guessing suffers from the same slowness as Alexa?

mrlt8 avatar Oct 01 '21 03:10 mrlt8

Got it. Thanks for taking the time. I thought maybe motion could come from an API. Doesn't look like that.

knoxx333 avatar Oct 01 '21 14:10 knoxx333

resurrecting this - so with the current firmware, is the motion to mqtt possible ? the guide says only older firmware. thank you

Rathna-K avatar Oct 17 '22 19:10 Rathna-K

At the moment, no, not possible for hardware motion.

Wyze removed the ability to access the SD card over http in newer firmware.

Two potential solutions - 1. try to use TUTK's RDT protocol to access the camera and sd card (which is how I believe they're transferring the timelapse videos in newer FW) or 2. try to somehow access the internal MQTT which is running on AWS IoT core.

Another option would be to run the footage through some third party motion analyzer like frigate or scrypted which could then be configured to push motion data to MQTT.

mrlt8 avatar Oct 17 '22 22:10 mrlt8