Skip to main content

A fully asynchronous API client for interaction with smart devices connected to OverKiz, supporting multiple vendors such as Somfy TaHoma and Atlantic Cozytouch.

Project description

Python client for OverKiz API

A fully asynchronous and user-friendly API client for the OverKiz platform. This client enables interaction with smart devices connected to OverKiz, supporting multiple vendors such as Somfy TaHoma and Atlantic Cozytouch.

This package is primarily used by Home Assistant Core to provide the Overkiz integration. If you wish to use this package in your own project, refer to the full documentation, the example below, or explore the Home Assistant source code for additional usage examples.

Documentation

Full documentation is available at imicknl.github.io/python-overkiz-api:

Supported hubs

Vendor Cloud Local
Atlantic Cozytouch
Bouygues Flexom
Brandt Smart Control †
Hexaom HexaConnect
Hitachi Hi Kumo
Nexity Eugénie
Rexel Energeasy Connect ‡
Sauter Cozytouch
Simu LiveIn2
Somfy
Thermor Cozytouch
Ubiwizz

Local API availability depends on your specific gateway. See the Getting started guide for the supported gateways and setup.

This server's authentication method isn't supported yet. To use it, obtain an access token (by sniffing the original app) and create a local user on the Overkiz API platform.

The cloud API requires OAuth credentials provided by Rexel; the local API uses a token from the EConnect app instead.

Somfy

Gateway Cloud Local
Connexoon IO
Connexoon RTS
TaHoma v2
TaHoma Beecon
TaHoma Switch
Connectivity Kit

Rexel Energeasy Connect

Gateway Cloud Local
Energeasy Connect
Energeasy Connect Rail Din
Energeasy Connect V2
Energeasy Connect V3
Energeasy Connect V3 Rail Din

Installation

pip install pyoverkiz

Getting started

Connect to the cloud API, authenticate, and list your devices:

import asyncio

from pyoverkiz.auth.credentials import UsernamePasswordCredentials
from pyoverkiz.client import OverkizClient
from pyoverkiz.enums import Server


async def main() -> None:
    async with OverkizClient(
        server=Server.SOMFY_EUROPE,
        credentials=UsernamePasswordCredentials("username", "password"),
    ) as client:
        await client.login()

        devices = await client.get_devices()
        for device in devices:
            print(f"{device.label} ({device.device_url}) - {device.controllable_name}")


asyncio.run(main())

For executing commands, listening to events, and connecting to the local API, see the Getting started guide in the documentation.

Projects using pyOverkiz

This package powers the Overkiz integration in Home Assistant Core. Other open-source projects and custom automations also leverage pyOverkiz to interact with Overkiz-compatible hubs and devices, including:

  • overkiz2mqtt: Bridges Overkiz devices to MQTT for integration with various platforms.
  • mcp-overkiz: Implements an MCP server to enable communication between Overkiz devices and language models.
  • tahoma: Command Line Interface (CLI) to control Overkiz devices.

Contribute

We welcome contributions! To get started with setting up this project for development, follow the steps below.

Project setup

Dev Container (recommended)

If you use Visual Studio Code with Docker or GitHub Codespaces, you can take advantage of the included Dev Container. This environment comes pre-configured with all necessary dependencies and tools, including the correct Python version, making setup simple and straightforward.

Manual setup

  • Install uv.
  • Clone this repository and navigate to it: cd python-overkiz-api
  • Initialize the project with uv sync, then run uv run prek install

Tests

uv run pytest

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyoverkiz-2.0.1.tar.gz (118.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyoverkiz-2.0.1-py3-none-any.whl (129.1 kB view details)

Uploaded Python 3

File details

Details for the file pyoverkiz-2.0.1.tar.gz.

File metadata

  • Download URL: pyoverkiz-2.0.1.tar.gz
  • Upload date:
  • Size: 118.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pyoverkiz-2.0.1.tar.gz
Algorithm Hash digest
SHA256 bd46c4b6c8770963680e68a2144d78e6ce6df1d97aa9e191c089beaea704e3e4
MD5 6b4ddb3704001d349840a2e52dac4b46
BLAKE2b-256 adf886c7ddb1d6eb8fe699bbb75a3267e0890d457a2f845b2d45a1606e3586fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyoverkiz-2.0.1.tar.gz:

Publisher: release.yml on iMicknl/python-overkiz-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyoverkiz-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyoverkiz-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 129.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pyoverkiz-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f680383b020a1960943426bc78190fa7bee2fc35f18b8cd44d4c2e268d5b4cf9
MD5 1f77b22b0204eaecc40b888a9e1972d6
BLAKE2b-256 49de01c74d0211d0946ff8747576be3ac8cf907f7e81c9bb89f60b16a9b6c92e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyoverkiz-2.0.1-py3-none-any.whl:

Publisher: release.yml on iMicknl/python-overkiz-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page