Hello…
In “Shell Execution Protocol” document:
https://github.com/openremote/Documentation/wiki/Shell-Execution
Quote:
"If you leave the “RegularExpression” field empty all sensors given
in the “Sensor names” field will be populated with the same result
which is the return value of the executed command."
My “Shell Execution Protocol” command:
Name: Request Status
Protocol: Shell execution protocol
Path: /home/pi/openremote/bin/stat.sh
Command parameter:
Polling interval: 5s
RegularExpression:
Sensor names: Last;Current;Next
My Sensors (three identical, named Last, Current, Next):
Name: Last
Command: Request Status
Type: custom
Custom state items:
Panel on iPod Touch has three Label widgets with sensors named:
“Last”, “Current”, and “Next”
Shell script in file “stat.sh”:
#!/bin/sh
echo “StatusResult”