thank you for beeing so vocal
something is broken on my end, i dont get any messages on my phone but the companian app is installed and i get all data on the sensors.
Feel free to message me directly instead if it concerns some private information that needs to be redacted.
I did not have a camera myself when I implemented the snapshots feature and built it based on documentation purely, so it would be a golden opportunity to get real usage information wherever I can.
All you have to do is import the blueprint for this script. Open it, then fill out the fields that you need for your devices and options (if any).
One done, run it and make sure it works. Once it does what you want, create a basic automation that triggers this script when motion is detected by your camera.
For me, most of the fields are blank as I did not want or need any “options.”
All I wanted was a screenshot on motion, and to open the reolink app when I tap it. It is capable of much more.
I’m new here, so I don’t really understand what most of this means or how to do most things yet, but is it possible to send the snapshot to an email instead?
Firstly, welcome onboard your Home Assistant journey!
Unfortunately, it’s not possible to use this blueprint to send emails.
You can however check out the SMTP Integration which adds a notify service to Home Assistant that allows sending notifications via emails.
You’d have to add the integration to your setup, then create an automation, calling the notify service provided by the SMTP Integration when something happens.
High level overview:
Add and configure SMTP Integration.
Add automation based on your requirements.
Trigger notify service provided by the SMTP Integration.
According to the SMTP Integration documentation, it does seem possible to send images.
Trying to import this Blueprint (first blueprint) and getting the following error after hitting the “preview” button:
Invalid blueprint: extra keys not allowed @ data['blueprint']['input']['confirm_icon']['selector']['prefix']. Got None extra keys not allowed @ data['blueprint']['input']['dismiss_icon']['selector']['prefix']. Got None extra keys not allowed @ data['blueprint']['input']['notify_service_name']['selector']['prefix']. Got None extra keys not allowed @ data['blueprint']['input']['option_three_icon']['selector']['prefix']. Got None
Welcome to the community, and thanks for trying out the script.
I have tried to import the blueprint using the first link on the page on a clean system without an existing blueprint, did not encounter the issue you faced. The script also does not have syntax issues at the points listed in the error above according to the text selector’s documentation. The prefix feature causing the crash listed was added just 3 months ago it seems, so it’s a fairly fresh feature.
My guess is that you might be using an older version of Home Assistant that does not support the required selector options, it might just be as simple as an update to fix the issue.
Maybe to help us identify the issue, I would need your assistance to check through a couple of items:
Have you used this blueprint before?
Could you post a screenshot of your Home Assistant version?
You can get the version information here:
I’ve read the document in the link but I’m afraid that it’s mostly Greek to me.
I understand the meaning of the individual components such as the variables and the procedural calls but I don’t understand how to put them together to make something usable. I think that I’m probably getting the nuances of the syntax wrong more than anything else.
Is there there a full functional example somewhere that I can just copy and paste in to the right place?
I’m only really experiences in OO coding that’s completely agnostic to things like capitalization and layout, so I’m struggling here.
Well, the topic at hand is a little out of scope of this blueprint. In general there are three moving parts at play.
SMTP Integration - Synonymous with a configuration file you’d have on other programming languages.
Notify Service (provided by SMTP Integration) - Synonymous with a function.
Automations and scripts that calls the Notify Service. - Synonymous with a daemon or program that has been configured to execute a service in its life cycle.
Note that the examples used are only intended as a thought guide and are in no way representative of what they actually are.
I have highlighted the important terms in bold, hopefully this makes sense to you. It’ll get easier as the terms become more familiar to you. YouTube tutorials help a lot as well. I’ll plug a Home Assistant related YouTuber whose content I enjoy here.