Omnik Data Logger
Project description
omnik-data-logger
This is a Python3 based PV data logger with plugin support, specifically build for the Omniksol-5k-TL2. This datalogger uses the omnikportal to fetch data pushed by the inverter. I tried using the inverter directly, but the firmware is very buggy: it either spontanious reboots, hangs or returns seemingly random data.
Installation
Install using the following command:
$ pip install omnik-data-logger
Help
usage: omnik-logger [-h] [--config FILE] [--every EVERY] [-d]
optional arguments:
-h, --help show this help message and exit
--config FILE path to configuration file
--every EVERY execute every n seconds
-d, --debug debug mode
Configuration
Example configuration
This data logger needs a configuration file. By default, it look for a config file called ~/.omnik/config.ini
. You can override this path by using the --config
parameter.
[omnikportal]
username = john.doe@example.com
password = S3cret!
[plugins]
output=pvoutput
[pvoutput]
api_key = <YOUR API KEY>
sys_id = <YOUR SYSTEM ID>
use_temperature = true
[openweathermap]
api_key = <YOUR API KEY>
endpoint = api.openweathermap.org
lon = 4.2232362
lat = 51.8819023
units = metric
PS: openweathermap
is currently only used when use_temperature = true
.
Run
Just run omnik-logger
... that's it ... for now.
You just need to schedule this.
Plugins
Working on a couple of plugins to customize processing of the omnik-portal data:
pvoutput
~ write data to PVOutputinfluxdb
~ write data to a InfluxDB time series database (work in progress)- ...
~ the end
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for omnik_data_logger-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50979eb8666e9c7a1bce2f3f13205f996f1bdedb0a84ce2bb3dc215c85eadc6d |
|
MD5 | dd689d3a0ab4cf9a373db02af88a34e4 |
|
BLAKE2b-256 | e0c1b78f6275534497b734b1b7671550ad0aa89ee0e7ce6d6d7572aa29735bc8 |