Changes

Jump to navigation Jump to search

UPS3

1,981 bytes added, 17:26, 18 May 2021
*[[UPS3 power off guide]]
*The charge level indicators (RGB LED) is controlled by program, script please refer to Github: https://github.com/geekworm-com/ups3
 
<pre>
git clone https://github.com/geekworm-com/ups3.git
cd ups3
chmod +x *.sh *.py
sudo ./install.sh
 
┌────────────────────┤ UPS V3 Setting ├────────────────────┐
│ Select the appropriate options: │
│ │
│ 1 UPS GPIO [ 18 ] │
│ 2 LED Brightness [ 10% ] │
│ 3 Poweoff power [ <5% ] │
│ 4 Auto run script [ enabled ] │
│ 5 Safe shutdown [ enabled ] │
│ 6 Apply Settings │
│ 7 Remove │
│ 8 Exit │
│ │
│ │
│ │
│ │
│ <Ok> │
│ │
└──────────────────────────────────────────────────────────┘
 
View Status:
 
sudo python status.py or sudo python status.py -t
 
View logs:
 
cat /var/log/smartups.log
</pre>
==FAQ==

Navigation menu