Is there any support to send a twilio mms? I am using a wget to dl a pic from my security cam when motion is detected and want to text it via twilio.
NVM. after some more research the twilio python API is super easy to use. Only catch is that I can’t just attach a local file. It appears I’ll have to serve the image up to make it publicly available.
@MediaCowboy I concur. I found this thread looking for the same for my camera motion alarm snapshots. Would rather not have to set up yet another service. Sticking to email for alarm notifications for now I guess.
So I know this is not directly related but I was able to send my home assistant iOS app a notification and include a jpg from my cameras. It gets the job done and no twillo MMS fees. However you can only see the image on the notification screen on the iPhone… Maybe they can show past notifications in the app. Thats what I was looking to accomplish with a twillo MMS. once you clear the notification, you cant see the image any more. Of course your camera NVR should have the info if you really need it.
This is the config for the automation… Easier to post this the the UI screens.
- id: '1588776376510'
alias: Front Porch Motion
description: ''
trigger:
- platform: webhook
webhook_id: '120'
condition: []
action:
- data:
message: The Front Door Motion
service: notify.notify
- data:
data:
attachment:
content-type: png
hide-thumbnail: 'false'
url: http://usern01:P@[email protected]/cgi-bin/snapshot.cgi?channel=1&subtype=1
message: The Front Door Motion
service: notify.ios_wesleysiphonex
I call this web hook from my NVR when it detects a human in the image. also when the door bell is pushed ( ELK M1 alarm that turns on output which triggers automation), but what ever works for you.
This is what it looks like if you do the long touch the notification on the iPhone.