Multiple Input Variables exec binding

Hello,

ich use the exec binding to call a python3 script. With %2$s I use one variable (number) as input for the python script. Now I need 3 Input Variables. How can I do this.
With one Variable my thing file looks like:

Thing exec:command:outdoorstation_watercontent "Wassergehalt" [command="python /etc/openhab2/scripts/outdoorstation.py %2$s", transform="REGEX((.*?))", autorun=true]

This is my current Input command in the rules file

Outdoorstation_Watercontent_Args.sendCommand(Outdoorstation_Temperature.state.toString)

Thank you for your help

Daniel

Put your 3 variable in a String (I advise a json string) and then break it down in your script

1 Like