Skip to main content

Async Python library for interacting with CAME Domotic home automation systems. Provides automatic session management and device control.

Project description

Welcome!

License: Apache 2.0 Python 3.12 | 3.13 | 3.14 SonarCloud - Security Rating SonarCloud - Vulnerabilities SonarCloud - Bugs Documentation status

The CAME Domotic Library (aiocamedomotic) provides a streamlined Python interface for interacting with CAME Domotic plants, much like the official CAME Domotic app. This library is designed to simplify the management of domotic devices by abstracting the complexities of the CAME Domotic API.

Although primarily developed for use with Home Assistant, the library is freely available under the Apache license 2.0 for anyone interested in experimenting with a CAME Domotic plant.

Security considerations

CAME ETI/Domo servers expose their API over plain HTTP only: all traffic between this library and the server, including the username and password sent at login, travels unencrypted on your local network. This is a limitation of the CAME hardware and its proprietary protocol, not of this library — the official CAME clients communicate the same way, and the server offers no TLS/HTTPS endpoint.

In practice this means that anyone able to sniff traffic on your LAN could capture your CAME credentials and control your plant. To keep your installation safe:

  • Keep the CAME server on a trusted local network (ideally a dedicated VLAN or an isolated IoT network segment).

  • Never expose the CAME server’s HTTP port directly to the internet (no port forwarding). For remote access, use a VPN into your home network.

  • Use a dedicated CAME user with a password not reused for any other service.

On its side, the library never persists your credentials to disk, keeps them encrypted in memory, and automatically redacts passwords and other sensitive values from its debug and traffic logs.

Key Features

  • Simplicity: Easy interaction with domotic entities.

  • Automatic session management: No need for manual login or session handling.

  • Real-time updates: Built-in long-polling support with typed update classes for monitoring device state changes as they happen.

  • First of its kind: Unique in providing integration with CAME Domotic systems.

  • Open source: Freely available under the Apache 2.0 license, inviting contributions and adaptations.

Quick Start

Have a look at the following guides to learn how to install and use the library:

Once you are a bit more familiar with the library, you may want to explore the following resources too:

Acknowledgments

Special thanks to Andrea Michielan for his foundational work with the eti_domo library, which greatly facilitated the initial development of this library. We also found great inspiration in the Home Assistant document Building a Python library for an API.

License

This project is licensed under the Apache License 2.0. For more details, see the LICENSE file on GitHub.

Project details


Download files

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

Source Distribution

aiocamedomotic-1.11.0.tar.gz (52.2 kB view details)

Uploaded Source

Built Distribution

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

aiocamedomotic-1.11.0-py3-none-any.whl (71.5 kB view details)

Uploaded Python 3

File details

Details for the file aiocamedomotic-1.11.0.tar.gz.

File metadata

  • Download URL: aiocamedomotic-1.11.0.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aiocamedomotic-1.11.0.tar.gz
Algorithm Hash digest
SHA256 4e967c8eb23e07d77ad052d54895832848bff953456e89ab7ef00b86f571b578
MD5 dfcc0e299a0edf876a028564c4286365
BLAKE2b-256 7a22eb96f5f94859774260285fe9f952649ae928d34446ff0756b2769f377bbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocamedomotic-1.11.0.tar.gz:

Publisher: build-publish.yml on camedomotic-unofficial/aiocamedomotic

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

File details

Details for the file aiocamedomotic-1.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiocamedomotic-1.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ce61398073754fffaa5055b3409feb2b64fbd07790659580b4a4385d8b80d38
MD5 6454e31cc230baf8e5e53ad62bc83cc3
BLAKE2b-256 d13eb26d49bbfee3df8d0eb71a0a24ec1f7fabfc43548ea28cb940ed5f099c5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocamedomotic-1.11.0-py3-none-any.whl:

Publisher: build-publish.yml on camedomotic-unofficial/aiocamedomotic

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