Skip to content

Latest commit

 

History

History
98 lines (52 loc) · 4.13 KB

File metadata and controls

98 lines (52 loc) · 4.13 KB

Emoncms on the Raspberry PI - Ready-to-go image

1) Download the ready-to-go SD card image:


Latest: emoncmspiv5avr_02_05_13.zip (770.9MB)

Dropbox Download Mirror 1

  • with minimal log files turned on by default to reduce Raspberry Pi SD card wear

Older: emoncmspi image (1.1GB)

Dropbox Download Mirror 1

Dropbox Download Mirror 2

Ubuntu One Download Mirror 3

Torrent Download -please help seed, more info here

The image need a minimum SD card size of 4GB. On a 4GB card 1.5GB is free for data storage. If you're card it larger than 4GB you can expand the partition by running $ sudo raspi-config once your're up and running

2) Write image to an SD card (Linux)

Start by inserting your SD card, your distribution should mount it automatically so the first step is to unmount the SD card and make a note of the SD card device name, to view mounted disks and partitions run:

$ df -h

You should see something like this:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6             120G   90G   24G  79% /
none                  490M  700K  490M   1% /dev
none                  497M  1.7M  495M   1% /dev/shm
none                  497M  260K  497M   1% /var/run
none                  497M     0  497M   0% /var/lock
/dev/sdb1             3.7G  4.0K  3.7G   1% /media/sandisk

Unmount the SD card, change sdb to match your SD card drive:

$ umount /dev/sdb1 

If the card has more than one partition unmount that also:

$ umount /dev/sdb2

Locate the directory of your downloaded emoncms image in terminal and write it to an SD card using linux tool dd:

Warning: take care with running the following command that your pointing at the right drive! If you point at your computer drive you will loose a lot of data!
$ sudo dd bs=4M if=emoncmspiv5avr_19-05-13.img of=/dev/sdb 

or for the older image:

$ sudo dd bs=4M if=emoncmspiv5avr.img of=/dev/sdb

#### 3) Intall RFM12Pi Install RFM12Pi hardware expansion module onto the Pi's GPIO pins taking care to align up pin 1. **The RFM12Pi should be installed BEFORE the Pi is booted up.**

4) Power it up!

That's it all you need to do now is insert the SD card in the pi, connect ethernet and power it up! Access the PI via your internet browser in the same way as you would access your home router. You can usually find the ip address of the PI by looking at the DHCP table in your router. Alternatively, you can use a network scanning app such as Fing (android), iNet (Mac), iNet (iPhone) to scan your network. If you're running the latest image (19/04/13) the host name of the Pi is emoncmspi. You should be able to access the emoncms login on the Pi by browsing to

http://emoncmspi

ssh should also be possible using the host name

$ ssh pi@emoncmspi

Return to the OpenEnergyMonitor Guide to setup your sensor nodes and map the inputs in emoncms: http://openenergymonitor.org/emon/guide

The image

Note: Browser Compatibility

Chrome Ubuntu 25.0.1364.160 - developed with, works great.

Chrome Windows 25.0.1364.172 - quick check revealed no browser specific bugs.

Firefox Ubuntu 15.0.1 - no critical browser specific bugs, but movement in the dashboard editor is much less smooth than chrome.

Internet explorer 9 - works well with compatibility mode turned off. F12 Development tools -> browser mode: IE9. Some widgets such as the hot water cylinder do load later than the dial.

IE 8, 7 - not recommended, widgets and dashboard editor do not work due to no html5 canvas fix implemented but visualisations do work as these have a fix applied.