[Nut-upsuser] cannot update battery.date value of APC ups battery

2013-06-07 Thread Vieri
Hi, I'm running this command: # upsrw -s battery.date=2013Jun7 -u ups-mon-IT IT-APC-BOTTOMRIGHT@127.0.0.1 Password: OK but I'm getting this listing: # upsc IT-APC-BOTTOMRIGHT@127.0.0.1 battery.alarm.threshold: 0 battery.charge: 100.0 battery.charge.restart: 15 battery.date: 01/10/06

Re: [Nut-upsuser] cannot update battery.date value of APC ups battery

2013-06-07 Thread Charles Lepple
On Jun 7, 2013, at 4:43 AM, Vieri wrote: # upsrw -s battery.date=2013Jun7 -u ups-mon-IT IT-APC-BOTTOMRIGHT@127.0.0.1 Have you tried using the DD/MM/YY format? On APC UPS models with USB ports, the date is stored as a packed integer, so if the firmware does support changing the date, it