Page 1 of 1

passing arguments to On Action script

Posted: Friday 27 September 2019 19:03
by muzzol
Hi,


i got a script configured for a switch (Push On button type) and I would like to pass the username as parameter so I can know who activate it.

something like

Code: Select all

script://door.sh $USERNAME

is that possible?

Re: passing arguments to On Action script

Posted: Saturday 25 January 2020 20:00
by muzzol
sorry to resurface this thread but I really need to know if this can be achieved with domoticz.

I need a script to process username pushing the button:

Code: Select all

On Action: script://door.sh $USERNAME
any hint about how to do that?