I have connected IFTTT with Google Assistant and Home Assistant and would like to set a radio alarm timer at a specific time with the IFTTT trigger “Say a phrase with a number”.
I have created a new IFTTT applet with the phrase “Set radio alarm to # clock” and use as URL https://myname.dns.com/api/services/script/radiowecker?api_password=XXX with POST method {“entity_id”: “script.radioalarm”}
The script.radioalarm looks currently like this:
radiowecker:
alias: 'Radiowecker stellen und abspielen per IFTTT'
sequence:
- service: media_player.play_media
data_template:
entity_id: media_player.wohnung
media_content_id: 'http://fluxfm.hoerradar.de/fluxfmberlin-live-aac-mq?sABC=59s45n23%230%23no8617362n29q2o435p17n54928n16s5%23gharva&amsparams=playerid:tunein;skey:1509186083'
media_content_type: 'audio/mp4'
automations.yaml:
- alias: "Radiowecker stellen"
trigger:
- platform: time
at: "{{uhrzeit}}"
action:
service: script.radiowecker
The missing things are another string for the time in IFTTT (I can add that as an “ingredient”) and the corresponding part in Home Assistant. How can I finalze this project?
Thanks in advance!