display data from OWL CM160 device

Hello,

before setting up an emon monitoring system, I'm trying to experiment a bit with emoncms. I believe I've set it up properly on a linux system running debian, but I can't figure out how to read and display a data feed (live or from a datafile). 

For instance, I log power data from an OWL CM160 energy monitor to an sqlite database using electricowl (http://sourceforge.net/projects/electricowl/). It also saves the data in a textfile in a simple format:

22:27:00 07/08/2013 1.400000 12.500000

Is there a way to display this data using emoncms, without emonTx? Thanks in advance for any advice.

Robert Wall's picture

Re: display data from OWL CM160 device

Emoncms doesn't read or even request the data, the data gets sent to it. If you look at the Input Help page of emoncms.org, you will see the input format that emoncms expects. That can be generated by hand in a web browser, so any device capable of generating and sending the same format should work.

If you want to bypass the input mechanism of emoncms, you'll need to generate exactly the same data in the same table structure.

olivine's picture

Re: display data from OWL CM160 device

I somehow thought the emoncms was also easily usable standalone through one of the existing modules or scripts. Your answer cleared things up, thank you.

I admit I was (and still am) pretty confused by the input API helper, and I don't know much about AJAX web applications, JSON format and other concepts mentioned on the wiki and help pages that I tried to decipher. Must be my newbishness in this field.  At this point, I guess I'll leave the OWL on one side, focus on the pi and my half-working 1-wire owfs set-up, and think about a possible emon system at a later point. 

Comment viewing options

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