{ "info": { "author": "Herb Peyerl", "author_email": "hpeyerl+etherrain@beer.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "# Python3 API for QuickSmart Etherrain/8\n\nThe EtherRain/8 from [QuickSmart](http://www.quicksmart.com/qs_etherrain.html) is an Ethernet based irrigation controller with a custom web API. This is a simple Python3 API for talking to it.\n\n## Limitations\n* The ER8 maintains its authentication state by IP address. So if another process or client on your system has authenticated with the ER8, then the login() function will succeed even with an invalid password.\n* Due to the above limitation, a client with an invalid username/password on the same host can issue watering commands and retrieve state, etc.\n* This API Assumes an Etherrain/8 and doesn't anticipate anything as regards the Etherrain/7P\n\n```Python\nclass EtherRain:\n def __init__(self, addr, user, pw, timeout):\n```\n\nClass instantiation requires an IP address or hostname, username, and password with an optional timeout.\n\n## API\n* login() - Authenticate. Returns true or false\n* stop() - Full stop to all watering operations\n* update_status() - Call this before checking the operating status or any other status attributes.\n* get_status() - Return the current operating status. Call ```update_status()``` first. Returns:\n * BZ - Busy\n * WT - Waiting\n * RD - Ready\n* rain() - Is the rain sensor reporting that it is wet?\n* last_valve() - Returns which valve is currently turned on or has more recently been turned on. Returns 0-8\n* irrigate(valve, time) - Turn on an irrigation valve. Time is in Minutes. Valve is 1-8.\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hpeyerl/etherrain", "keywords": "irrigation,watering", "license": "MIT", "maintainer": "Herb Peyerl", "maintainer_email": "hpeyerl+etherrain@beer.org", "name": "etherrain", "package_url": "https://pypi.org/project/etherrain/", "platform": "", "project_url": "https://pypi.org/project/etherrain/", "project_urls": { "Homepage": "https://github.com/hpeyerl/etherrain" }, "release_url": "https://pypi.org/project/etherrain/0.6/", "requires_dist": [ "requests (>=2.5.4)" ], "requires_python": "", "summary": "Interface Library for QuickSmart Etherrain/8 irrigation controller", "version": "0.6" }, "last_serial": 4992486, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "916d5e9f566d04b4473337f97ea5fdba", "sha256": "4086a09c4a86a3006b5b380a47fc0bf775536bef03147d86e0b8d7310b952959" }, "downloads": -1, "filename": "etherrain-0.2.tar.gz", "has_sig": false, "md5_digest": "916d5e9f566d04b4473337f97ea5fdba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4848, "upload_time": "2017-09-02T12:23:35", "url": "https://files.pythonhosted.org/packages/5a/97/41950241cf78e053753b7699fdc347c8248a3010a782c5f47cb5151ee835/etherrain-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "7990064d7b2196e3e9a161b3e0c96e32", "sha256": "5aa8b699a5a3dae45072f4cdd0986dc55a62297e2e6954005f7d6f41a8d863b2" }, "downloads": -1, "filename": "etherrain-0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7990064d7b2196e3e9a161b3e0c96e32", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6726, "upload_time": "2017-09-02T13:16:07", "url": "https://files.pythonhosted.org/packages/b2/7c/e83e700ab3b3c02391f1311d388b81b863380ac7e314b082079d84558db6/etherrain-0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7784591d199bd143bb2c6a9b6d83c246", "sha256": "9c90173397b60feb9821ec1cfd8e33c02c588e037f6ded1d6df3f5b7bba4db51" }, "downloads": -1, "filename": "etherrain-0.3.tar.gz", "has_sig": false, "md5_digest": "7784591d199bd143bb2c6a9b6d83c246", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4861, "upload_time": "2017-09-02T13:16:08", "url": "https://files.pythonhosted.org/packages/69/af/acb2c1c4c2bd8a5cfa09d6d67cfd30c3d89efd80c257031849b1dfb172b4/etherrain-0.3.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "3539dbb1a147a9836ea0c7c080c6c194", "sha256": "232ffc0e1ac30b038c5aa97cad832f8575b44304c122aea2660de006aeb10aee" }, "downloads": -1, "filename": "etherrain-0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3539dbb1a147a9836ea0c7c080c6c194", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5102, "upload_time": "2018-09-15T11:51:14", "url": "https://files.pythonhosted.org/packages/ca/ea/4224635286f991bd45de902f7ac0689c1b16f71ef8ea420ce7a6664a386d/etherrain-0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f8133e8587622f0a095366ea2abd0cfb", "sha256": "226ed9d6768f5b21026adb5c0b12abb5f0de941ab15e34579ec0b52bbd83e0c7" }, "downloads": -1, "filename": "etherrain-0.5.tar.gz", "has_sig": false, "md5_digest": "f8133e8587622f0a095366ea2abd0cfb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4887, "upload_time": "2018-09-15T11:51:16", "url": "https://files.pythonhosted.org/packages/0e/a8/10a262fa41d268416cad856ca615aebd8008a6fde605534d31d5e6c36cf2/etherrain-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "ce4877225a15c173cf56cc18f58bf530", "sha256": "08aafb71c7933fd95df5bb304fbb2373694f5ebc7e226adf53b5d71604ad521e" }, "downloads": -1, "filename": "etherrain-0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ce4877225a15c173cf56cc18f58bf530", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6746, "upload_time": "2019-03-27T12:28:02", "url": "https://files.pythonhosted.org/packages/5c/18/73b7f085cd54b46322396fe22cb8df5a8691b7ba9ed2e46b7948e5666df5/etherrain-0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a6de9fca52300f7896b4cf8ffe6021b7", "sha256": "b55bdc60d15aa0b816d6c724ef5cfba28c039eb47d4be6c76b30796d2fa5684f" }, "downloads": -1, "filename": "etherrain-0.6.tar.gz", "has_sig": false, "md5_digest": "a6de9fca52300f7896b4cf8ffe6021b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4908, "upload_time": "2019-03-27T12:28:03", "url": "https://files.pythonhosted.org/packages/ff/d0/863229bf6489f0a1dc37a4a246e6ee9451778c7d4619659c73e8f5a157c4/etherrain-0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ce4877225a15c173cf56cc18f58bf530", "sha256": "08aafb71c7933fd95df5bb304fbb2373694f5ebc7e226adf53b5d71604ad521e" }, "downloads": -1, "filename": "etherrain-0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ce4877225a15c173cf56cc18f58bf530", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6746, "upload_time": "2019-03-27T12:28:02", "url": "https://files.pythonhosted.org/packages/5c/18/73b7f085cd54b46322396fe22cb8df5a8691b7ba9ed2e46b7948e5666df5/etherrain-0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a6de9fca52300f7896b4cf8ffe6021b7", "sha256": "b55bdc60d15aa0b816d6c724ef5cfba28c039eb47d4be6c76b30796d2fa5684f" }, "downloads": -1, "filename": "etherrain-0.6.tar.gz", "has_sig": false, "md5_digest": "a6de9fca52300f7896b4cf8ffe6021b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4908, "upload_time": "2019-03-27T12:28:03", "url": "https://files.pythonhosted.org/packages/ff/d0/863229bf6489f0a1dc37a4a246e6ee9451778c7d4619659c73e8f5a157c4/etherrain-0.6.tar.gz" } ] }