{ "info": { "author": "Issac Kelly", "author_email": "issac.kelly@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "==========\nPython-Hue\n==========\n\nPython client for the Philips Hue lighting system. I figured out almost all of\nthis by monitoring the traffic on my router. I then found https://github.com/alistairg/IndigoHue/blob/master/Hue.indigoPlugin/Contents/Server%20Plugin/plugin.py\nwhich gave some clues about RGB support and the magic strings (select, lselect)\nto send alerts.\n\nSample Usage is not docs::\n\n from hue import Hue;\n h = Hue(); # Initialize the class\n h.station_ip = \"192.168.1.222\" # Your base station IP\n h.get_state(); # Authenticate, bootstrap your lighting system\n l = h.lights.get('l3') # get bulb #3\n l.bri(0) # Dimmest\n l.bri(255) # Brightest\n l.rgb(120, 120, 0) # [0-255 rgb values]\n l.rgb(\"#9af703\") # Hex string\n l.on()\n l.off()\n l.toggle()\n l.alert() # short alert\n l.alert(\"lselect\") # long alert\n l.setState({\"bri\": 220, \"alert\": \"select\"}) # Complex send\n\nHave fun! Let me know how you're using it.\n\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/issackelly/python-hue", "keywords": "phillips hue,client", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "hue", "package_url": "https://pypi.org/project/hue/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hue/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/issackelly/python-hue" }, "release_url": "https://pypi.org/project/hue/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Python client for Philips Hue", "version": "0.1.0" }, "last_serial": 1882721, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "073cc81a97caea9fb66752b38a90a42f", "sha256": "37427d42c8f01329e8639abd24c064c5182824eeeb862931065d54daa07891f0" }, "downloads": -1, "filename": "hue-0.1.0.tar.gz", "has_sig": false, "md5_digest": "073cc81a97caea9fb66752b38a90a42f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3368, "upload_time": "2015-02-26T19:30:42", "url": "https://files.pythonhosted.org/packages/4e/d6/e0fd54f9f554cf786142217c037cbd35d24e819c1b65b83daea7acc6a0ad/hue-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "073cc81a97caea9fb66752b38a90a42f", "sha256": "37427d42c8f01329e8639abd24c064c5182824eeeb862931065d54daa07891f0" }, "downloads": -1, "filename": "hue-0.1.0.tar.gz", "has_sig": false, "md5_digest": "073cc81a97caea9fb66752b38a90a42f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3368, "upload_time": "2015-02-26T19:30:42", "url": "https://files.pythonhosted.org/packages/4e/d6/e0fd54f9f554cf786142217c037cbd35d24e819c1b65b83daea7acc6a0ad/hue-0.1.0.tar.gz" } ] }