woocros.blogg.se

Camera capture gif
Camera capture gif







camera capture gif
  1. #Camera capture gif update
  2. #Camera capture gif full
  3. #Camera capture gif plus

I didn’t want to do the gif part like you did, just update the picture on the two cameras I have. Hey I stumbled upon your topic here because I wanted to be able to have my Blink cameras automatically update the picture so I don’t have to keep going into the app and doing it myself. Even if your conclusion is “this is the stupidest way to accomplish that task”, at least you now know one way not to do it! I’m pretty happy with how it turned out, despite the seemingly roundabout way I got there… I’m like one step away from this being a Rube Goldberg machine.Īnyways, hopefully someone else enjoys this or finds it useful. On top of that, I’m very much a docker n00b so I figured it would be a good learning experience in creating and managing a container. Originally I didn’t really want to make a generic container to run and schedule my python script, but I started seeing potential benefits to it long term (mostly unrelated to home-assistant). I’ve already mapped the directory where I save my gif to home-assistant, so I have the following in my home-assistant configuration.yaml file: camera:Īnd here is an example gif that is created (this one is actually at 30mins/picture rather than 20, but you get the idea). 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).

camera capture gif

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.

#Camera capture gif full

My full home-assistant config can be found here for those interested, but I’ll recreate the important bits in this post.

#Camera capture gif plus

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.









Camera capture gif