I’ve created an IFTTT webhooks applet to turn on a switch, but HA doesn’t seem to be responding. Details of the IFTTT webhook are:
HTTP POST URL: https://mydns.ddns.net:8123/api/services/switch/turn_on?api_password=myHApasswordWithoutQuotes
Content Type: application/json
Body: {"entity_id":"switch.onkyo_game" }
My HA config…in configuration.yaml:
switch:
- platform: broadlink
host: 192.168.1.87
mac: '34:EA:34:C7:87:FA'
switches:
tv_samsung:
friendly_name: "Samsung TV"
command_on: 'JgDSAJaSFjUWNRc1FhETExYRFREWERU2FTYUNxQTFhETExYRExMWNRcQExMWNRc1FhAWERY1FhAXNBc1FhEVERY1FjUXEBUABjeTlRY1FTcTNxQTFhETExYRExMWNRc1FjUWEBYRFhAUExYREzgWEBcQFDcWNRYRFhAWNRcQFjYVNhMTFhETOBQ3FBMWAAY0lpMWNRY1FzQXEBQSFxETExYQFDgTNxc1FhAXEBYRFhAWERY1FhAWERY1FjUVEhYRFTYVERY1FzQXERMTFjUWNRcPFwANBQAAAAAAAA=='
command_off: 'JgBGAJaSFjUXNRY1FhETExYRExMWERU2FDcUNxQTFhETExYRExMWERMTFhEUNxQ3FBMVEhM3FTcXNRY1FhETExY1FzUWERMADQUAAA=='
receiver_onkyo:
friendly_name: "Onkyo Receiver"
command_on: 'JgBgAAABHJETExM2FRMTExM3ExMTNxM2FDUTFRM2EzYTFRM2EzYVExMTExQSNxMUExQTExMUFBMTNhM3ExQTNxM2EzYTNxM2EwAEywABHkgVAAvXAAEeSRQAC9gAAR5IEwANBQAAAAAAAAAA=='
command_off: 'JgBgAAABHJEUEhQ1FRITExU1FBIVNRM2ExMUExM2FTUTExU0EzcVERU1EzYUNhQSFBIUExU0FRITExMUExMTNhM3FDUVEhM2EwAE7gABHUkTAAvZAAEdSRUAC9gAARxKEgANBQAAAAAAAAAA=='
onkyo_pc:
friendly_name: "Onkyo Computer"
command_on: 'JgBgAAABJZMTEhI3ExISEhM3EhITNxI3EjcTEhM2EzcSEhM2EzcSEhMSEhMSNxM2EzcTERMSEjcUNRQ2EhITEhMSEjcSNxMSEgAE8gABJUsSAAw+AAElShMADD4AASVKEwANBQAAAAAAAAAA=='
onkyo_game:
friendly_name: "Onkyo Chromecast"
command_on: 'JgBgAAABJpITEhM2ExITERQ1FBEUNRQ2EzYUERM2EzYUERM2FDYTERQ1FBEUNRQ2ExEUERMSExEUERM2FBETEhM2EzYUNRQ2EwAE8QABJkkUAAw9AAEmSRQADDwAASZKEwANBQAAAAAAAAAA'
customize.yaml:
script.watch_humax:
google_assistant: true
switch.tv_samsung:
google_assistant: true
switch.receiver_onkyo:
google_assistant: true
switch.onkyo_pc:
google_assistant: true
google_assistant_name: "Onkyo PC"
switch.onkyo_game:
google_assistant: true
google_assistant_name: "Onkyo Chromecast"
switch.onkyo_dvd:
google_assistant: true
google_assistant_name: "Onkyo DVD"
switch.onkyo_cblsat:
google_assistant: true
google_assistant_name: "Onkyo Humax"
switch.onkyo_fm:
google_assistant: true
google_assistant_name: "Onkyo FM"
switch.onkyo_am:
google_assistant: true
google_assistant_name: "Onkyo AM"
switch.onkyo_net:
google_assistant: true
google_assistant_name: "Onkyo Net"
'''
The IFTTT applet gives verbal confirmation that it's run, but HA does not respond, and nothing gets added to the HA log.
Any idea what I've done wrong?