Hello, I’m working on a Raspberry Pi based whole-house energy monitoring project. The Pi code is mostly written from scratch (i.e. ground up… I don’t mean the scratch programming language that comes on the Pi ). I’d like to use emoncms to store and present the data, but I’m at a bit of a loss on how to go about this. I’ve been reading through the emoncms documentation and files but it’s all a bit daunting and I’m having difficulty getting a grasp on the whole thing. I’m looking for a little help to get me going in the right direction.
A few quick notes on my project: Raspberry Pi is the main unit, controlling three Arduino Micros (via I2C), which in turn connect to approximately 30 CT and VTs. Everything is wire connected (i.e. no WiFi). I’m using ADC chips (via SPI) to do the analog reading, not the I/O pins of the Arduino.
So my initial questions are:
Am I correct in understanding that emoncms works either as a locally installed/running database, or as a emoncms.org web-based system resident in the cloud? If so, my initial preference is to use the locally installed system over the web-based system.
What is the minimum set of components I need to install for emoncms to run on the Pi, given that I’m writing my own Python based code to handle the energy monitoring and data acquisition functions?
I’m looking for an example of how to send data to the emoncms database, and I’ve assumed that the existing emonPi code would be just that… except that I’m having difficulty locating the exact module. What is the best example file to help me grasp the emoncms API interface?
Any help, suggestions or a turn in the right direction is appreciated. Thanks!