{ "info": { "author": "Ardexa Pty Limited", "author_email": "support@ardexa.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# Purpose\nThe purpose of this project is to collect data from Solar Log devices and send the data to the cloud using Ardexa. Data from Solar Log is read using a Linux device such as a Raspberry Pi, or an X86 intel powered computer. \n\n## How does it work\nA Solar Log device is a product that allows data to be collected from solar inverters. See -> http://www.solar-log.com. This product does not make it easy to store data locally. This project allows data to be collected and either stored locally and/or sent to the Ardexa cloud. These python scripts have been tested on Linux systems and a number of Solar Log devices. If there are any issues with other Solar Log devices, please let us know.\n\nThis script will take an IP address of the Solar Log device, and do the following:\n- Query a Solar Log device and call down all available data using http.\n- Compare the changes to the previous run (so the first run will NOT produce any data)\n- Send any changes to a local file and/or to the cloud via the Ardexa agent\n- All data is stored in a user specified log directory.\n- A check to make sure it can only run once. \n- Extract data from connected Solarmax, SMA, ABB or Refusol inverters. Other inverters can be supported. If they are not, please contact us\n\nThe Solar Log will take about 5 to 10 minutes to download a month's worth of data (yes, that long!). So the frequency (time between runs) of the script should not be lower than about 10 minutes. Some of the newer models will return data in less than 5 minutes. Also, data from the inverter is copied by the Solar Log every 5 minutes. This is not configurable in Solar Log\n\n## Install\nOn a Raspberry Pi, or other Linux machines (arm, intel, mips or whetever), make sure Python is installed (which it should be). Then install the dependancies and this package as follows:\n```\ncd\ngit clone https://github.com/ardexa/solar-log.git\ncd solar-log\npip install .\n```\n\n## Usage\nSend production data to a file on disk \n```\nUsage: solarlog_ardexa log IP_address inverter_type output_directory [--old] [--skip-prep]\neg: solarlog_ardexa log 192.168.1.55 ABB /opt/ardexa\n- The `IP Address` is the IP address of the Solar Log device. \n- The `inverter-type` is either `Solarmax`, `SMA`, `ABB` or `Refusol` inverters. If you need other inverter types, contact us.\n- The `output_directory` is where data will be written.\n- Older Solar Log devices with a software firmware of less than about 3.0 (Build 60. March 2014) require the `--old` flag. Also note that the `OLD` style Solar Log devices may stop recording when the inverter is turned off (ie; when the Sun goes down), whereas the `NEW` inverters will write a record all times.\n```\n\nTo view debug output, increase the verbosity using the `-v` flag.\n- standard (no messages, except errors), `-v` (discovery messages) or `-vv` (all messages)\n\n\n## Collecting to the Ardexa cloud\nCollecting to the Ardexa cloud is free for up to 3 Raspberry Pis (or equivalent). Ardexa provides free agents for ARM, Intel x86 and MIPS based processors. To collect the data to the Ardexa cloud do the following:\n- Create a `RUN` scenario to schedule the Ardexa Solar Log script to run at regular intervals (say every 600 seconds/10 minutes).\n- Then use a `CAPTURE` scenario to collect the csv (comma separated) data from the filename (say) `/opt/ardexa/solar-log/logs/`. This file contains a header entry (as the first line) that describes the CSV elements of the file.\n\n## Help\nContact Ardexa at support@ardexa.com, and we'll do our best efforts to help.\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/ardexa/solar-log", "keywords": "solar log SolarLog inverter ardexa", "license": "", "maintainer": "", "maintainer_email": "", "name": "solarlog-ardexa", "package_url": "https://pypi.org/project/solarlog-ardexa/", "platform": "", "project_url": "https://pypi.org/project/solarlog-ardexa/", "project_urls": { "Bug Reports": "https://github.com/ardexa/solar-log/issues", "Homepage": "https://github.com/ardexa/solar-log", "Source": "https://github.com/ardexa/solar-log/" }, "release_url": "https://pypi.org/project/solarlog-ardexa/2.0.11/", "requires_dist": [ "future", "ardexaplugin", "Click", "requests", "python-dateutil" ], "requires_python": ">=2.7", "summary": "Collect from Solar Log devices and send the data to your cloud using Ardexa", "version": "2.0.11" }, "last_serial": 5190697, "releases": { "2.0.11": [ { "comment_text": "", "digests": { "md5": "839bf67d7e2e7dbcfbbe2f409381e955", "sha256": "430751753a20c7ab663e4e95bce95c70d4d8e223e8bb284d8758f8ebabce21ce" }, "downloads": -1, "filename": "solarlog_ardexa-2.0.11-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "839bf67d7e2e7dbcfbbe2f409381e955", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 8143, "upload_time": "2019-04-26T02:32:37", "url": "https://files.pythonhosted.org/packages/03/94/6a3a58de2a37e0b37c02308c95a0535cbf0e10d8a957bea34427eb6d8ccb/solarlog_ardexa-2.0.11-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "839bf67d7e2e7dbcfbbe2f409381e955", "sha256": "430751753a20c7ab663e4e95bce95c70d4d8e223e8bb284d8758f8ebabce21ce" }, "downloads": -1, "filename": "solarlog_ardexa-2.0.11-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "839bf67d7e2e7dbcfbbe2f409381e955", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 8143, "upload_time": "2019-04-26T02:32:37", "url": "https://files.pythonhosted.org/packages/03/94/6a3a58de2a37e0b37c02308c95a0535cbf0e10d8a957bea34427eb6d8ccb/solarlog_ardexa-2.0.11-py2.py3-none-any.whl" } ] }