netdisco 2.8.1
pip install netdisco==2.8.1
Released:
Discover devices on your local network
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache License 2.0)
- Author: Paulus Schoutsen
- Requires: Python >=3
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
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.
NetDisco
NetDisco 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.
Current methods of scanning:
- mDNS (includes Chromecast, Homekit)
- uPnP
- Plex Media Server using Good Day Mate protocol
- Logitech Media Server discovery protocol
- Daikin discovery protocol
- Web OS discovery protocol
It is the library that powers the device discovery within Home Assistant.
We are no longer accepting PRs that implement custom discovery protocols. Only PRs that use mDNS or uPnP are supported. See this issue
Installation
Netdisco is available on PyPi. Install using pip3 install netdisco
.
Example
From command-line:
python3 -m netdisco
# To see all raw data:
python3 -m netdisco dump
In your script:
from netdisco.discovery import NetworkDiscovery
netdis = NetworkDiscovery()
netdis.scan()
for dev in netdis.discover():
print(dev, netdis.get_info(dev))
netdis.stop()
Will result in a list of discovered devices and their most important information:
DLNA ['http://192.168.1.1:8200/rootDesc.xml', 'http://192.168.1.150:32469/DeviceDescription.xml']
google_cast [('Living Room.local.', 8009)]
philips_hue ['http://192.168.1.2:80/description.xml']
belkin_wemo ['http://192.168.1.10:49153/setup.xml']
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache License 2.0)
- Author: Paulus Schoutsen
- Requires: Python >=3
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file netdisco-2.8.1.tar.gz
.
File metadata
- Download URL: netdisco-2.8.1.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
05ca5a8a0be88aa1a919818b0c5208293aa1197518a561545c6947232ee22bc1
|
|
MD5 |
5c28777fba4e904fd735fcefe1c0f5f8
|
|
BLAKE2b-256 |
ede2529126c23c686968ac6223fa0451ef0517a0dc5bf59d49687bfed3865d91
|
File details
Details for the file netdisco-2.8.1-py3-none-any.whl
.
File metadata
- Download URL: netdisco-2.8.1-py3-none-any.whl
- Upload date:
- Size: 51.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fda711121812ff8fa9343d4f9cc38ce0b1d7732f32cba749c086178bdf0299f9
|
|
MD5 |
5c4a910afee73dd38d4f8fe70b097996
|
|
BLAKE2b-256 |
e0122eb9830bd8f92129f35c21a9456b797e5b2ebd3a62ea1ba8b7a260d36371
|