skillfed

pyfibaro

Simple API to access fibaro home center from any Python 3 script. Designed for Home Assistant (but not only)

pyfibaro v0.8.3 73.5K downloads/30d#14,979 on PyPI6
Permissive license MIT Active released

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 pyfibaro

uv

uv add pyfibaro

poetry

poetry add pyfibaro

Installing 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

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Home Automation

Tags

fibaro home automation api clientfibaro home center pythonsmart home device controlfibaro rest api wrapperhome automation integrationfibaro device managementz-wave hub python client
home-automationfibaro-integrationrest-api-client

More Home Automation packages