Open InoSiX opened 2 years ago
What command buttons did you have in mind?
I am not sure if this is possible on your end, but I see the NUT command "upscmd -l nameOfUPS" lists out available commands. If the available commands listed in that could be automatically parsed and presented to the user from the config screen, that would probably save you the most effort. Not sure if that is possible, just a thought.
Otherwise commands like: beeper.disable / enable shutdown.return / stayoff / stop test.battery.start deep / quick test.battery.stop
These are the elements that show up for me when I use the upscmd -l. Obviously ymmv. If the -l command can be parsed, -l includes the variable name and a description, making the config screen a breeze. Simply allow the user to checkbox the commands they want and conform the UI accordingly.
As for additional items that can be added to the UI, things like DEVICE MODEL and SERIAL, VOLTAGES (IN/OUT), etc..
Need to add the value of the ups.load parameter
Need to add the value of the ups.load parameter
How is that related to this ticket?
How is that related to this ticket?
That's about it
As for additional items that can be added to the UI, things like DEVICE MODEL and SERIAL, VOLTAGES (IN/OUT), etc..
I see. 👍
Maybe the Actual LOAD wold be also a good Information, i see there is the Runtime Info but also the actual LOAD would help to see how much Power the Printer is actually demanding.
Being new to NUT, I see there is a hole slew of commands available. I'm intrigued and want to investigate further. I would also love to be able to select from different parameters to add to the drop down.
Overall this is one of my new favorite plugins. Thanks for the contribution.