emonBase not communicating with emonTx

Hi!

Problem 1

I've gotten my hands on an emonBase and a emonTx for a school project. As I understand it, it should be pretty much plug and play. However the emonBase card doesn't seem to talk to the emonTx.

I've got the image for the OS from this site and emonTx blinks red every 10 seconds or so. The led on the emonBase is dead though. When I run the debugging tool I get some kind of package, now and then, but it seems random and not in a continuous stream.

Example of package:
10 0 0 0 0 0 0 0 0 201 95 0 0

In emonhub.log view I get the following message:

2016-02-12 11:28:01,100 WARNING MainThread Device communication error

I'm super new to this and have looked around in the documentation, but haven't found anything that gotten me out of this trouble. Can anyone point me in the right direction?

Problem 2

Later on I want to run a script (preferably python) on the raspberry, that sends the data collected to a MySQL database (The project I'm working on is trying to build a large dataset from many different energy collecting tools). As I understand it, the data collected is stored on the raspberry pi? Is it possible to access this data. If so, how?

Hardware:

emonTx v3
emonBase (RFM12Pi)
Raspberry Pi 2 Model B
 

Best regards,

Mikael

glyn.hudson's picture

Re: emonBase not communicating with emonTx

I would recommend you use our pre built image

http://openenergymonitor.org/emon/node/12212

And follow setup guide to log data to emoncms running locally on raspberrypi 

http://openenergymonitor.org/emon/modules/emonpi

xfonk's picture

Re: emonBase not communicating with emonTx

Hi!

It seems that I just an old version of the image. Using the new you provided the emonBase led is lit green and the emonTx still blinks red every 10 sec or so. However, following the guide, the emon-page accessed via the IP of the PI seems to be lacking some option. The guide tells me click on the tab Nodes, which is no where to be found. The imgur link is a screenshot of the browser and the emon-page.

http://imgur.com/D1pny8R

What am I missing? :(

 

Best regards,

Mikael

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.