I tried and tried to figure out how to use this action with a static command, and not pass a homeseer element and finally figured it out:
Open the action dialog
Add the following:
Action Type: Run a homeseer script with values from controls
Script: &hs.runex("script_name","function_name","parameter")
Script procedure: Ignore
When you close the dialog it will add "Main" to the script procedure, but it seems to be ignored.
You can also just run a command directly like in the web interface:
Script: &hs.speak "this is a test"
or
Script: &hs.sendir command
The confusing part is that you don't HAVE to select a script from the dropdown, and you don't have to pass a parameter.
Open the action dialog
Add the following:
Action Type: Run a homeseer script with values from controls
Script: &hs.runex("script_name","function_name","parameter")
Script procedure: Ignore
When you close the dialog it will add "Main" to the script procedure, but it seems to be ignored.
You can also just run a command directly like in the web interface:
Script: &hs.speak "this is a test"
or
Script: &hs.sendir command
The confusing part is that you don't HAVE to select a script from the dropdown, and you don't have to pass a parameter.
Comment