Something like this but with easy UI setup:
root@minopia:~# upscmd -l tecnoware
Instant commands supported on UPS [tecnoware]:
beeper.toggle - Toggle the UPS beeper
load.off - Turn off the load immediately
load.on - Turn on the load immediately
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
shutdown.stop - Stop a shutdown in progress
test.battery.start - Start a battery test
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test
root@minopia:~# upscmd tecnoware test.battery.start.quick
Username (root): admin
Password:
OK