Motion trigger script to also include a photo?
When motion is detected, I instantly receive an iOS push notification with an image preview of what caused the event.
Is there anyway to access this photo when using Action scripts please?
I understand that camera number, name, and reasons are passed to the script, and that the only other way to access captured images would be via ProcessCapturedFile. However, I would also like to send notifications to a Telegram group chat along with a photo of the event (a low quality one will do fine), just like how the iOS push notifications work. I don't really want to use the ProcessCapturedFile for this because I only store motion videos, and I need it to send as soon the event is triggered.
Many thanks.
Is there anyway to access this photo when using Action scripts please?
I understand that camera number, name, and reasons are passed to the script, and that the only other way to access captured images would be via ProcessCapturedFile. However, I would also like to send notifications to a Telegram group chat along with a photo of the event (a low quality one will do fine), just like how the iOS push notifications work. I don't really want to use the ProcessCapturedFile for this because I only store motion videos, and I need it to send as soon the event is triggered.
Many thanks.
Comments
Instead of iMessage, it may be possible to use AppleScript or something like telegram-send in order to send the image via Telegram, but I'm not familiar with this.
One thing I've noticed this evening (I'm still learning having only discovered your excellent application two nights ago), is that the iOS notification sends a zoomed in picture where motion was detected. Is there a way to do the same via scripts please?