pyhiveapi
A Python library to interface with the Hive API
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and provides a dual async/sync API for Hive smart home control. Low install friction and stable status make it a safe choice for Home Assistant users or standalone Hive automation. Verify the Python version requirement before installing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Hive account credentials (username/password) are required; guest accounts are not supported.
- Verify your Python version matches the actual minimum requirement.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this library freely in commercial and private projects with minimal restrictions — just include the license notice.
last release 2023-12-11 (977 days) · last repo commit 2026-08-07 · 32 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 115,217 downloads/mo, #12,264 on PyPI
Alternatives
Verify before relying
from pyhiveapi import Auth, Hive
auth = Auth(username="user@example.com", password="yourpassword")
tokens = auth.login()
hive = Hive(username="user@example.com", password="yourpassword")
hive.startSession({"tokens": tokens})
for device in hive.session.data.devices.values():
print(device)- Classifiers declare support for Python 3.6–3.9, but description states 'Requires Python 3.10+'; which is the actual minimum?
- Whether the package works standalone outside Home Assistant as claimed, or if Home Assistant integration is a primary use case with limitations elsewhere.
- Performance characteristics and polling frequency tuning options for large device counts or high-frequency state updates.
- Exact capabilities and control options for each device type (heating, hot water, lights, plugs, sensors, hub/sense).
What it is and what it does
pyhive-integration is a Python client library for the Hive smart home platform, providing both async and sync APIs to discover, monitor, and control Hive devices (thermostats, hot water, lights, plugs, sensors, and hubs). It handles AWS Cognito SRP authentication with optional SMS two-factor authentication, automatic token refresh, and a polling-based device cache. The library is designed primarily for Home Assistant integration but works standalone.
The package ships two entry points: one async and one sync, both built from the same source. It supports a wide range of Hive device types with granular control and includes a file-based offline mode for testing without live credentials. Eight runtime dependencies (boto3, requests, aiohttp, loguru, and others) handle authentication, HTTP communication, and logging.
Use it for
- Integrate Hive heating and hot water control into Home Assistant automations and dashboards.
- Build standalone Python scripts to monitor and control Hive devices on a schedule.
- Develop a custom smart home dashboard that queries Hive device state and sends commands.
- Test Hive device logic and integrations offline using the file-based fixture mode without real credentials.
- Automate lighting control (brightness, color, on/off) based on external events or time-based rules.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and provides a dual async/sync API for Hive smart home control. Low install friction and stable status make it a safe choice for Home Assistant users or standalone Hive automation. Verify the Python version requirement before installing.
Install
pyhiveapi on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained with a recent commit (2026-08-07) and stable status. Eight runtime dependencies are all well-established libraries (boto3, requests, aiohttp, loguru, etc.), so dependency resolution should be straightforward.
Hive account credentials (username/password) are required; guest accounts are not supported. Verify your Python version matches the actual minimum requirement.
License in practice
MIT license (permissive) means you can use, modify, and distribute this library freely in commercial and private projects with minimal restrictions — just include the license notice.
Quickstart
from pyhiveapi import Auth, Hive
auth = Auth(username="user@example.com", password="yourpassword")
tokens = auth.login()
hive = Hive(username="user@example.com", password="yourpassword")
hive.startSession({"tokens": tokens})
for device in hive.session.data.devices.values():
print(device)
Verify before relying
- Classifiers declare support for Python 3.6–3.9, but description states 'Requires Python 3.10+'; which is the actual minimum?
- Whether the package works standalone outside Home Assistant as claimed, or if Home Assistant integration is a primary use case with limitations elsewhere.
- Performance characteristics and polling frequency tuning options for large device counts or high-frequency state updates.
- Exact capabilities and control options for each device type (heating, hot water, lights, plugs, sensors, hub/sense).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagespre-commitboto3botocorerequestsaiohttppyqueryunasyncloguru |
| Maintenance | Actively maintained 977 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 115,217 / month, #12,264 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: pyhiveapi-0.5.16-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “hive smart home api”
- pyhiveapiA Python library for controlling Hive smart home devices (heating,…
- pyswitchbeeA Python library for controlling SwitchBee smart home devices over…
- python-kasaControl TP-Link Kasa and Tapo smart home devices (plugs, switches,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also aiohue · iaqualink · PyHive · pyswitchbee · PyViCare · boschshcpy · myPyllant · pure-transport · homematicip · python-hpilo