High-performance, local-first dashboard & monitor for Phocos Any-Grid on Raspberry Pi.
Live telemetry, battery status, energy history, and CSV export in one lightning-fast local web app. Designed as a Progressive Web App (PWA) compatible with both desktop and mobile devices.
- 📊 Real-time Monitoring: Instant live telemetry for voltage, load, and battery metrics.
- 🔋 Battery Management: Precise battery status tracking.
- 📈 Historical Data: Comprehensive energy history over time.
- ⬇️ CSV Exports: Easily export your data for external analysis.
- 🏠 Local First: No reliance on cloud services. Your data stays entirely on your machine.
- ♿ Fully Accessible: Built with accessibility (a11y) in mind, adhering to modern standards for an inclusive UI.
You need:
- A Raspberry Pi with Docker and Docker Compose installed.
- The Phocos USB / RS232 adapter connected to the Pi.
- Terminal access to the Raspberry Pi.
Find the exact path of your connected adapter:
ls -l /dev/serial/by-id/Clone the repository and prepare your config file:
git clone https://github.com/adrixair/PiPhocos.git
cd PiPhocos
mkdir -p data
cp templates/config.yml data/config.ymlEdit data/config.yml and explicitly update the core attributes:
phocos.serial_portdevice.start_dateprices.price_per_grid_kwhprices.revenue_per_fed_in_kwh
Start the application using Docker Compose, passing the adapter path:
export PIPHOCOS_SERIAL_PORT=/dev/serial/by-id/your-adapter
docker compose up --build -d piphocosOpen your favorite browser and head to:
http://localhost:5000http://<your-raspberry-pi-ip>:5000
This project is specifically tailored for Off-Grid Solar architectures using the Phocos Any-Grid series. It empowers solar enthusiasts, DIY engineers, and homeowners to monitor their energy infrastructure intuitively and privately.
Keywords & Discoverability: Phocos Any-Grid PSW-H, Solar Inverter Dashboard, Off-Grid Solar Monitor, Raspberry Pi Solar Logger, MPPT Tracker Data, DIY Solar Telemetry, Battery Voltage Monitor, RS232 Inverter Communication, Local Solar Smart Home Framework.
- Raspberry Pi setup guide:
doc/install_raspberrypi.md - Config template:
templates/config.yml - Communication Protocol API:
Any-Grid_PSW-H_RS-232_Query_Protocol_2019-02-21.pdf
This project was originally a fork of the Sunalyzer project by Boris Brock (VanKurt). The initial codebase descends from his work, while this repository has been heavily narrowed, optimized, and standalone-refactored into a sleek Phocos Any-Grid monitoring path for Raspberry Pi. We thank Boris for the groundwork that made this project possible.

