RFM2pi data not appearing in Inputs list

Hi,

I have the following setup:

Raspberry Pi B+ running emonSD-13-03-15.img preconfigured image.
RFM2PI with RFM69CW 868 MHz flashed with new firmware according to http://openenergymonitor.org/emon/node/6244

It's currently logging temperatures from my heating system through a LAN connected arduino. This has been working with no problems at all.

My problem:

I have now started to use the RFM link. I have created a node based on an arduino with a RFM69CW attached for trial purposes. Transmitting  temp from a DS1820.

The data arrives at the Raspberry, I can see them with minicom and in emonhub.log.

But they do not appear in "Input" list on EmonCMS.

Any idea where they get lost? and where's the next logical place to look for the data?

/Lars

 

I've checked with minicom:

OK 5 246 9 127 13 (-52)
OK 5 246 9 127 13 (-51)

The data appears in emonhub.log:

2015-04-10 23:04:21,382 DEBUG 1666 NEW FRAME : 1428699861.38 OK 5 239 9 127 13 (-53)
2015-04-10 23:04:21,388 DEBUG 1666 Timestamp : 1428699861.38
2015-04-10 23:04:21,391 DEBUG 1666      Node : 5
2015-04-10 23:04:21,395 DEBUG 1666    Values : [2543, 3455]
2015-04-10 23:04:21,398 DEBUG 1666      RSSI : -53

My emonhub.conf looks like this

[[RFM2Pi]]
    Type = EmonHubJeeInterfacer
    [[[init_settings]]]
        com_port = /dev/ttyAMA0
        com_baud = 38400
    [[[runtimesettings]]]
        group = 210
        frequency = 868
        baseid = 15
 

[nodes]

[[5]]
        datacode = h
        datacodes = h, h

And with the read/write APIkey added

 

 

Mandela's picture

Re: RFM2pi data not appearing in Inputs list

Hello Vester have you checked well your read&write API key.

Mandela

vester's picture

Re: RFM2pi data not appearing in Inputs list

Yes I copied it into the conf file.

But since you ask and it would be a really stupid mistake I have just re-checked it  ;-)

It is correct.

pb66's picture

Re: RFM2pi data not appearing in Inputs list

Can you post a bit more log?

The unixtime nodeid val1 val2 should be written to the "emoncms" buffer(s) and then the buffer is flushed to emoncms. The log should show each step if loglevel is set to debug in the conf.

If these steps don't occur then it maybe a problem with the reporter configuration, if so post the rest of the conf too (fudge your apikey (and domain?) for security by swapping out some letters etc) 

Paul

vester's picture

Re: RFM2pi data not appearing in Inputs list

The loglevel is set to DEBUG.

The log shows no additional steps other than the received data and of course the initial setup.

I have attached the top of the log file and the conf file.

Lars

pb66's picture

Re: RFM2pi data not appearing in Inputs list

Hi

There are no log entries showing the creation of any emoncms reporters so that will explain the steady stream of entries logging data coming in but none showing being being forwarded as there are no reporters.

In the conf there is a typo in the emoncms reporter settings, "type" should be "Type", since there is no "Type" defined it cannot be created.

Paul

vester's picture

Re: RFM2pi data not appearing in Inputs list

Super - that did the trick.

I followed the instructions on https://github.com/emoncms/emoncms/blob/bufferedwrite/docs/setup.md. Copying the example text from section 3a.

After your comment about the problem must be in the config I carefully went through the conf file. I also changed [[runtime_settings]] -> [[runtimesettings]].

But I missed the "type" -> "Type"

Thanks

Lars

pb66's picture

Re: RFM2pi data not appearing in Inputs list

Thanks for the link, I have submitted a pull request to git for the corrections

https://github.com/emoncms/emoncms/pull/315

Paul

Comment viewing options

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