{ "info": { "author": "Lindsay Ward", "author_email": "lindsay.ward@jcu.edu.au", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "#yeelightsunflower\n\n[![Build Status](https://travis-ci.org/lindsaymarkward/python-yeelight-sunflower.svg?branch=master)](https://travis-ci.org/lindsaymarkward/python-yeelight-sunflower)\n\nyeelightsunflower is a Python package for interacting with Yeelight Sunflower light bulbs.\n\nProduct details for these bulbs can be found at the following website (but note that they may not be available any more): https://www.yeelight.com/en_US/product/yeelight-sunflower\n\nThis library was written primarily to work with Home Assistant: https://home-assistant.io\n\nCommunication is via TCP commands, e.g. \nSending `GL,,,,0,\\r\\n` to the IP address of the Yeelight hub gets the current state of all lights and would return something like: `GLB 143E,1,1,22,255,10,10,0,0;287B,1,1,64,255,10,10,0,0;0001,1,1,0,255,10,10,0,0;` \nSending `C 143F,255,0,255,50,\\r\\n` would set the light identified by `143F` to magenta at 50% brightness. \n\nThe library wraps these commands in a form suitable as a platform for the Home Assistant light component, and could be used by other modules. \n \nThis library does not implement the SSDP hub identification that Yeelight Sunflower hubs support.\n\nChangelog for yeelightsunflower\n===============================\n\n0.0.10 (2018-03-09)\n------------------\n\n- Correct string check and missing CHANGELOG (again :)\n \n\n0.0.9 (2018-03-09)\n------------------\n\n- Handle and log invalid responses when getting lights (avoid IndexError)\n \n\n0.0.8 (2017-02-25)\n------------------\n\n- Correct problem with CHANGELOG missing in PyPi package (update MANIFEST.in) \n\n\n0.0.7 (2017-02-25)\n------------------\n\n- Try to reconnect socket when there's a send/receive error \n- Set availability of lights to False if hub is unavailable\n\n\n0.0.6 (2017-02-23)\n------------------\n\n- Add time check to use cached data instead of fetching new data via TCP. This is useful since multiple bulb objects will get the hub's data in short succession, and all should just use the same values.\n\n0.0.5 (2017-02-17)\n------------------\n- Make library thread safe with threading.Lock", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lindsaymarkward/python-yeelight-sunflower", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "yeelightsunflower", "package_url": "https://pypi.org/project/yeelightsunflower/", "platform": "", "project_url": "https://pypi.org/project/yeelightsunflower/", "project_urls": { "Homepage": "https://github.com/lindsaymarkward/python-yeelight-sunflower" }, "release_url": "https://pypi.org/project/yeelightsunflower/0.0.10/", "requires_dist": null, "requires_python": "", "summary": "Python package for interacting with Yeelight Sunflower bulbs", "version": "0.0.10" }, "last_serial": 3654334, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "dc8303431eea6da85e010c5a3acdd2c3", "sha256": "2f348cc46f0ae9cb21695b1678560457d39316e86eefcfb603c96f00b1fd34e0" }, "downloads": -1, "filename": "yeelightsunflower-0.0.1.tar.gz", "has_sig": false, "md5_digest": "dc8303431eea6da85e010c5a3acdd2c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2744, "upload_time": "2017-02-11T04:13:03", "url": "https://files.pythonhosted.org/packages/1f/17/537d073d83ceca2cbacef6b1a90ba24a5675ded86647806f79b8349403a2/yeelightsunflower-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "a6d2230e401a20f3245eadafd4a5d1fb", "sha256": "978465e964822baf3f5c1c029dda2736ede478f0d77d2b3fb885da0a4ac84fb8" }, "downloads": -1, "filename": "yeelightsunflower-0.0.10.tar.gz", "has_sig": false, "md5_digest": "a6d2230e401a20f3245eadafd4a5d1fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6027, "upload_time": "2018-03-09T13:26:52", "url": "https://files.pythonhosted.org/packages/32/27/5460a60572d2a78339f33bfc2752eee8a90b2b8e046770d19b2734c110bb/yeelightsunflower-0.0.10.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "38999f78a04833ba7feb46385f9ad154", "sha256": "e0c06f26cc6e4c3c8b8e16b971fea0010f9322540ae0c3133730a25d92e5f3ca" }, "downloads": -1, "filename": "yeelightsunflower-0.0.2.tar.gz", "has_sig": false, "md5_digest": "38999f78a04833ba7feb46385f9ad154", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2906, "upload_time": "2017-02-11T04:58:22", "url": "https://files.pythonhosted.org/packages/48/e4/472ec5e7b51dd953ae6cd05b7c8d7c943e5f7eb057e25c12c7572a4cdd9b/yeelightsunflower-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "6f14a16def81fca89a2b388f222ddb4d", "sha256": "89540356257de00b4010a66734c1b04eb019db66c96fe170afb522dc678aff58" }, "downloads": -1, "filename": "yeelightsunflower-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6f14a16def81fca89a2b388f222ddb4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3187, "upload_time": "2017-02-16T02:00:19", "url": "https://files.pythonhosted.org/packages/27/82/03ffc4ea201689514b641271990b8479a25e4553546b8651226ee1fe4df2/yeelightsunflower-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "4627657db53179d377505b666dadf194", "sha256": "05b84bc8ce0b8496f405f5bd0a0dbd25f58149f0aab32f86eb1ae51b6ff05732" }, "downloads": -1, "filename": "yeelightsunflower-0.0.4.tar.gz", "has_sig": false, "md5_digest": "4627657db53179d377505b666dadf194", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4216, "upload_time": "2017-02-17T07:58:16", "url": "https://files.pythonhosted.org/packages/7d/b7/518b122e06d5540151e91eb32bfaed2ff0c9de12f4be718201b1f51f1233/yeelightsunflower-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "61c6f16a7db3902d5ccff86ed55bc996", "sha256": "d81ed62954dca3c1c16c0aa3fd5889ee736ee5a96f19d1831b85bd332ea7faac" }, "downloads": -1, "filename": "yeelightsunflower-0.0.5.tar.gz", "has_sig": false, "md5_digest": "61c6f16a7db3902d5ccff86ed55bc996", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4236, "upload_time": "2017-02-17T09:51:59", "url": "https://files.pythonhosted.org/packages/d5/08/5f3a71580d984f9274a6d9bea0568ffc6c5b15c0acf56696f0a5c00e05c6/yeelightsunflower-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "2565a652528a43bee944a8192e3d9a86", "sha256": "5a5635b7cb2476908bf6dd0a331b691a9f51ab6035ab554ef8aaaa5c7ab3341f" }, "downloads": -1, "filename": "yeelightsunflower-0.0.6.tar.gz", "has_sig": false, "md5_digest": "2565a652528a43bee944a8192e3d9a86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4687, "upload_time": "2017-02-23T10:05:24", "url": "https://files.pythonhosted.org/packages/59/87/4537b80c90f9de9e3f79a2e589dbb65b5487db3a48fc809865360f4cd4f4/yeelightsunflower-0.0.6.tar.gz" } ], "0.0.7": [], "0.0.8": [ { "comment_text": "", "digests": { "md5": "024b2990dcc3f86827dad0771b797cc8", "sha256": "9f7095eb89ae2b500a3b49227c389095a9f0b0392c0f68011cf89fb51122c8df" }, "downloads": -1, "filename": "yeelightsunflower-0.0.8.tar.gz", "has_sig": false, "md5_digest": "024b2990dcc3f86827dad0771b797cc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5161, "upload_time": "2017-02-25T12:12:27", "url": "https://files.pythonhosted.org/packages/d6/fa/fc7b879f6758b59c63fdd72062c015e636f20a0bcb8a1685ad95c841ff41/yeelightsunflower-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "7b1863738e47295e25666374717729b3", "sha256": "cd8eb8975e851ffa0bddd3ea22571d28a323c6ab75af4a18a647c6f70fb7dd00" }, "downloads": -1, "filename": "yeelightsunflower-0.0.9.tar.gz", "has_sig": false, "md5_digest": "7b1863738e47295e25666374717729b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5900, "upload_time": "2018-03-09T01:56:04", "url": "https://files.pythonhosted.org/packages/96/6f/f54be7c69417ad3b6f6902299c1004d736916b1f1f24f44e2c10cb785c79/yeelightsunflower-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a6d2230e401a20f3245eadafd4a5d1fb", "sha256": "978465e964822baf3f5c1c029dda2736ede478f0d77d2b3fb885da0a4ac84fb8" }, "downloads": -1, "filename": "yeelightsunflower-0.0.10.tar.gz", "has_sig": false, "md5_digest": "a6d2230e401a20f3245eadafd4a5d1fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6027, "upload_time": "2018-03-09T13:26:52", "url": "https://files.pythonhosted.org/packages/32/27/5460a60572d2a78339f33bfc2752eee8a90b2b8e046770d19b2734c110bb/yeelightsunflower-0.0.10.tar.gz" } ] }