roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.66k stars 171 forks source link

[FR] start recording on Motion #149

Closed JustMe0815 closed 2 years ago

JustMe0815 commented 3 years ago

It would be nice to have the ability to start recording ON MOTION

    motion_detection:
      interval: 0.5
      timeout: true
      max_timeout: 30
      trigger_detector: false
      triggers_recording: true
aprosvetova commented 3 years ago

This is a highly needed feature!

I understand that this object detection thing is really cool, but some people just want a stable motion-based NVR solution that works on linux, supports sound and hw transcoding.

Funny thing: if you allow the recording to be triggered by motion, viseron will be the only (and the best) NVR that fits the requirements I listed.

Can't wait to switch from motioneye to this.

roflcoopter commented 3 years ago

I will look at this asap.

The reason why it's not implemented yet is because I am planning to do a bigger refactor of the motion detection, but I can squeeze in an interim solution for you before I start with that

JustMe0815 commented 3 years ago

Take a look at https://github.com/JustMe0815/simple-rpi-rtsp-NVR which i had put together for the meantime until recording on motion gets implemented here.

roflcoopter commented 3 years ago

@aprosvetova @JustMe0815 I just implemented this feature in Docker tag dev.

Can you try it out and see if it is what you expect?

See #210 for more information

aprosvetova commented 3 years ago

Wow, that was fast!

Will try this in next few days when I have time to work on my surveillance.

Thank you so much!

roflcoopter commented 3 years ago

All i needed was a little nudge 😁

roflcoopter commented 2 years ago

Closing as this is implemented