Skip to content
Branch: master
Find file History
Latest commit 264a431 Jun 27, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
capture_timestamped_image.py Adds automations Jun 27, 2019
process_deepstack_image.py Adds automations Jun 27, 2019

README.md

Automations

I am using a pair of automations with this component. The first is triggered by a PIR on my front door and kicks off a python_script to save a time-stamped image from my blink camera and set-off image processing with this component. The second automation is triggered by the image_processing.file_saved event that this component fires, and kicks off a python_script that sends the saved image via telegram. Note that I am using the url of the file as my Home Assistant instance is running in Docker and I cannot use a file path.

You might ask why I am using python_scripts rather than keeping all logic within automations.yaml. There are 2 reasons. (1) I prefer writing python over yaml, and (2) if is not necessary to do any reloading in HA as changes to python_scripts instantly take effect.

You can’t perform that action at this time.