{ "info": { "author": "Pascal Prins", "author_email": "pascal.prins@foobar-it.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7", "Topic :: Home Automation" ], "description": "# omnik-data-logger\n\nThis is a Python3 based PV data logger with plugin support, specifically build for the Omniksol-5k-TL2. This datalogger uses the [omnikportal](https://www.omnikportal.com/) 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.\n\n## Installation\n\nInstall using the following command:\n```\n$ pip install omnik-data-logger\n```\n\n## Help\n\n```\nusage: omnik-logger [-h] [--config FILE] [--every EVERY] [-d]\n\noptional arguments:\n -h, --help show this help message and exit\n --config FILE path to configuration file\n --every EVERY execute every n seconds\n -d, --debug debug mode\n```\n\n## Configuration\n> Example configuration\n\nThis 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.\n\n```\n[default]\ntimezone = Europe/Amsterdam\n\n[omnikportal]\nusername = john.doe@example.com\npassword = S3cret!\n\n[plugins]\noutput=pvoutput\n\n[pvoutput]\napi_key = \nsys_id = \nuse_temperature = true\n\n[openweathermap]\napi_key = \nendpoint = api.openweathermap.org\nlon = 4.2232362\nlat = 51.8819023\nunits = metric\n```\n\nPS: `openweathermap` is currently only used when `use_temperature = true`. \n\n## Manual Run\n\nJust run `omnik-logger` ... that's it ... for now.\n\n## Scheduled Run\n\nYou've got your default options to schedule this logger, but I included a `systemd` service file to run this as a service on Linux.\n>**PS**: I'm using `Ubuntu 18.04 LTS`\n\nFirst, install this thing (~ using Python 3 !!!)\n> If you don't have `Python3.x` installed, do that first (~ don't forget to install `python3-pip` as well)\n\n```\n$ pip3 install omnik-data-logger\n\n# check if properly installed\n$ omnik-logger -h\nusage: omnik-logger [-h] [--config FILE] [--every EVERY] [-d]\n\noptional arguments:\n -h, --help show this help message and exit\n --config FILE Path to configuration file\n --every EVERY Execute every n seconds\n -d, --debug Debug mode\n```\n\nCopy `scripts/omnik-data-logger.service` to `/lib/systemd/system/omnik-data-logger.service`\n\nNext, enable and start service:\n\n```\n$ systemd enable omnik-data-logger\nCreated symlink /etc/systemd/system/multi-user.target.wants/omnik-data-logger.service \u2192 /lib/systemd/system/omnik-data-logger.service.\n$ systemd start omnik-data-logger\n```\n\nCheck if `omnik-data-logger.service` is running correctly:\n\n```\n$ systemd status omnik-data-logger\n\u25cf omnik-data-logger.service - Omnik Data Logger service\n Loaded: loaded (/lib/systemd/system/omnik-data-logger.service; enabled; vendor preset: enabled)\n Active: active (running) since Tue 2019-06-18 06:55:08 UTC; 4min 36s ago\n Main PID: 2445 (python3)\n Tasks: 2 (limit: 4915)\n CGroup: /system.slice/omnik-data-logger.service\n \u2514\u25002445 /usr/bin/python3 /usr/local/bin/omnik-logger --config /etc/omnik/config.ini --every 300\n```\n\n## Plugins\nWorking on a couple of plugins to customize processing of the omnik-portal data:\n\n* `pvoutput` ~ write data to [PVOutput](https://www.pvoutput.org)\n* `influxdb` ~ write data to a [InfluxDB](https://www.influxdata.com/) time series database (**WORK IN PROGRESS**)\n* ...\n\n~ the end\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/paprins/omnik-data-logger", "keywords": "", "license": "gpl-3.0", "maintainer": "", "maintainer_email": "", "name": "omnik-data-logger", "package_url": "https://pypi.org/project/omnik-data-logger/", "platform": "", "project_url": "https://pypi.org/project/omnik-data-logger/", "project_urls": { "Homepage": "https://github.com/paprins/omnik-data-logger" }, "release_url": "https://pypi.org/project/omnik-data-logger/0.0.8/", "requires_dist": [ "configparser (>=3.7.4)", "requests (>=2.21.0)", "cachetools (>=3.1.1)", "pytz (==2019.1)" ], "requires_python": "", "summary": "Omnik Data Logger", "version": "0.0.8" }, "last_serial": 5416280, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5d8c059933e9b4e805aaddfba631034f", "sha256": "0b566ba011f1dee6fae0061588f763aa8156b3f1c779b9adc979380af5dce67b" }, "downloads": -1, "filename": "omnik-data-logger-0.0.1.tar.gz", "has_sig": false, "md5_digest": "5d8c059933e9b4e805aaddfba631034f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5905, "upload_time": "2019-06-13T15:41:28", "url": "https://files.pythonhosted.org/packages/e1/73/057c76a99e8951cb37ce448bf9a53691e2c0f0c3cd97c6c802d95aa5faa2/omnik-data-logger-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "147bb1506ff2cfc3898b383c77099fe9", "sha256": "69de560de113d9bbce451010a8c243950f85eab6cd4a80a27f0b278080c035b8" }, "downloads": -1, "filename": "omnik-data-logger-0.0.2.tar.gz", "has_sig": false, "md5_digest": "147bb1506ff2cfc3898b383c77099fe9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5917, "upload_time": "2019-06-14T06:15:29", "url": "https://files.pythonhosted.org/packages/e7/30/835cf6d37341a5afbbe27e618e96f281c758f43f1ad303a0e6fd8a754f6a/omnik-data-logger-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "524252a3f2fefaa2b38ab9d3566305ce", "sha256": "9f146ff580d90933590a5fb39cf908869141e4995ae26966b40066460a939851" }, "downloads": -1, "filename": "omnik_data_logger-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "524252a3f2fefaa2b38ab9d3566305ce", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19649, "upload_time": "2019-06-14T06:46:57", "url": "https://files.pythonhosted.org/packages/fe/de/3a30fe127bbe4e73abb8ac39df03d24177b86809f9f174ca56d9f4fe89b1/omnik_data_logger-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff2caf3a4c9888e07ba4b0737a66d530", "sha256": "022835e7a1e863781780dd3bd906324bb14a33cc326f531f6178196a68200c69" }, "downloads": -1, "filename": "omnik-data-logger-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ff2caf3a4c9888e07ba4b0737a66d530", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5771, "upload_time": "2019-06-14T06:37:37", "url": "https://files.pythonhosted.org/packages/b8/b2/bbf20871ec845c3439e4e6248bd0a4ffa92c05ac1d8f97a0550966200e51/omnik-data-logger-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "e3d90e72c64af7dadbe319cff46f0b04", "sha256": "e861dd2fb236631cca655ca1eb3aee81736ebeffadd02834f9c7f1cb4aa5846d" }, "downloads": -1, "filename": "omnik_data_logger-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "e3d90e72c64af7dadbe319cff46f0b04", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19649, "upload_time": "2019-06-14T06:46:58", "url": "https://files.pythonhosted.org/packages/90/f5/f0b7f9234ff7f5663c3948c366ea712f76e712a0e651276d4fa7fcf13b15/omnik_data_logger-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b1d3a7f23c496dcfc276bc6c9522ebe7", "sha256": "03d9f760767a1436c7c2b4ea8a674f0b0f0879ac612425ee4bea2e5ff257ee2f" }, "downloads": -1, "filename": "omnik-data-logger-0.0.4.tar.gz", "has_sig": false, "md5_digest": "b1d3a7f23c496dcfc276bc6c9522ebe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5774, "upload_time": "2019-06-14T06:47:00", "url": "https://files.pythonhosted.org/packages/0d/fe/6462e018b7ca368a1e6e09a48e5b89b3af49f27cd24b40a00d1329d47a4d/omnik-data-logger-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "3e345c39c35735b25297f31f4c6c8892", "sha256": "7a578a18bf40ce52cd8c1e789f2ca4f71f2b87847125a12a9b4e75f116fca4b4" }, "downloads": -1, "filename": "omnik_data_logger-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "3e345c39c35735b25297f31f4c6c8892", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19652, "upload_time": "2019-06-14T07:22:51", "url": "https://files.pythonhosted.org/packages/aa/a0/3fe6a3d97afdb851d45a2ee4e01b2237ffe472529c21a3eb72c5052b7b31/omnik_data_logger-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1e1a0a52f20c726aae1ab03b8cecf6db", "sha256": "bf2d8b1e42d4597c3a6fdcc3ad52f0205ff27537d8949d68c031f301e017e24f" }, "downloads": -1, "filename": "omnik-data-logger-0.0.5.tar.gz", "has_sig": false, "md5_digest": "1e1a0a52f20c726aae1ab03b8cecf6db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5778, "upload_time": "2019-06-14T07:22:53", "url": "https://files.pythonhosted.org/packages/a4/b2/1c42cdca561409e19d5fd0d330cd40374fc0387355b1cc6f8fb654eec9cb/omnik-data-logger-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "dd689d3a0ab4cf9a373db02af88a34e4", "sha256": "50979eb8666e9c7a1bce2f3f13205f996f1bdedb0a84ce2bb3dc215c85eadc6d" }, "downloads": -1, "filename": "omnik_data_logger-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "dd689d3a0ab4cf9a373db02af88a34e4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19650, "upload_time": "2019-06-14T07:28:10", "url": "https://files.pythonhosted.org/packages/e0/c1/b78f6275534497b734b1b7671550ad0aa89ee0e7ce6d6d7572aa29735bc8/omnik_data_logger-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "38d5adfb60cbe5353a56e2483cfa0630", "sha256": "c8ad7d88c60b819aced4996aed55bcb8c448436af8219e28a19938154614bede" }, "downloads": -1, "filename": "omnik-data-logger-0.0.6.tar.gz", "has_sig": false, "md5_digest": "38d5adfb60cbe5353a56e2483cfa0630", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5772, "upload_time": "2019-06-14T07:28:12", "url": "https://files.pythonhosted.org/packages/8f/94/792ec928b24461664e49a32a583be58c1b4e59c94d467cdd0fe9e6e734c0/omnik-data-logger-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "9830029e6e941a4717f33810f0e7c39b", "sha256": "47a3129053fa78d2e2e03bfb205f6a56e43a4e71cdc1149037dff21e86427326" }, "downloads": -1, "filename": "omnik_data_logger-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "9830029e6e941a4717f33810f0e7c39b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19645, "upload_time": "2019-06-18T11:05:32", "url": "https://files.pythonhosted.org/packages/e3/a1/acba9ea4a44842fc94f54f09812e57d93da0806b88a6db51cbe0ebf28995/omnik_data_logger-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e58dd9a1ca97363eecf85ba2bf236d44", "sha256": "6c4a5bc25cb546baac168dee566a9d85b9c3495f7afe937ae7ae241f34590917" }, "downloads": -1, "filename": "omnik-data-logger-0.0.7.tar.gz", "has_sig": false, "md5_digest": "e58dd9a1ca97363eecf85ba2bf236d44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5779, "upload_time": "2019-06-18T11:05:33", "url": "https://files.pythonhosted.org/packages/b3/d2/09ebd82d3f9c3ef737f25758a2f4297f66f2793f13d63f443413660f2fa8/omnik-data-logger-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "77259507b456f5e0d946cd8be91c3f55", "sha256": "3ba749c22bd83ee3d9caf7ececaed2c5b736e6a034bbbc3fa37d2c0189e1e570" }, "downloads": -1, "filename": "omnik_data_logger-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "77259507b456f5e0d946cd8be91c3f55", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20324, "upload_time": "2019-06-18T16:52:17", "url": "https://files.pythonhosted.org/packages/30/95/620780f96dd379157ecb7e3532272d32dcff15c2015cd765b17f8ac79919/omnik_data_logger-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2a807326449323e266feee8fa8ebdd52", "sha256": "e2c2e453c53b658be1b636ce2479d6eda352a327be8136a23050eb69914d50fb" }, "downloads": -1, "filename": "omnik-data-logger-0.0.8.tar.gz", "has_sig": false, "md5_digest": "2a807326449323e266feee8fa8ebdd52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6528, "upload_time": "2019-06-18T16:52:18", "url": "https://files.pythonhosted.org/packages/95/e2/0f587c3abf9bf033b594cdeb3a7d0a17990ef1a5874df0fd9cb95ea178bd/omnik-data-logger-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "77259507b456f5e0d946cd8be91c3f55", "sha256": "3ba749c22bd83ee3d9caf7ececaed2c5b736e6a034bbbc3fa37d2c0189e1e570" }, "downloads": -1, "filename": "omnik_data_logger-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "77259507b456f5e0d946cd8be91c3f55", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20324, "upload_time": "2019-06-18T16:52:17", "url": "https://files.pythonhosted.org/packages/30/95/620780f96dd379157ecb7e3532272d32dcff15c2015cd765b17f8ac79919/omnik_data_logger-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2a807326449323e266feee8fa8ebdd52", "sha256": "e2c2e453c53b658be1b636ce2479d6eda352a327be8136a23050eb69914d50fb" }, "downloads": -1, "filename": "omnik-data-logger-0.0.8.tar.gz", "has_sig": false, "md5_digest": "2a807326449323e266feee8fa8ebdd52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6528, "upload_time": "2019-06-18T16:52:18", "url": "https://files.pythonhosted.org/packages/95/e2/0f587c3abf9bf033b594cdeb3a7d0a17990ef1a5874df0fd9cb95ea178bd/omnik-data-logger-0.0.8.tar.gz" } ] }