All Projects → home-assistant → Netdisco

home-assistant / Netdisco

Licence: other
🔎 Python library to scan local network for services and devices.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Netdisco

netdisco
🔎 Python library to scan local network for services and devices.
Stars: ✭ 252 (+5%)
Mutual labels:  home-automation, discovery, internet-of-things, home-assistant, upnp
Awesome Home Assistant
A curated list of amazingly awesome Home Assistant resources.
Stars: ✭ 3,487 (+1352.92%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Homeassistant
Example Home Assistant Configs
Stars: ✭ 168 (-30%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Homeassistant
Example Home Assistant Configs
Stars: ✭ 846 (+252.5%)
Mutual labels:  home-assistant, home-automation, internet-of-things
home-assistant-notebooks
📓 Sample Jupyter Notebooks to explore Home Assistant data
Stars: ✭ 49 (-79.58%)
Mutual labels:  home-automation, internet-of-things, home-assistant
jarvis
Jarvis Home Automation
Stars: ✭ 81 (-66.25%)
Mutual labels:  home-automation, internet-of-things, home-assistant
Home Assistant Config
Home Assistant config files, rewritten to use the latest features, 100+ documented automations, automatically generated ToC 🏠 🤖
Stars: ✭ 926 (+285.83%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Esphome Core
🚨 No longer used 🚨 - The C++ framework behind ESPHome
Stars: ✭ 545 (+127.08%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Home Assistant Js Websocket
🚡 JavaScript websocket client for Home Assistant
Stars: ✭ 100 (-58.33%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Ha Floorplan
Floorplan for Home Assistant
Stars: ✭ 1,626 (+577.5%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Ha Tts Bluetooth Speaker
TTS Bluetooth Speaker for Home Assistant
Stars: ✭ 140 (-41.67%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Homeassistant Config
Stars: ✭ 211 (-12.08%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Home assistant files
Here are my Home Assistant configuration files
Stars: ✭ 159 (-33.75%)
Mutual labels:  home-assistant, home-automation, internet-of-things
aioesphomeapi
Python Client for ESPHome native API. Used by Home Assistant.
Stars: ✭ 52 (-78.33%)
Mutual labels:  home-automation, internet-of-things, home-assistant
hifiberry
This is a custom component to allow control of HifiberryOS devices in Home Assistant using the audiocontrol2 REST API.
Stars: ✭ 26 (-89.17%)
Mutual labels:  home-automation, internet-of-things, home-assistant
Home Assistant Config
🏠 My Home Assistant configuration, a bit different that others :) Be sure to 🌟 this repository for updates!
Stars: ✭ 1,050 (+337.5%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Entity Controller
Entity and lighting controller for managing devices via timers, scripts, and sun-based time restrictions.
Stars: ✭ 156 (-35%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Home Assistant
Home-Assistant-Config
Stars: ✭ 182 (-24.17%)
Mutual labels:  home-assistant, home-automation, internet-of-things
Itunes Api
🎵 A simple server providing a RESTful service for controlling iTunes
Stars: ✭ 166 (-30.83%)
Mutual labels:  home-assistant, home-automation
Node Red Contrib Home Assistant Websocket
Node-RED integration with Home Assistant Core
Stars: ✭ 222 (-7.5%)
Mutual labels:  home-assistant, home-automation

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']
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].