Use Emonhub with RPICT
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
in file
sudo nano /etc/mosquitto/mosquitto.conf
Set persistence parameter as false
persistence false
mkdir data git clone https://github.com/openenergymonitor/emonhub.git && emonhub/installdata sudo service emonhub start