python-heatzy - Python Heatzy controller
heatzy
Heatzy (https://heatzy.com/) is a provider of heating control solutions (such as Pilot Wire addons to radiators). There is an API available on Google Drive, this software was created to control the Pilot Wire solution from a Python library.
Usage
Python
# First create the handler with your heatzy app login/password
hh = HeatzyHandler('bidon@bidon.fr', 'p@ssw0rd')
# Get the devices (HeatzyDevice) associated to your account
deviceDict = hh.getHeatzyDevices()
for device_name in deviceDict:
hd = deviceDict[device_name]
hd.status() # Returns the status (OFF, ECO, HGEL, CONFORT)
hd.confort() # Sets the instruction to confort
hd.stop() # Sets to OFF
CLI
A CLI tool for interacting with the library is included (bin/heatzy-cli)
python .\heatzy.py
usage: heatzy.py [-h] [-u USERNAME] [-p PASSWORD] [-d DEVICE] [-l]
[-m SETMODE]
Controls Heatzy devices throught the CLI
optional arguments:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
Username on the Heatzy (Gizwits) platform
-p PASSWORD, --password PASSWORD
Password of the user
-d DEVICE, --device DEVICE
Name of the Heatzy device you wish to control
-l, --list List all devices
-m SETMODE, --setmode SETMODE
Sets the mode of the device
python heatzy.py -u login@heatzy.com -p p@ssw0rd -l # Lists the devices
python heatzy.py -u login@heatzy.com -p p@ssw0rd -d Bedroom # Prints the info of the device
python heatzy.py -u login@heatzy.com -p p@ssw0rd -d Bedroom -m ECO # Sets the device in the bedroom in ECO mode
MQTT Daemon
A MQTT Daemon is included to interact remotely with a MQTT-enabled home automation software (this was created with Home Assistant in mind)
python .\heatzy-mqtt
usage: heatzy-mqtt [-h] [-u USERNAME] [-p PASSWORD] [-s SERVER] [-i PORT]
Controls Heatzy devices throught the CLI
optional arguments:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
Username on the Heatzy (Gizwits) platform
-p PASSWORD, --password PASSWORD
Password of the user
-s SERVER, --server SERVER
Broker IP or hostname
-i PORT, --port PORT Broker MQTT Port (default : 1883)
Metadata
Release files for heatzy 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| heatzy-0.0.1.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| heatzy-0.0.1-py3.6.egg | Legacy Egg format | - | - | Details |
Total release size: 15.3 kB
Release files / heatzy-0.0.1.tar.gz
| Download URL | heatzy-0.0.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5358cb8df352ccafaf2ef37657361d636e802b015c4645525f84afcda4c755b
|
|
BLAKE2b-256 checksum How to use checksums |
a6a9d5e88cc97da47b97a9ea5658d91f86bb948c2035692c6b74e5d0d55771a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Release files / heatzy-0.0.1-py3.6.egg
| Download URL | heatzy-0.0.1-py3.6.egg |
|---|---|
| Size | 9.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
ad32b4cb82336e29a75084e996f67c0d804e49a04ed5d0476666dfbba4b248e5
|
|
BLAKE2b-256 checksum How to use checksums |
35687a6c7141c2eee49fffd7a08871b185ab25c760aca29da6169068cb47ba76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|