And i want IFTTT to send the correct command to Domoticz.
How can i make this possible?
The code below wont work because Set%20Level expects a number.
If You say "change tv input chanel to $", then Make a web request:
Code: Select all
https://<username>:<password>@<URL>:<PORT>/json.htm?type=command¶m=switchlight&idx=<ID>&switchcmd=Set%20Level&level={{TextField}}
the above code works for changing the TV volume but not switching the input because the volume is a number but the input channel is text.
I know the numbers that are being used by the TV API but i want to tell my google home to to switch an input channel instead of a number.
Thanks in advance for the support.