Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96121

IFTTT to HA

$
0
0

@Kay wrote:

I have been using HA for about a month, utilizing youtube videos and other forum post to help me along the way. Im running 0.103.5 on a rpi b3+. I have hit a slight wall as to get a webhook to trigger either a single device or run a script.

I have created a webhook in IFTTT to trigger a script, I can see that the applet ran but nothing happens in HA.

Could somebody please help me as im stuck.

webhook setup

https://xxx.duckdns.org/api/webhook/really.long.key
application/json
{“entity_id”: “script.1645830544211”}

HA setup

automations.ymal

- id: ifttt_automation
  alias: IFTTT Automation
  trigger:
    platform: event
    event_type: ifttt_webhook_received
    event_data:
      action: call_service
  action:
    service_template: '{{ trigger.event.data.service }}'
    data_template:
      entity_id: '{{ trigger.event.data.entity_id }}'
      state: '{{ trigger.event.data.state }}'

let me know if more info is needed

Posts: 18

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>