{ "info": { "author": "Overboard", "author_email": "amwroute-git@yahoo.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "**discoverhue**\n===============\n\n|The MIT License|\n\n Discovery of hue bridges per the Philips design guide.\n\nUse *discoverhue* to find the IP addresses of all hue bridges on the\nLAN. If previously known bridge serial numbers are provided then the\nreturned info will be filtered. Alternatively, serial numbers and last\nknown IP addresses pairs may be provided. In this case, the provided\naddresses will be checked first and the discovery methods will only be\nexecuted if unmatched bridges remain.\n\nCurrently, *discoverhue* implements options one,two, and three of the\nHue Bridge Discovery Guide available with registration at\n`MeetHue `__.\n\nInstallation\n------------\n\n.. code:: shell\n\n pip install discoverhue\n\nExamples\n--------\n\nExecute discovery and return a dictionary of all found bridges:\n\n.. code:: python\n\n import discoverhue\n found = discoverhue.find_bridges()\n for bridge in found:\n print(' Bridge ID {br} at {ip}'.format(br=bridge, ip=found[bridge]))\n\nExecute discovery and return a filtered list of bridges:\n\n.. code:: python\n\n # using a list, matches will be removed from search_id\n search_id = ['0017884e7dad', '001788102201']\n found = discoverhue.find_bridges(search_id)\n\n # using a set, matches will be removed from search_id\n search_id = {'0017884e7dad', '001788102201'}\n found = discoverhue.find_bridges(search_id)\n\n # using a tuple, immutable so matches will not be removed\n search_id = ('0017884e7dad', '001788102201')\n found = discoverhue.find_bridges(search_id)\n\nExecute discovery and return single IP address as string:\n\n.. code:: python\n\n >>> found = discoverhue.find_bridges('001788102201')\n >>> found.lower()\n 'http://192.168.0.1:80/'\n\nValidate provided IP's and execute discovery only if necessary:\n\n.. code:: python\n\n >>> discoverhue.find_bridges({'0017884e7dad':'192.168.0.1',\n '001788102201':'192.168.0.2'})\n {'0017884e7dad': 'http://192.168.0.27:80/'}\n\nContributions\n-------------\n\nWelcome at https://github.com/Overboard/discoverhue\n\nStatus\n------\n\nReleased.\n\nSSDP Attribution\n~~~~~~~~~~~~~~~~\n\n- Original compliments of @dankrause at\n- https://gist.github.com/dankrause/6000248\n- Python3 support from @voltagex at\n- https://github.com/voltagex/junkcode/blob/master/Python/dlna\\_downloader/ssdp.py\n- Server field addition and Win32 @Overboard at\n- https://github.com/Overboard/discoverhue/blob/master/discoverhue/ssdp.py\n\n.. |The MIT License| image:: https://img.shields.io/badge/license-MIT-orange.svg?style=flat-square\n :target: http://opensource.org/licenses/MIT\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/Overboard/discoverhue", "keywords": "philips hue", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "discoverhue", "package_url": "https://pypi.org/project/discoverhue/", "platform": "", "project_url": "https://pypi.org/project/discoverhue/", "project_urls": { "Homepage": "https://github.com/Overboard/discoverhue" }, "release_url": "https://pypi.org/project/discoverhue/1.0.2/", "requires_dist": [ "httpfind" ], "requires_python": "", "summary": "Auto discovery of Hue bridges", "version": "1.0.2" }, "last_serial": 3700466, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "754adfd27d449bbb40266b3ec693295f", "sha256": "f6f4378fb64a574dbe4a848f6c5170e0ba03d2cf540d58403b33b592a5bf0344" }, "downloads": -1, "filename": "discoverhue-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "754adfd27d449bbb40266b3ec693295f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9446, "upload_time": "2017-08-03T22:44:53", "url": "https://files.pythonhosted.org/packages/4e/33/a9cac813887372d75b1b011406da64c941f534b25ed2a5e72d7730c05a7b/discoverhue-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ebb13aa9ecc05d534070cf4ebefd2eb0", "sha256": "e87f1a1a262e4ce4e6688a8b71c49b3f8508ad88b645c0b8fc93eff75ae18e1c" }, "downloads": -1, "filename": "discoverhue-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ebb13aa9ecc05d534070cf4ebefd2eb0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12666, "upload_time": "2017-08-03T22:44:55", "url": "https://files.pythonhosted.org/packages/ab/de/a5b2c1853c0147325eb919c4be9ffb435af474a00cc1957342db084849d6/discoverhue-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "6728d54f1a318440f1dffa433e105e9d", "sha256": "54452e5a3d580878086da64639b73a3414e91fd5ab77314457e81f7a2b432aff" }, "downloads": -1, "filename": "discoverhue-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6728d54f1a318440f1dffa433e105e9d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10244, "upload_time": "2018-03-23T22:34:12", "url": "https://files.pythonhosted.org/packages/5e/59/1a33d391c50c6a6ac587f8a40724c05384bec95ccce3ebe90b00c0440e66/discoverhue-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd2a29e5d7cb82b22e1cd7ca79157f16", "sha256": "855c691e686191f9b25728732fec6e8129f74d02995e2a7ae56404185a2cafac" }, "downloads": -1, "filename": "discoverhue-1.0.2.tar.gz", "has_sig": false, "md5_digest": "dd2a29e5d7cb82b22e1cd7ca79157f16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13209, "upload_time": "2018-03-23T22:34:13", "url": "https://files.pythonhosted.org/packages/f4/3f/2bcc41c7f754d37d55febae6293322eeaea28f2b0ff226aea5c39a88382a/discoverhue-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6728d54f1a318440f1dffa433e105e9d", "sha256": "54452e5a3d580878086da64639b73a3414e91fd5ab77314457e81f7a2b432aff" }, "downloads": -1, "filename": "discoverhue-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6728d54f1a318440f1dffa433e105e9d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10244, "upload_time": "2018-03-23T22:34:12", "url": "https://files.pythonhosted.org/packages/5e/59/1a33d391c50c6a6ac587f8a40724c05384bec95ccce3ebe90b00c0440e66/discoverhue-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd2a29e5d7cb82b22e1cd7ca79157f16", "sha256": "855c691e686191f9b25728732fec6e8129f74d02995e2a7ae56404185a2cafac" }, "downloads": -1, "filename": "discoverhue-1.0.2.tar.gz", "has_sig": false, "md5_digest": "dd2a29e5d7cb82b22e1cd7ca79157f16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13209, "upload_time": "2018-03-23T22:34:13", "url": "https://files.pythonhosted.org/packages/f4/3f/2bcc41c7f754d37d55febae6293322eeaea28f2b0ff226aea5c39a88382a/discoverhue-1.0.2.tar.gz" } ] }