Thanks for taking the time to reply. My HASS instance (2021.11.4) is saying config is valid but when I go into automations to check it, notify.telegram_general isn’t in the drop down list?
Hi, I wanted to point out there has been an update to the nest media APIs so you can more accurately capture media associated with a specific event. Check out Nest - Home Assistant for more detail and also see the updated trigger documentation.
I think this is basically a feature request for the telegram integration to support authenticated media player urls. My impression is that we now have the capabilities to support requesting signed urls from automations so this is possible to address if someone prioritizes fixing it.
I think support for getting signed media URLs for telegram isn’t there, so my question is: is it possible to get local file name knowing event id, so I can send the file?
To clarify: The files do exist on disk and you can try to reverse engineer the format, but its not intended to be accessed this way and is not supported, will break without warning, etc.
As soon as I figured out filenames are timestamps, I was able to get a hacky workaround.
The issue /config/nest isn’t a secure directory to send files from. So the first step was to do a shell script to copy files:
Perfect. This solved my problem. It is mp4 for me, so for what it’s worth here is my automation setup. I like that it is only sending one file and overwriting. I don’t need all those files.