Pi Dashboard.
A dashboard to monitor a raspberry pi.
- Access local network usage by device, by scraping the routers statistics page.
- Display capacity of connected drives
- Start and stop selected services
Setup Node (if not already on your Pi)
Skip this section if you have already setup NodeJS on your Pi. The process below is a little more involved than the simple apt-get install nodejs npm, but it allows you to get the latest node version available for the Pi.
$ sudo mkdir /opt/node
$ wget http://nodejs.org/dist/v0.10.4/node-v0.10.4-linux-arm-pi.tar.gz
$ tar xvzf node-v0.10.4-linux-arm-pi.tar.gz
$ sudo cp -r node-v0.10.2-linux-arm-pi/* /opt/node
Add the following lines to your bash profile:
$ nano ~/.bash_profile
PATH=$PATH:/opt/node/bin
export PATH
$ source ~/.bash_profile
$ node -v
$ npm -v
Install Git (if not already on your Pi)
$ sudo apt-get install git-core
Clone the repo and get it running
git clone https://github.com/andy-g/PiDashboard.git PiDashboard
cd PiDashboard
npm install
node app.js
UI
An example of the web front end.