Pironman 5
Pironman 5 case
Quick Links:
- About Pironman5 - Links - Installation - Update - Troubleshooting - Compatible Systems - Ubuntu 24.04 server eth0 and wifi not work - Debug - About SunFounder - Contact usAbout Pironman5
Links
- SunFounder Online Store
- Documentation
Installation
curl -sSL "https://raw.githubusercontent.com/sunfounder/pironman5/v1/install.sh" | sudo bash
To install PiPower5 as a plugin alongside Pironman 5, append --pipower5:
curl -sSL "https://raw.githubusercontent.com/sunfounder/pironman5/v1/install.sh" | sudo bash -s -- --pipower5
For users in mainland China (Gitee mirror): append --cn to download the installer and all resources from Gitee instead of GitHub:
>>> curl -sSL "https://gitee.com/sunfounder/pironman5/raw/v1/install.sh" | sudo bash -s -- --cn
> With PiPower5 plugin:
>>> curl -sSL "https://gitee.com/sunfounder/pironman5/raw/v1/install.sh" | sudo bash -s -- --cn --pipower5
If your system does not support piping directly into bash, download the script first and then run it:
>> sudo bash install.sh >> curl -sSL "https://raw.githubusercontent.com/sunfounder/pironman5/v1/install.sh" -o install.sh
> With PiPower5 plugin:
>> sudo bash install.sh --pipower5 >> curl -sSL "https://raw.githubusercontent.com/sunfounder/pironman5/v1/install.sh" -o install.sh
For Pro Max: The Pro Max includes a 4.3" touchscreen and can auto-launch the dashboard on boot. We recommend switching the touchscreen mode from the default Mouse Emulation to Multitouch — this enables phone/tablet-like touch gestures and makes the dashboard much easier to use.
> 1. Raspberry Pi Icon >> Preferences >> Control Centre
2. Select Screen tab
3. Long press / right click on DSI-2
4. Select Touchscreen >> Mode >> Multitouch
Update
Troubleshooting
If InfluxDB (history / dashboard data logging) stops working after an update, run the built-in doctor:
sudo pironman5 doctor # report only
sudo pironman5 doctor --fix # report and repair
It checks and repairs the problems that are usually left behind by upgrading an old 1.2.x installation:
- duplicate TOML keys in
/etc/influxdb/influxdb.conf-influxdrefuses to start withKey 'http.log-enabled' has already been defined /var/lib/influxdbnot owned by theinfluxdbuser -influxdb.servicedies withpermission deniedinfluxdb.service/pironman5.servicenot enabled or not running/opt/pironman5and/var/log/pironman5ownership
curl -sSL "https://raw.githubusercontent.com/sunfounder/pironman5/v1/install.sh" | sudo bash
Upgrading an old 1.2.x installation also leaves its history behind: 1.2.x stored it in the InfluxDB database pironman5, while this version uses one database per product (pironman5-max, pironman5-mini, ...). Copy it over with:
sudo pironman5 migrate-history # report what can be copied
sudo pironman5 migrate-history --yes # copy it
It copies only the points inside the configured retention window and older than the oldest point already in the target database (so newer data is never overwritten), never deletes anything, and runs automatically at the end of the installation (--skip-history-migration opts out).
Compatible Systems
Operate Systems that passed the test on the Raspberry Pi 5:
Operate System | Release Date | Compatible :--- | :---: | :---: Raspberry Pi OS Desktop - bookworm (64 bit) | 2024-11-19 | ✅ Raspberry Pi OS Desktop - bookworm (32 bit) | 2024-11-19 | ✅ Raspberry Pi OS Full - bookworm (64 bit) | 2024-11-19 | ✅ Raspberry Pi OS Full - bookworm (32 bit) | 2024-11-19 | ✅ Raspberry Pi OS lite - bookworm (64 bit) | 2024-11-19 | ✅ Raspberry Pi OS lite - bookworm (64 bit) | 2024-11-19 | ✅ Ubuntu Desktop 24.04.1 LTS (64 bit) | 2024-08-29 | ✅ Ubuntu Server 24.04.1 LTS (64 bit) | 2024-10-10 | ✅ Ubuntu Desktop 24.10 (64 bit) | 2024-10-10 | ✅ Ubuntu Server 24.10 (64 bit) | 2024-08-29 | ✅ Kali Linux | 2024-08-27 | ✅ Home Assistant OS 14.0 | 2024-12-03 | ✅ Homebridge bookworm (64 bit) | 2024-05-03 | ✅ Homebridge bookworm (64 bit) | 2024-05-03 | ✅ Batocera Linux | 2024-07-31 | ✅ Debian Trixie (64 bit) | 2026-09-14 | ✅
Ubuntu 24.04 server eth0 and wifi not work
https://www.reddit.com/r/Ubuntu/comments/1d0s8v5/ubuntu_2404_server_on_my_raspberry_pi_5_and_eth0/
Debug
Clone the dependency you want to debug or edit
git clone https://github.com/sunfounder/pironman5.git
git clone https://github.com/sunfounder/pm_dashboard.git
git clone https://github.com/sunfounder/pm_auto.git
git clone https://github.com/sunfounder/sf_rpi_status.git
Make adjustments, and manually install the package
# install from folder
sudo /opt/pironman5/venv/bin/pip3 uninstall pironman5 -y && sudo /opt/pironman5/venv/bin/pip3 install ~/pironman5 --no-build-isolation && sudo chown -R pironman5:pironman5 /opt/pironman5
sudo /opt/pironman5/venv/bin/pip3 uninstall pm_dashboard -y && sudo /opt/pironman5/venv/bin/pip3 install ~/pm_dashboard --no-build-isolation && sudo chown -R pironman5:pironman5 /opt/pironman5
sudo /opt/pironman5/venv/bin/pip3 uninstall pm_auto -y && sudo /opt/pironman5/venv/bin/pip3 install ~/pm_auto --no-build-isolation && sudo chown -R pironman5:pironman5 /opt/pironman5
sudo /opt/pironman5/venv/bin/pip3 uninstall sf_rpi_status -y && sudo /opt/pironman5/venv/bin/pip3 install ~/sf_rpi_status --no-build-isolation && sudo chown -R pironman5:pironman5 /opt/pironman5
sudo /opt/pironman5/venv/bin/pip3 uninstall pipower5 -y && sudo /opt/pironman5/venv/bin/pip3 install ~/pipower5 --no-build-isolation && sudo chown -R pironman5:pironman5 /opt/pironman5
install from github repo
sudo /opt/pironman5/venv/bin/pip3 uninstall sf_rpi_status -y && sudo /opt/pironman5/venv/bin/pip3 install git+https://github.com/sunfounder/sf_rpi_status.git --no-build-isolation && sudo chown -R pironman5:pironman5 /opt/pironman5
sudo /opt/pironman5/venv/bin/pip3 uninstall pipower5 -y && sudo /opt/pironman5/venv/bin/pip3 install git+https://github.com/sunfounder/pipower5.git --no-build-isolation && sudo chown -R pironman5:pironman5 /opt/pironman5
sudo /opt/pironman5/venv/bin/pip3 uninstall pm_auto -y && sudo /opt/pironman5/venv/bin/pip3 install git+https://github.com/sunfounder/[email protected] --no-build-isolation && sudo chown -R pironman5:pironman5 /opt/pironman5
sudo /opt/pironman5/venv/bin/pip3 uninstall pm_dashboard -y && sudo /opt/pironman5/venv/bin/pip3 install git+https://github.com/sunfounder/[email protected] --no-build-isolation && sudo chown -R pironman5:pironman5 /opt/pironman5
Start/stop the service for debug
sudo systemctl stop pironman5.service
sudo systemctl start pironman5.service
sudo systemctl restart pironman5.service
sudo -u pironman5 /opt/pironman5/venv/bin/python3
journalctl -xefu pironman5.service
sudo systemctl restart pironman5.service && journalctl -xefu pironman5.service
About SunFounder
SunFounder is a company focused on STEAM education with products like open source robots, development boards, STEAM kit, modules, tools and other smart devices distributed globally. In SunFounder, we strive to help elementary and middle school students as well as hobbyists, through STEAM education, strengthen their hands-on practices and problem-solving abilities. In this way, we hope to disseminate knowledge and provide skill training in a full-of-joy way, thus fostering your interest in programming and making, and exposing you to a fascinating world of science and engineering. To embrace the future of artificial intelligence, it is urgent and meaningful to learn abundant STEAM knowledge.
Contact us
website: www.sunfounder.com
E-mail: [email protected]