Configure RPICT for EmonCMS: Difference between revisions

From lechacal
Jump to navigation Jump to search
(Created page with " ==Overview== This page only applies for the following boards: RPICT7V1 Version 2 RPICT4V3 Version 2 RPICT8 All RPICT boards can be configured to output the data in the Emon...")
 
No edit summary
Line 35: Line 35:
  $ wget http://lechacal.com/RPICT/config/B2/rpict4v3.conf
  $ wget http://lechacal.com/RPICT/config/B2/rpict4v3.conf
  $ ./lcl-rpict-config.py -w rpict4v3.conf
  $ ./lcl-rpict-config.py -w rpict4v3.conf
===-3-===
Edit the file using nano. For example:
$ nano rpict7v1.conf
modify the line that says
format = 0
into
format = 1
Save and exit the file
===-4-===
Get the latest lcl utility program.
$ wget lechacal.com/RPICT/lcl-rpict-config.py.zip
$ unzip lcl-rpict-config.py.zip

Revision as of 19:50, 23 September 2017

Overview

This page only applies for the following boards: RPICT7V1 Version 2 RPICT4V3 Version 2 RPICT8

All RPICT boards can be configured to output the data in the Emoncms format.

Preliminaries

The Raspberrypi must use the software image provided by Emoncms. Refer to Emoncms website to find out which SD card image to use.

Steps

-1-

Before we start any work we will have to close down emonhub so we can have free access to the serial port.

$ /etc/init.d/emonhub stop

-2-

Grab the configuration that you need for your board using one of the command below. Note the example below if for sketch version 2.5 (replace B2 with B1 in the link if using sketch version 2.4)

RPICT7V1

$ wget http://lechacal.com/RPICT/config/B2/rpict7v1.conf
$ ./lcl-rpict-config.py -w rpict7v1.conf

RPICT8

$ wget http://lechacal.com/RPICT/config/B2/rpict8.conf
$ ./lcl-rpict-config.py -w rpict8.conf

RPICT4V3

$ wget http://lechacal.com/RPICT/config/B2/rpict4v3.conf
$ ./lcl-rpict-config.py -w rpict4v3.conf

-3-

Edit the file using nano. For example:

$ nano rpict7v1.conf

modify the line that says

format = 0

into

format = 1

Save and exit the file

-4-

Get the latest lcl utility program.

$ wget lechacal.com/RPICT/lcl-rpict-config.py.zip
$ unzip lcl-rpict-config.py.zip