Access to the WMT-Webserver for all of the above activities may be obtained by following the guidance given at viewtopic.php?f=38&t=245 and related Topics. Once logged in to the Pi, then most operations are straightforward and may be carried out as if the Pi was local.
In particular, it is possible to monitor the status of the UPS Pico and the level of charge in the battery as follows:
Code: Select all
wuser@WMT-Webserver:~ $ cd /home/PiModules/pico_status
wuser@WMT-Webserver:/home/pi/PiModules/pico_status $ sudo python pico_status_hv3.0.py
[sudo] password for wuser:
***********************************
UPS PIco HV3.0A Status
***********************************
UPS PIco Firmware.....: e2
UPS PIco Bootloader...: 53
UPS PIco PCB Version..: 41
UPS PIco BAT Version..: LiPO (ASCII: S)
UPS PIco BAT Runtime..: 2 MIN
UPS PIco r232 State...: OFF
Powering Mode.........: RPi POWERED
BAT Percentage........: 120.0 %
BAT Voltage...........: 4.3 V
RPi Voltage...........: 5.0 V
NTC1 Temperature......: 37 C
TO-92 Temperature.....: 08 C
Extended Voltage......: 0.0 V
A/D2 Voltage..........: 0.0 V
PIco FAN Mode.........: ERROR
PIco FAN State........: OFF
PIco FAN Speed........: 320.0 RPM
***********************************
Powered by PiCo
***********************************