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

Ifttt, webhook, script.turn_on, automation.trigger .... nothing want to work!

$
0
0

@JB_Marchetti wrote:

Hello all !

like others I couldn’t launch a script from ifttt via webhook…
it’s starting to drive me crazy…

would I have missed a step ?

I have another ifttt/webhook call that works, I don’t understand why the script.turn_on service is not running.

my script works when I run it manually.
I tried too with an automation >> works in manual triggering, programmed, but not via ifttt call

ifttt:
url : https://xxx.duckdns.org/api/webhook/myapikeywebhookwichisok

post / json

body : {“action”: “call_service”, “service”: “script.turn_on”, “entity_id”: “script.myscript”}

automation:

- id: '00'
  alias: IFTTT Trigger
  hide_entity: false
  initial_state: 'true'
  trigger:
    platform: event
    event_type: ifttt_webhook_received
    event_data:
      action: call_service
  action:
    service_template: '{{ trigger.event.data.service }}'
    data_template:
      name: '{{ trigger.event.data.name }}'

help !!!

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95295

Trending Articles



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