PiStatsLive is a monitoring server for Raspberry Pi devices built with
Phoenix LiveView.
- Displays temperature, CPU/memory/disk usage, and system uptime
- Charts show previous 30 seconds of activity
- Process monitor shows non-idle non-system processes
- Responsive styling for mobile devices
PiStatsLive was designed and tested on a Raspberry Pi 4B running Raspbian 10.
It will likely work on other models, as long as the OS is Raspbian.
To start the server:
- Ensure that your system has Phoenix and its dependencies installed (Note: A database is NOT required to run this server)
- Install app dependencies with
mix deps.get
- Install Node.js dependencies with
npm install
inside theassets
directory - Start Phoenix endpoint with
mix phx.server
Now you can visit http://[raspberry pi local IP]:4000/stats from any device on the local network.