For this, I use the local file camera platform. So I have my gif saved, but now I need to display it in home-assistant. alias: Blink Automatically Take Pictureįilename: /images/raw_images/blink_living_room_".format(output, final) The filename format just ensures that I have a unique, and useful, filename for each image I take. My /images directory is just a mounted volume to somewhere else on my server (again, we’ll get to that later). I then call a script to take a picture with the camera (we’ll get to that in a minute) and then use the camera.snapshot service to save the camera to a file. So I stop taking pictures between ~midnight and either 4am or 30 minutes prior to sunrise, whichever is later (almost always sunrise, but whatever). Since my blink camera does not have an IR LED for night vision (I’m using an indoor camera outdoors with the illuminator turned off) I really can’t get any usable pictures at night. I settled on a picture every twenty minutes. This was pretty straight-forward, but required some fiddling to get the right interval (without destroying the battery). The first step here was to create an automation to automatically take a picture using my blink camera. My full home-assistant config can be found here for those interested, but I’ll recreate the important bits in this post. I’m running home-assistant in a docker container on UnRAID and have a fairly beefy server (I have like 20+ containers running various things, plus two or three VMs). But developing a system to pass arbitrary condiments is way more fun My setup I decided it would be cool to display a time-lapse video using my Blink security camera and ended up over-complicating it to all hell because… why not? There are many, WAY easier, ways to do this.
0 Comments
Leave a Reply. |