sending parameter to a home assistant TCMD switch
-
Hi,
I'm new here so please be gentleI sent up a simple curl command in TCMD (tigger cmd) .. litterally just 'curl' and set 'allow parameters'
I now want to be able to send a paratameter to this from a switch or action in home assistant so i can send http request / web hook
example parameter/webhook .. "http;//mywebkook.com/tokenblahblah"
example webhook trigger.. curl "http;//mywebkook.com/tokenblahblah" would activate a simple webhook .. checked and works fine from cmd line
any idea how to do this? Cheers everyone
-
Bot Replied with rest commands avalible but if there is a more simple way to pass the parameter at the switch level that would be far better unless i am missing something.
That way the parameter or webhook can be added directly into the switch or automation instead of more coding or TCMD commands for each webhook
-
@metablast, sorry, at this point in time the TRIGGERcmd Home Assistant integration only supports sending the on and off parameters with the trigger.
You mentioned "Bot Replied." What bot are you talking about?