Skip to main content

# Pycalima

Simple python interface against the Pax Calima® bathroom fan created and sold by Pax®

This module provides a very simple interface against the various GATT characteristics of the Calima fan, most importantly it handles the authentication so values are actually persisted within the fan.

Uses BluePy

## Installation

Install calima

$sudo python3 -m pip install calima

## Demo usage

from Calima import Calima

fan = Calima("MA:CC:AD:DR:ES:SS", "012345")
print(fan.getAlias())

## Find MAC address

$sudo python3 cmdline.py -l

## Home Assistant integration

Please visit ‘<https://github.com/timutta/homeassistant-paxcalima>’_.

## Command Line Tool

Pretty useful command line tool which among other things can print all the characteristics of a fan. It can also search for available fans if you don’t know the MAC address.

For more on using the tool, just run calima -h.

## Debugging

Set this to True in pycalima/Calima.py file if want to see more verbose output.

self._debug = False

## Documentation

A good readup introductory readup on BLE reverse engineering can be found here.

Some badly structured details about the protocol can be found in the Characteristics file.

There is currently no documentation on the module yet, check the Calima.py file to see available functions.

Release files for Calima 2.0.2

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

Source distribution (sdist)

Source distribution for Calima 2.0.2
File Size Uploaded
Calima-2.0.2.tar.gz 7.9 kB Details

Built distribution (wheel)

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

Total release size:16.8 kB

Release files / Calima-2.0.2.tar.gz

Download URL Calima-2.0.2.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
546d414cc43e62ff69be2dc3e308d4484e1a891de1b8bfbb9e69446876b51bf6
BLAKE2b-256 checksum
How to use checksums
f7151647cc7ffd8f150bb8d504dc8dc974fbff37aa6e957880a41b888f12cf70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

Release files / Calima-2.0.2-py3-none-any.whl

Download URL Calima-2.0.2-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f962653bc460a2d3c52e88a31e6314ffccc35f50d40be8684c8b32f4d16689a8
BLAKE2b-256 checksum
How to use checksums
05482328c1769831eb59a69385dbe4a62f4eb8f8b56404c1b773874e2273b9eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

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