emonHub RX frame node id outside scope

Hi all,

I setup my arduino and CT by following this guide:

http://openenergymonitor.org/emon/buildingblocks/how-to-build-an-arduino...

I hooked everything up and am getting values, however I cannot log them to emoncms. I'm getting this error in emonhub:

RX frame "node id outside scope"

 

Any ideas?

Thank you.

pb66's picture

Re: emonHub RX frame node id outside scope

The example you are using is just to demonstrate a point not a full working sketch. The "standard OEM data format" is that the values are preceded by a node id usually in the range 1-30. So emonHub is expecting the first value to be in that range.

You could add a line to your demo sketch to print a node id 1st and emonHub will then pass the data to emonCMS.

Paul

bbroge's picture

Re: emonHub RX frame node id outside scope

Hi Paul, thanks for the reply. Is there an example of a full working sketch somewhere?

pb66's picture

Re: emonHub RX frame node id outside scope

Most of the monitoring sketches are in the emonTxFirmware repo on git. many of those assume an RF link but also have serial output for debuging.

There are a couple of "serial direct" sketches in there and here is a couple of forum threads on using serial direct sketches with emonHub.

​http://openenergymonitor.org/emon/node/6048

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

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

 

Comment viewing options

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