I was hoping plugin "Custom Control Editor" would be what I was looking for But it did not work the way I thought it would. Instead I have found "System Command Editor", that does what I need partially.
So I am looking for a way to put a button on the control tab to execute a system command. I have that working in the "System" drop down menu but that's an inconvenient location for my needs. Is there some way to either have a copy of my customized "System" commands on the control tab or can I add a button to the control tab somehow manual ?
In the config.yaml the System Buttons show up ad follows:
system: actions: - action: Turn on the LED Light command: /usr/bin/wget -q -O /dev/null http://A.B.C.D/set.cmd?user=user+pass=pass+cmd=setpower+p61=1 name: LED On - action: Turn off the LED light command: /usr/bin/wget -q -O /dev/null http://A.B.C.D/set.cmd?user=user+pass=pass+cmd=setpower+p61=0 name: LED Off
So I would like to add the buttons "LED On" and "LED Off" with the system command called to the control tab. This is controlling a simple Network controlled power switch to switch the LED flood light above the printer on and off.
Hardware: R-Pi 3B, Revison: 2a02082