Twilio Issues

Hi

I have got twilio set up on my HA. The issue I face now is that I cannot get Twilio to work with my automation. Here is how I have setup up my Twilio in my config.

twilio:
  account_sid: ACd226d7d056e47f41790x257x0x845870
  auth_token: 28b8x4ec4d9153620c8123xxx143x845


notify:
  - name: me
    platform: twilio_call
    from_number: +441952780999


  - alias: The sun has set
    trigger:
      platform: sun
      event: sunset
    action:
      service: notify.me
      data:
        message: 'The sun has set'
        target:
          - +441952780999

The error I get in my log is :

2017-05-20 00:30:30 ERROR (MainThread) [homeassistant.config] Invalid config for [notify]: required key not provided @ data['platform']. Got None. (See /home/homeassistant/.homeassistan$
2017-05-20 00:30:31 WARNING (Thread-9) [homeassistant.components.emulated_hue] Listen IP address not specified, auto-detected address is 192.168.0.8
2017-05-20 00:30:31 WARNING (Thread-9) [homeassistant.components.emulated_hue] When targetting Google Home, listening port has to be port 80
2017-05-20 00:31:15 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds.
2017-05-20 00:33:48 ERROR (MainThread) [homeassistant.core] Invalid service data for notify.me: required key not provided @ data['message']. Got None
2017-05-20 00:34:04 ERROR (MainThread) [homeassistant.core] Invalid service data for notify.me: required key not provided @ data['message']. Got None 

Can someone please assist?

Thanks.

having the same problem here can’t manage to get Twilio to work …

@carlostico I am trying to get this working also. I see you posted on a couple threads. Any response on any? My logs look like the service loads fine, but its not listed under the notify domain. Similar issue?

Hi managed Twilio to work on sending a message and also to trigger an automation sending a text to the number via Webhook I think … let me know your setup and where is your problem

Thats great news. My issue is simply that I dont get the twilio_sms service showing up under the notify domain. No errors in the log. Just…

INFO (MainThread) [homeassistant.setup] Setup of domain twilio took 0.0 seconds.
INFO (MainThread) [homeassistant.components.notify] Setting up notify.twilio_sms

BTW, here is whats in my configuration.yaml

twilio:
   account_sid: -------------------------
   auth_token: ---------------------------

notify:
  - name: SMS
    platform: twilio_sms
    from_number: +++++++++++

Notify.yaml

- platform: twilio_sms
    name: twilio
    from_number: +1123456789

- platform: twilio_call
    name: twilio_call
    from_number: +123456789



Configuration.yaml

twilio:
  account_sid: ABDCYDUUEUDHHDHDHUDJD
  auth_token: 172DJDURJFJDJDJDJDJEDJJDJ

This is how is working for me, you also want to make sure you verify your phone number in Twilio