{"categories":[{"label":"Networking","url":"https://skillfed.io/packages/category/system-networking"}],"enrichment":{"capability":"Async Python client library for communicating with ESPHome devices over the Native API, supporting encrypted and plaintext connections.","skillfed_tags":["esphome","home-automation","async-io"],"use_cases":["Monitor and retrieve state from ESPHome sensors, switches, and lights in a home automation system.","Subscribe to real-time state changes and trigger actions based on device events.","Integrate ESPHome devices with external systems like InfluxDB or custom dashboards.","Discover ESPHome devices on the local network and query their capabilities programmatically.","Build automation workflows that read device telemetry and send control commands asynchronously."],"what_it_does":"aioesphomeapi is an async Python client for the ESPHome Native API protocol, enabling programmatic interaction with devices running ESPHome firmware. It handles connection management, encryption via the Noise protocol, and state subscription over an async event loop. The library depends on protobuf for message serialization, cryptography libraries for encryption, and zeroconf for device discovery.\n\nTypical usage involves instantiating an APIClient with device hostname and port, establishing an encrypted connection with a pre-shared key, then querying device information or subscribing to state changes via callbacks. The package includes CLI tools for log watching and device discovery, and falls back gracefully to pure Python if the optional Cython extension cannot be built.","worth_installing":"Yes. Active maintenance (release within 1 day), no known vulnerabilities, permissive MIT license, and medium install friction with graceful fallback make this suitable for production ESPHome integrations. Install if you need to programmatically interact with ESPHome devices; the optional Cython extension is a nice-to-have but not required."},"id":"aioesphomeapi","links":{"html":"https://skillfed.io/packages/aioesphomeapi","md":"https://skillfed.io/packages/aioesphomeapi.md","pypi":"https://pypi.org/project/aioesphomeapi/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-13","license_spdx":null,"license_treatment":"permissive","name":"aioesphomeapi","python_support":"supports_current","summary":"Python API for interacting with ESPHome devices."},"popularity":{"monthly_downloads":1050770,"position":4442,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"45.10.2"}
