Swarm is a simple python app that parses CSV files and uploads the measurements to the Wattics API.
pip install /path/to/swarm/folder
swarm config_file.ini
The CSV structure consists of:
timestamp |
first measurements |
... |
last measurement |
If the CSV includes all electrical parameters, then the measurements are listed in the Wattics API docs, otherwise only one measurement column is allowed.
- No header is expected
- Measurements values are float numbers, where the decimal digits separator is "." (dot)
- The expected separator character is "," (comma)
- The expected timestamp format is "%Y-%m-%d %H:%M:%S" (see python docs for more details)