Python interface for Pax Calima Fan
Project description
# 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.
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
Built Distribution
File details
Details for the file Calima-2.0.2.tar.gz
.
File metadata
- Download URL: Calima-2.0.2.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 546d414cc43e62ff69be2dc3e308d4484e1a891de1b8bfbb9e69446876b51bf6 |
|
MD5 | c704be89d4efe5fd09d74bf8b3945aab |
|
BLAKE2b-256 | f7151647cc7ffd8f150bb8d504dc8dc974fbff37aa6e957880a41b888f12cf70 |
File details
Details for the file Calima-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: Calima-2.0.2-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f962653bc460a2d3c52e88a31e6314ffccc35f50d40be8684c8b32f4d16689a8 |
|
MD5 | 876e6ecfd55c539343c39d51b8e92c22 |
|
BLAKE2b-256 | 05482328c1769831eb59a69385dbe4a62f4eb8f8b56404c1b773874e2273b9eb |