pyfibaro
Simple API to access fibaro home center from any Python 3 script. Designed for Home Assistant (but not only)
What it is and what it does
pyfibaro is a lightweight Python wrapper around the Fibaro home automation hub REST API. It abstracts authentication, device enumeration, and action execution into a simple client interface, allowing you to query device state and trigger actions (like turning devices on/off) from Python code.
The library was originally built for Home Assistant integration but works as a standalone tool for any project needing to control Fibaro-compatible hubs. It depends only on requests and supports Python 3.11 and later, making it straightforward to add to existing automation scripts or integrations.
Use it for:
- Query device status and metadata from a Fibaro hub in a home automation script or daemon.
- Trigger device actions (turnOn, turnOff, etc.) programmatically from Python without manual API calls.
- Integrate Fibaro hub control into a larger Home Assistant or custom automation platform.
- Monitor and log device state changes by polling the hub at intervals.
- Build custom automation rules that respond to external events by controlling Fibaro devices.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client library to interact with Fibaro home automation hubs (Home Center 2/3, Yubii Home, Zooz Z-Box) via their REST API, enabling device control and status queries.
Yes, if you own a Fibaro hub and need Python integration. The library is actively maintained, has no known vulnerabilities, installs cleanly, and uses a permissive license. The single dependency (requests) is stable and widely trusted. Start with the provided examples to verify your hub is reachable and your credentials work.
Install
pyfibaro on PyPI
pip
pip install pyfibarouv
uv add pyfibaropoetry
poetry add pyfibaroInstalling pyfibaro
Before you install
Low friction installation with a single dependency (requests). Actively maintained as of 2026-04-01 with recent releases; supports modern Python versions (3.11–3.13).
License in practice
MIT license permits use, modification, and distribution with minimal restrictions; suitable for both open-source and proprietary projects.
Quickstart
pip install pyfibaro
from pyfibaro import FibaroClient
client = FibaroClient("http://192.168.1.2/api/")
client.set_authentication("username", "password")
client.connect()
devices = client.read_devices()
Requires a Fibaro hub (Home Center 2/3, Yubii Home, or Zooz Z-Box) accessible on the network with a configured user account.
Verify before relying
- Actual test coverage and test suite maturity beyond the existence of a test script.
- Whether Zooz Z-Box Hub support is production-ready given it is noted as untested.
- API completeness relative to the full Fibaro REST API surface.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | actively maintained — 448 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,546/month — #14,979 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyfibaro-0.8.3-py3-none-any.whl
Tags
More Home Automation packages
Represents and manipulates IPv4, IPv6, MAC…
permissive · top 5,000 on PyPI
homeassistantHome Assistant is an open-source home…
permissive · top 5,000 on PyPI
python-statemachineDefines finite state machines and statecharts…
permissive · top 5,000 on PyPI
btsocketA Python library for controlling BlueZ…
permissive · top 15,000 on PyPI
aiohomematicAn async Python library for controlling and…
permissive · top 15,000 on PyPI
hass-web-proxy-libProvides base classes and utilities for Home…
permissive · top 15,000 on PyPI
aiohasupervisorAsynchronous Python client library for…
permissive · top 15,000 on PyPI
pyswitchbeeA Python library for controlling SwitchBee…
permissive · top 15,000 on PyPI
pyoverkizAn asynchronous Python client for the OverKiz…
permissive · top 15,000 on PyPI
meross-iotA Python library for controlling Meross IoT…
permissive · top 15,000 on PyPI
pysensiboProvides an asyncio-friendly Python API client…
permissive · top 15,000 on PyPI
python-miioPython library and CLI tool for controlling…
copyleft · top 15,000 on PyPI
pymielepymiele is a Python library that enables Home…
permissive · top 15,000 on PyPI
home-assistant-frontendProvides the web-based user interface for Home…
permissive · top 15,000 on PyPI