First page Back Continue Last page Overview Graphics
ecmread.py and parseecmpower
ECM can send ASCII data, but only at 0.5Hz. 1Hz refresh rate is obtained by sending binary updates.
Ecmread.py decodes the binary, computes the positive and negative counters.
Ecmread.py can do basic data uploading to some cloud services, but not recommended due to possible data glitches. It does not track historical data at parsing time (stateless logging).
Parseecmpower reads logged data, filters out bad data samples due to serial port glitches as well as counter jumps and resets.
Raw data stored on disk can be used by parseecmpower to be (re-)parsed and uploaded to cacti, or any cloud service (current data and old data can be back-filled).