Is there any Twilio MMS support?

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.

My current approach will be to call a python script if there’s no better solutions.

You can use the REST notifier. Here’s the CURL example from the Twilio docs

curl -XPOST https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages \
    -d "Body=Let%27s%20grab%20lunch%20at%20Milliways%20tomorrow!" \
    -d "To=%2B15558675310" \
    -d "From=%2B14158141829" \
    -d "MediaUrl=http://www.example.com/cheeseburger.png" \
    -u 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:your_auth_token'

Hey to bring this back up but it would be a nice integration to do this with the plugin and not have to use curl.

@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.

I created a feature request if you want to vote.

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.