A simple integration set of utilities connecting EmonPi's ecosystem with CouchDB
- Subscribe on EmonPi's feeds of interest and re-transmit the measurements on a CouchDB server
- Install package by running
pip install emon-utils
- Use package with
python -m EmonUtils
When running for the first time, EmonUtils will fire the auto-configuration scripts up. After that, the system will be ready to use.
The auto-configuration scripts can be invoked on demand. The functions
from EmonUtils.setup import generate_config, generate_schema
cam be used accordingly.
An other way of configuring EmonUtils is by locating and editing the respective files manually. from EmonUtils import CONFIG_FILE, SCHEMA_FILE
can be used to examine where those files are stored.
- Make sure that the underlying server's clock is configured as desired. In the case of EmonPi, the default time zone might lead to obfuscating bugs.