Hi!
I have some camera’s in my house that I want to use in a better way. Right now the camera’s takes pictures on certain triggers. The aim is now to record and save the video file to a local place. For example when my home alarm is trigged a want my camera’s to record…
I use https://motion-project.github.io/ to record streams off three IP cameras on an odroid-xu4. It can serve streams back out via http so I have homeassistant consuming cameras from motion instead of directly from the cameras. It has a crude API as well if you want to trigger recording from elsewhere.
Hi @sahasraya; each camera in motion has a “stream_port” property. so let’s assume you are streaming a camera over port 30001. So just create a camera entity in configuration.yaml like so…