Skip to main content

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 PVOutput
  • influxdb ~ write data to a InfluxDB time series database (work in progress)
  • ...

~ the end

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omnik-data-logger-0.0.4.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omnik_data_logger-0.0.4-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file omnik-data-logger-0.0.4.tar.gz.

File metadata

  • Download URL: omnik-data-logger-0.0.4.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for omnik-data-logger-0.0.4.tar.gz
Algorithm Hash digest
SHA256 03d9f760767a1436c7c2b4ea8a674f0b0f0879ac612425ee4bea2e5ff257ee2f
MD5 b1d3a7f23c496dcfc276bc6c9522ebe7
BLAKE2b-256 0dfe6462e018b7ca368a1e6e09a48e5b89b3af49f27cd24b40a00d1329d47a4d

See more details on using hashes here.

File details

Details for the file omnik_data_logger-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: omnik_data_logger-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for omnik_data_logger-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e861dd2fb236631cca655ca1eb3aee81736ebeffadd02834f9c7f1cb4aa5846d
MD5 e3d90e72c64af7dadbe319cff46f0b04
BLAKE2b-256 90f5f0b7f9234ff7f5663c3948c366ea712f76e712a0e651276d4fa7fcf13b15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page