Arnaud Quette
2011-Aug-26 09:43 UTC
[Nut-upsdev] [RFC] add device.country to NUT variables
Hi there, while doing some housekeeping and improvements on usbhid-ups, I realized that the country information is needed for some advanced features processing, like Eco control and nominal values enums. This would also be interesting to expose to the user. I thus propose to add the following: |=======================================================================| Name | Description | Example value | device.country | Device specific country or region | Europe The current acceptable values would be: - US, - Europe, - Australia Any comments? cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110826/fb8330fc/attachment.html>
Arnaud Quette
2011-Aug-29 14:16 UTC
[Nut-upsdev] [RFC] add device.country to NUT variables
2011/8/26 Arnaud Quette <aquette.dev at gmail.com>> Hi there, > > while doing some housekeeping and improvements on usbhid-ups, I realized > that the country information is needed for some advanced features > processing, like Eco control and nominal values enums. > This would also be interesting to expose to the user. > > I thus propose to add the following: > > |=======================================================================> | Name | Description | Example value > | device.country | Device specific country or region | Europe > > The current acceptable values would be: > - US, > - Europe, > - Australia > > Any comments? >since I wasn't sure of the actual usefulness of this data, I've changed my mind and made an internal variable (in commit r3164) to have this data underhand. cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110829/07502b00/attachment.html>