{"id":13586755,"url":"https://github.com/home-assistant-libs/netdisco","last_synced_at":"2025-10-08T00:31:54.453Z","repository":{"id":25338615,"uuid":"28765925","full_name":"home-assistant-libs/netdisco","owner":"home-assistant-libs","description":":mag_right: Python library to scan local network for services and devices.","archived":true,"fork":false,"pushed_at":"2021-10-01T16:17:51.000Z","size":298,"stargazers_count":268,"open_issues_count":0,"forks_count":143,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-01-11T07:42:01.364Z","etag":null,"topics":["discovery","home-assistant","home-automation","internet-of-things","mdns","python","upnp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/home-assistant-libs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-04T06:07:06.000Z","updated_at":"2024-11-06T08:10:10.000Z","dependencies_parsed_at":"2022-08-23T05:40:25.471Z","dependency_job_id":null,"html_url":"https://github.com/home-assistant-libs/netdisco","commit_stats":null,"previous_names":["home-assistant/netdisco"],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant-libs%2Fnetdisco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant-libs%2Fnetdisco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant-libs%2Fnetdisco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant-libs%2Fnetdisco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/home-assistant-libs","download_url":"https://codeload.github.com/home-assistant-libs/netdisco/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235669382,"owners_count":19026815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discovery","home-assistant","home-automation","internet-of-things","mdns","python","upnp"],"created_at":"2024-08-01T15:05:47.531Z","updated_at":"2025-10-08T00:31:49.164Z","avatar_url":"https://github.com/home-assistant-libs.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"## This library is deprecated. We will no longer release new versions, fix bugs or accept pull requests. If you are looking to make your Home Assistant integration discoverable, use [the zeroconf and SSDP manifest options](https://developers.home-assistant.io/docs/en/next/creating_integration_manifest.html#zeroconf).\n\n# NetDisco\n\nNetDisco is a Python 3 library to discover local devices and services. It allows to scan on demand or offer a service that will scan the network in the background in a set interval.\n\nCurrent methods of scanning:\n\n - mDNS (includes Chromecast, Homekit)\n - uPnP\n - Plex Media Server using Good Day Mate protocol\n - Logitech Media Server discovery protocol\n - Daikin discovery protocol\n - Web OS discovery protocol\n\nIt is the library that powers the device discovery within [Home Assistant](https://home-assistant.io/).\n\n### We are no longer accepting PRs that implement custom discovery protocols. Only PRs that use mDNS or uPnP are supported. See [this issue](https://github.com/home-assistant/netdisco/issues/230)\n\n## Installation\n\nNetdisco is available on PyPi. Install using `pip3 install netdisco`.\n\n## Example\n\nFrom command-line:\n\n```bash\npython3 -m netdisco\n# To see all raw data:\npython3 -m netdisco dump\n```\n\nIn your script:\n\n```python\nfrom netdisco.discovery import NetworkDiscovery\n\nnetdis = NetworkDiscovery()\n\nnetdis.scan()\n\nfor dev in netdis.discover():\n    print(dev, netdis.get_info(dev))\n\nnetdis.stop()\n```\n\nWill result in a list of discovered devices and their most important information:\n\n```\nDLNA ['http://192.168.1.1:8200/rootDesc.xml', 'http://192.168.1.150:32469/DeviceDescription.xml']\ngoogle_cast [('Living Room.local.', 8009)]\nphilips_hue ['http://192.168.1.2:80/description.xml']\nbelkin_wemo ['http://192.168.1.10:49153/setup.xml']\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhome-assistant-libs%2Fnetdisco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhome-assistant-libs%2Fnetdisco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhome-assistant-libs%2Fnetdisco/lists"}