passing arguments to On Action script

All kinds of 'OS' scripts

Moderator: leecollings

Post Reply
muzzol
Posts: 3
Joined: Tuesday 18 September 2018 15:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

passing arguments to On Action script

Post 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?
muzzol
Posts: 3
Joined: Tuesday 18 September 2018 15:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: passing arguments to On Action script

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest