Install Smart UPS Service.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: rpi-ws281x in /usr/local/lib/python3.9/dist-packages (4.3.4)
Created symlink /etc/systemd/system/sysinit.target.wants/smartups.service -> /etc/systemd/system/smartups.service.
Start service now.
Service install failed, clean now.
Remove Smart UPS Service.
Removed /etc/systemd/system/sysinit.target.wants/smartups.service.
Service remove complete.
Failed to get unit file state for smartups.service: No such file or directory
sudo systemctl status smartups.service
Warning: The unit file, source configuration file or drop-ins of smartups.service changed on disk. Run 'systemctl daemon-reload' to reload units.
smartups.service - ugeek smart ups v3
Loaded: loaded (/etc/systemd/system/smartups.service; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2022-10-23 22:18:12 EEST; 3min 21s ago
Process: 3076 ExecStart=/usr/bin/sudo /usr/bin/python3 /usr/local/bin/smartups.py (code=exited, status=216/GROUP)
Main PID: 3076 (code=exited, status=216/GROUP)
CPU: 7ms
loka 23 22:18:12 raspberrypi systemd[1]: smartups.service: Scheduled restart job, restart counter is at 6.
loka 23 22:18:12 raspberrypi systemd[1]: Stopped ugeek smart ups v3.
loka 23 22:18:12 raspberrypi systemd[1]: smartups.service: Start request repeated too quickly.
loka 23 22:18:12 raspberrypi systemd[1]: smartups.service: Failed with result 'exit-code'.
loka 23 22:18:12 raspberrypi systemd[1]: Failed to start ugeek smart ups v3.
sudo ./install.sh
sudo systemctl status smartups.service
loka 23 22:18:12 raspberrypi systemd[1]: smartups.service: Scheduled restart job, restart counter is at 6. loka 23 22:18:12 raspberrypi systemd[1]: Stopped ugeek smart ups v3. loka 23 22:18:12 raspberrypi systemd[1]: smartups.service: Start request repeated too quickly. loka 23 22:18:12 raspberrypi systemd[1]: smartups.service: Failed with result 'exit-code'. loka 23 22:18:12 raspberrypi systemd[1]: Failed to start ugeek smart ups v3.