Page 1 of 1

Triggering an http request

Posted: Mon Jan 23, 2023 12:30 am
by pandas
Is there a way to trigger an http request using a dimmer or other means?

Thanks in advance

EDIT:

Answering my own question, creating a script (functions > new script) and using systemcommand seems to be a good way to do this

Re: Triggering an http request

Posted: Mon Jan 23, 2023 11:27 am
by Yestalgia
Neat - can you post the script?

Re: Triggering an http request

Posted: Mon Jan 23, 2023 3:44 pm
by pandas
So far I'm using a QLC+ script function to shell out to bash scripts using "system command"

systemcommand:bash arg:/my/path/myscript.sh arg:myarg

To send an http request I'm using a bash script running curl command(s)