EmonCMS: DS18B20 feed shows no data ("inactive")

Hi,

first I would like to say thank you to all the guys being so busy in developing this really promising system. It's what I was looking for quite some time after I played a around with some own ideas. Then I found Openenergymonitoring.org ...

I successfully built an "EmonTx LowPower Temperature Node" according to the instructions. The firmware is more or less the original emontx_lowpower_temperature.ino. It's measuring data well from a DS18B20; I added a serial log output and it shows: "Voltage=3392  Temperature=2025" from the emontx Payload object.

I'm using a RaspberryPi with the emoncms SDCard image, it's running fine. When I open minicom on /dev/ttyAMA0 I can see data dropping in from the EmonTx just like "18 233 7 64 13" . Although I not yet fully understand the values in detail (18 is the nodeID, that's clear ;-)) obviously values arrive. So far so good.

When I open the RaspberryPi's emoncms webpage I can see an input with node 18 which I gave the name "temperature":

Node 18                    
Node:    name    Description    Process list
18         test      temperature    log

And I created a feed from it and it's shown as:

Id    Name            Tag                 Datatype       Public    Updated    Value            
3     DS18S20_1    emonTx_DS    REALTIME                 inactive    0.00

I'm wondering why there are no value updates and why it is shown "inactive".

Does anybody have an idea what I might have made wrong and what I could check to find the root cause? Would be really great to get any hint ...

Thanks a lot in advance! Arwed

arwed's picture

Re: EmonCMS: DS18B20 feed shows no data ("inactive")

some additional information: I'm able to set a value "manually" by calling e.g. "http://emoncms.privat/emoncms/feed/update.json?id=1&time=UNIXTIME&value=111" form a web browser (emoncms.privat is the server's name in my LAN). After that I see the given value (here 111) in the feed's page and an increasing value in the updated column.

So to me it looks like the values come into the RaspberryPi / the emoncms system but somwhow the updtae is simply not called.

It would be really helpful to get a hint what I should check on the emoncms system in order to get it working ...

any ideas? Please!

Arwed

Robert Wall's picture

Re: EmonCMS: DS18B20 feed shows no data ("inactive")

In emoncms, you must not change the name (a number if it's allocated automatically) of the item, but you can add the description - "Temperature" in your case.

Mattia Rossi's picture

Re: EmonCMS: DS18B20 feed shows no data ("inactive")

It looks like the rfm12php service is not running/receiving data.

U can run it with logging enabled and see whether you receIve data or if it errors out:

/etc/init.d/rfm12php restart log

arwed's picture

Re: EmonCMS: DS18B20 feed shows no data ("inactive")

OK, thanks. Just rebooted the RPi and searched for the rfm12php script, but cound find only a rfmpiphp in /etc/init.d. I restarted this as you mentioned and got

root@emoncms:~# /etc/init.d/rfm12piphp restart log
Log is turned on
Restarting RPI

When I now check /var/log/rfm12piphp.log I see data coing in and -- for whatever reason -- I also see updates on the Feeds page (after I redefined the feeds). And there is also some kind of visualization ...

Thank you guys; for now I'm fine. I assume there will come further questions later ...

Bye!

chriswininger's picture

Re: EmonCMS: DS18B20 feed shows no data ("inactive")

I am experiencing the same problem, but restarting the frm12piphp script did not solve the problem and I do not see any errors in /var/log/rfm12piphp.log.

In my case I loaded the EmonTx CT123 example onto my emontx. The only thing I changed was the frequency constant. Both my pi and my emontx are running 433hz, on network group 210. My emontx is set to be node 10 while by base is 15. The emontx CT123 example already had serial logging built in; so, I am running it attached to my computer and can see that it is indeed spitting out data. 

To create my inputs I ran http://192.168.1.10/emoncms/input/post.json?node=10&csv=100,200,300. I then created a feed for each of these inputs.

All of the feeds continue to say inactive. Not sure if it's better to piggy back on this thread or start a new one, but thought I would start here seeing as the issue is quite similar. Hope someone can help and thanks to all in this community for the great work you have done! : - )

 

 

José's picture

Re: EmonCMS: DS18B20 feed shows no data ("inactive")

Hi, I have the same problem in the emoncms website, my inputs are shown inactive  "last updated inactive", anyone know how to fix this, which is the cause of that is idle?

 

Thank you ..!

ukmoose's picture

Re: EmonCMS: DS18B20 feed shows no data ("inactive")

José,

You have posted the same question also on this page.  http://openenergymonitor.org/emon/node/3913

Please do not post the same question in multiple place as it wastes the time of the volunteers trying to help you.

 

Comment viewing options

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