Skip to main content

pyfibaro

license pypi package python version

This project has no relation to the fibaro company.

Simple API to access fibaro home center from Python 3. For more detailed information about the API see

Home center 2 / Home center lite

Home center 3 / Home center 3 lite / Yubii Home

The Zooz Z-Box Hub is powered as well by Software from Fibaro and supports currently the same API. This means that the pyfibaro library as well supports the Zooz Z-Box Hub (this support is untested as there is no public API documentation about the Zooz Z-Box Hub).

The pyfibaro library was created for integrating the fibaro home center with home assistant but can be used also in other projects.

Install

To install pyfibaro simply type

pip install pyfibaro

Authentication

All endpoints of the fibaro home center except info and login status needs an authenticated user. Just create a user in the fibaro home center with enough rights.

Development

Easiest way to start developing is to use Visual Studio Code + devcontainer.

Prerequisites

Docker

Visual Studio code

Getting started

  1. Fork this repository
  2. Enter the following link in your browser: vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=<your github repository url>
  3. When Visual Studio Code asks if you want to install the Remote extension, click "Install".

For additional information about Visual Studio Code + devcontainer learn more about devcontainers.

Testing

Run the script

script/test

This will run all unit tests with code coverage enabled.

Usage

client = FibaroClient("http://192.168.1.2/api/")
client.set_authentication("your_fibaro_username", "your_fibaro_password")
client.connect()

devices = client.read_devices()
for device in devices:
    print(f"Device {device.fibaro_id}: {device.name}")

devices[10].execute_action("turnOn")

See folder examples for additional examples.

Metadata

Release files for pyfibaro 0.8.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfibaro 0.8.4
File Size Uploaded Provenance Actions
pyfibaro-0.8.4.tar.gz 21.1 kB Without provenance Details for pyfibaro-0.8.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyfibaro 0.8.4
File Interpreter ABI Platform Actions
pyfibaro-0.8.4-py3-none-any.whl Python 3 none any Details for pyfibaro-0.8.4-py3-none-any.whl

Total release size: 40.3 kB

Release files / pyfibaro-0.8.4.tar.gz

Download URL pyfibaro-0.8.4.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6aa8ebbbbf6d36421425f03ef99528b725e6a7079e4cbd4d9c0131a1aca06bee
BLAKE2b-256 checksum
How to use checksums
40887cd263209852ac52c55a36bd96e4d793805ac52b333e96f4d313afb76307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / pyfibaro-0.8.4-py3-none-any.whl

Download URL pyfibaro-0.8.4-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2479036b4d59a0d28764176c6a46013ab5d0f9d09a17f2b5a089c16fc928e311
BLAKE2b-256 checksum
How to use checksums
3baee9555609e3276acbb22122730c1470b153faa2721b471b9813de984afc33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for pyfibaro 0.8.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page