{"repo":"PiSugar/pisugar-power-manager-rs","free":true,"listed":false,"github":"https://github.com/PiSugar/pisugar-power-manager-rs","clone":"git clone https://github.com/PiSugar/pisugar-power-manager-rs.git","description":"PiSugar Power Manger in rust language","language":"Rust","stars":196,"topics":["rust","raspberry-pi","rpi-zero-w","pisugar","pisugar-battery"],"license":"GPL-3.0","category":"self-hosted-apps","readme_excerpt":"pisugar-power-manager-rs Management program for PiSugar 2/3 PiSugar power manager in rust language. Python api: https://github.com/PiSugar/pisugar-server-py Install Uninstall sudo dpkg --purge pisugar-server sudo dpkg --purge pisugar-poweroff These packages are hosted in QiNiu CDN (For zero/zerowh/pi3/pi3b/pi4 with 32bit os, you might need to download and install packages manually in 64bit os) wget -O pisugar-power-manager.sh https://cdn.pisugar.com/release/pisugar-power-manager.sh bash pisugar-power-manager.sh -c release Install script usage Install pisugar power manager tools. USAGE: pisugar-power-manager.sh [OPTIONS] OPTIONS: -h --help Print this usage. -v --version Install a specified version, default: 1.4.0 -c --channel Choose nightly or release channel, default: release For more details, see https://github.com/PiSugar/pisugar-power-manager-rs NOTE In centos/redhat like linux, RPM could not ask question in interactive mode, PiSugar model MUST be configured manually ( /etc/default/pisugar- ). Available models are: PiSugar 2 (4-LEDs) PiSugar 2 (2-LEDs) PiSugar 2 Pro PiSugar 3 NOTE In pi-star, you need to add some iptables rules to allow access to web UI, see http://wiki.pistar.uk/Adding custom firewall rules to Pi-Star echo 'iptables -A INPUT -p tcp --dport 8421 -j ACCEPT' sudo tee -a /root/ipv4.fw echo 'iptables -A INPUT -p tcp --dport 8421 -j ACCEPT' sudo tee -a /root/ipv6.fw sudo ipstar-firewall Replace model in /etc/default/pisugar-server sed -e \"s --model '. ' --model","default_branch":null,"files":null,"tree":[],"storefront":"/r/PiSugar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PiSugar/pisugar-power-manager-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}