Use Emonhub with RPICT: Difference between revisions

From lechacal
Jump to navigation Jump to search
(Created page with " =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 an...")
 
No edit summary
Line 9: Line 9:
=Install Emoncms=
=Install Emoncms=


For this we would recommend following the steps indicated on the [https://github.com/openenergymonitor/emonhub emohub github page].
For this we would recommend following the steps indicated on the [https://github.com/openenergymonitor/emonhub 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

Revision as of 16:27, 16 October 2017


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