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.
Full documentation is available at imicknl.github.io/python-overkiz-api:
- Getting started — cloud and local API setup
- Core concepts — clients, servers, credentials, and models
- Device control and event handling
- Migrating from v1
- SDK reference
- Atlantic Cozytouch
- Bouygues Flexom
- Brandt Smart Control *
- Hitachi Hi Kumo
- Nexity Eugénie
- Rexel Energeasy Connect **
- Sauter Cozytouch
- Simu (LiveIn2)
- Somfy Connexoon IO
- Somfy Connexoon RTS
- Somfy TaHoma
- Somfy TaHoma Switch
- Thermor Cozytouch
[*] 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. [**] Requires OAuth credentials provided by Rexel.
pip install pyoverkizConnect 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.
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.
We welcome contributions! To get started with setting up this project for development, follow the steps below.
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.
- Install uv.
- Clone this repository and navigate to it:
cd python-overkiz-api - Initialize the project with
uv sync, then runuv run prek install
uv run pytest