{ "info": { "author": "Riccardo Tempesta", "author_email": "info@riccardotempesta.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7" ], "description": "# ewelink-sonoff-coolkit-client\nClient for Sonoff devices using eWeLink access\n\nInspired by https://github.com/peterbuga/HASS-sonoff-ewelink\n\n## Usage example\n```\n#!/usr/bin/env python\nimport asyncio\n\nfrom coolkit_client import CoolkitSession, CoolkitDevicesRepository\nfrom coolkit_client.device_control import CoolkitDeviceControl\nfrom coolkit_client.discover import CoolkitDevicesDiscovery\n\n\nasync def start():\n await CoolkitSession.login(\n username='my@email.com',\n password='IDoNotTellYou!',\n region='eu'\n )\n\n await CoolkitDevicesRepository.get_device('1000012345').switches[0].state(True)\n await asyncio.sleep(1)\n await CoolkitDevicesRepository.get_device('1000012345').switches[0].state(False)\n\n await CoolkitDevicesDiscovery.discover()\n CoolkitDeviceControl.start_daemon()\n\n while True:\n await asyncio.sleep(3600)\n\nif __name__ == \"__main__\":\n loop = asyncio.get_event_loop()\n loop.run_until_complete(start())\n\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/phoenix128/python-coolkit-client", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "coolkit-client-phoenix", "package_url": "https://pypi.org/project/coolkit-client-phoenix/", "platform": "", "project_url": "https://pypi.org/project/coolkit-client-phoenix/", "project_urls": { "Homepage": "https://github.com/phoenix128/python-coolkit-client" }, "release_url": "https://pypi.org/project/coolkit-client-phoenix/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "Sonoff control library through coolkit/ewelink cloud", "version": "1.0.2" }, "last_serial": 4919745, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "90d4533abfa7bd4a910592b8b2b8594d", "sha256": "97f1510edd8e9b331f9b04d5932f3103935ba1606cc75a17fd8c64c3eac27a51" }, "downloads": -1, "filename": "coolkit_client_phoenix-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "90d4533abfa7bd4a910592b8b2b8594d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9467, "upload_time": "2019-03-09T18:05:00", "url": "https://files.pythonhosted.org/packages/c6/81/ac95a0f6959631e10460be1eaceda5d18dc0637fe1bb87a40517986f28b5/coolkit_client_phoenix-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "418cd0bd13b3c868b953eb3e0e3d23d9", "sha256": "625f71abbc1ba189ca07d7754cf04bd6a46446a1afec79eadc14cb4fb55aa182" }, "downloads": -1, "filename": "coolkit-client-phoenix-1.0.1.tar.gz", "has_sig": false, "md5_digest": "418cd0bd13b3c868b953eb3e0e3d23d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5791, "upload_time": "2019-03-09T18:05:02", "url": "https://files.pythonhosted.org/packages/8d/3f/886648c9870cb2c1f0ccda6492089f054cd93867dd109e2fda288e295ee9/coolkit-client-phoenix-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "2c254b809c65995cc5ffb6da06ee1ebb", "sha256": "204a4fbb7a85f4f57305029678ac6009140f4199592a91a148554bf03a560600" }, "downloads": -1, "filename": "coolkit_client_phoenix-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2c254b809c65995cc5ffb6da06ee1ebb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9546, "upload_time": "2019-03-09T21:49:40", "url": "https://files.pythonhosted.org/packages/d2/26/4bb835ab566e7ed82065c54b9cfec86578c8fdb89dbc3b7ef2a47a0481dd/coolkit_client_phoenix-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5ec9cce719c46b12bb7c25dd3ad7b267", "sha256": "e224f2f9c3da4b851610ec858400a6f6f6fac58275e53897c66f74b18f61989a" }, "downloads": -1, "filename": "coolkit-client-phoenix-1.0.2.tar.gz", "has_sig": false, "md5_digest": "5ec9cce719c46b12bb7c25dd3ad7b267", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5871, "upload_time": "2019-03-09T21:49:42", "url": "https://files.pythonhosted.org/packages/ae/6e/14cd8cfbd3e434e8323350adca4279714a67d4ebca1c52be04cabd8d86e7/coolkit-client-phoenix-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2c254b809c65995cc5ffb6da06ee1ebb", "sha256": "204a4fbb7a85f4f57305029678ac6009140f4199592a91a148554bf03a560600" }, "downloads": -1, "filename": "coolkit_client_phoenix-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2c254b809c65995cc5ffb6da06ee1ebb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9546, "upload_time": "2019-03-09T21:49:40", "url": "https://files.pythonhosted.org/packages/d2/26/4bb835ab566e7ed82065c54b9cfec86578c8fdb89dbc3b7ef2a47a0481dd/coolkit_client_phoenix-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5ec9cce719c46b12bb7c25dd3ad7b267", "sha256": "e224f2f9c3da4b851610ec858400a6f6f6fac58275e53897c66f74b18f61989a" }, "downloads": -1, "filename": "coolkit-client-phoenix-1.0.2.tar.gz", "has_sig": false, "md5_digest": "5ec9cce719c46b12bb7c25dd3ad7b267", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5871, "upload_time": "2019-03-09T21:49:42", "url": "https://files.pythonhosted.org/packages/ae/6e/14cd8cfbd3e434e8323350adca4279714a67d4ebca1c52be04cabd8d86e7/coolkit-client-phoenix-1.0.2.tar.gz" } ] }