Note: This documentation refers to Gravio 3.8 or older. For Gravio 4 or newer, please refer to the respective documentation on .

The RunScript component allows you to run OS standard scripts.
If Gravio Server is running on Windows it can run batch files, Linux, Raspbian and macOS can run shell scripts.
If it is not Windows, you need to give execute rights to the uploaded file. The uploaded file is placed in <Gravio data folder>/action/scripts/, so

On Windows: C:\ProgramData\Gravio\action\scripts
On Mac OS: /Library/Application Support/Gravio/action/scripts
On Linux: /var/opt/gravio/action/scripts/

You can also pass parameters to the scripts, for example, to pass sensor values.

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.