Use Emonhub with RPICT

From lechacal
Revision as of 16:28, 16 October 2017 by Administrator (talk | contribs)
Jump to navigation Jump to search


Overview

This document will demonstrate how prepare the rasberrypi to use Emonhub with the RPICT.

Emonhub will be used to forward the data from the RPICT series board and forward them to Emoncms.

Install Emoncms

For this we would recommend following the steps indicated on the emonhub github page.

We have put a list of the command to executre below:

wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key
cd /etc/apt/sources.list.d/
sudo wget http://repo.mosquitto.org/debian/mosquitto-jessie.list
sudo apt-get update
sudo apt-get install -y mosquitto python-serial python-configobj
sudo easy_install -U pip
sudo pip install paho-mqtt
sudo pip install pydispatcher

Open my modify this file below:

sudo nano /etc/mosquitto/mosquitto.conf

Set persistence parameter as false

persistence false
cd
mkdir data
git clone https://github.com/openenergymonitor/emonhub.git && emonhub/installdata
sudo service emonhub start