HomeSolutionsFrameworkOverviewUser GuideDownloadRaspberry PiARM 9javadocOpenIEC61850j60870jDLMSjMBusj62056jASN1jSMLjOSITransportFAQPublicationsNewsletterContact
Partner site:
OGEMA Alliance

Running OpenMUC on the Raspberry Pi

You can build your own cheap and energy efficient monitoring system by using the popular Raspberry Pi board. More about the Raspberry Pi can be found here: http://en.wikipedia.org/wiki/Raspberry_Pi .

OpenMUC quick start with the default Raspberry Pi SD card image

You can start most easily if you use the default SD card image with Debian Linux 6.0 pre-installed. The following guide assumes that you have a decent knowledge of Linux.

Note: The default image has DHCP activated for the Ethernet interface

If you need to configure a static IP

  • Mount the SD card in your computer to <mount_point>
  • Edit <mount_point>/etc/network/interfaces, e.g.: 

auto lo

iface lo inet loopback
# iface eth0 inet dhcp

iface eth0 inet static
        address 192.168.2.101
        netmask 255.255.255.0

Then you can login via SSH using the default access credentials:

  • User: pi
  • Password: raspberry

Install openjdk and rxtx:

  • Make sure you have internet access (if you have set a static IP address you also need to specify the default gateway)
  • Execute the following commands:

sudo apt-get update
sudo apt-get install openjdk-6-jre
sudo apt-get install librxtx-java

Download OpenMUC at your workstation (PC) to <openmuc_install_directory>

Build the sample system (you need to have gradle installed):

cd <openmuc_install_directory>
gradle build

Copy openmic to the Raspberry Pi:

cd ..
tar cz openmuc > openmuc.tgz
scp openmuc.tgz pi@192.168.2.101:

Now you can run OpenMUC!

  • Login to the Raspberry Pi
  • Extract the openmuc.tgz archive somewhere in the filesystem
  • Enter the sample directory
  • Start OpenMUC with 

 

./run-openmuc.sh 

You now should be able to access the OpenMUC web interface if you type the following URL into your browser: http://192.168.2.101:8888/openmuc