Open mrlt8 opened 3 years ago
@mrlt8 I’m curious about this too. I’ve been using the motion detector from Wyze sense v1 to get my notifications down to 1 minute, but I just got a v3 cam to play with and the motion sensor doesn’t work with that one anymore.
id love to hook into the motion detection interface so I can fire a script when it detects motion. I’m already passing the “alarm” images to a person detection server and it works great, I would love to be able to send those images frequently based on motion detection, and avoid the 5 min timer
Not sure if this is in the scope of stream hack, but I believe there are some motion related stuff in libimp.so..?
I'm currently using the stream hack with homebridge-camera-ffmpeg and a custom script which monitors the /alarm folder on the SD card and will trigger a "motion" even in HomeKit whenever a new image is detected. It works surprisingly well and allows the cams to be used as pseudo motion sensors to trigger scenes/light or even do a HomeKit notification with preview.
However, the /alarm folder seems to suffer from the 5 min cool down (reason why I was trying to use the events in the /record folder). Is there any way to reduce the cool down for /alarm or trigger a custom script whenever the camera detects motion?