Provides authentication and access to Heatzy module
Project description
heatzypy
Manage your Heatzy in Python
Check your config, enable or disable heater, change preset mode.
Install
Use the PIP package manager
$ pip install heatzypy
Or manually download and install the last version from github
$ git clone https://github.com/cyr-ius/heatzypy.git
$ python setup.py install
Get started
# Import the heatzypy package.
import asyncio
from heatzypy import HeatzyClient
async def main():
api = HeatzyClient("username", "password")
devices = await api.async_get_devices()
for device in devices:
name = device.get("dev_alias")
data = await api.async_get_device(device["did"])
mode = data.get("attr").get("mode")
logger.info("Heater : {} , mode : {}".format(name, mode))
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Have a look at the example.py for a more complete overview.
Notes on HTTPS
Not implemented
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file heatzypy-2.5.9.tar.gz.
File metadata
- Download URL: heatzypy-2.5.9.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d5d7755c190b5f2b24c07c9d6537f240bc467e92bcb58c063e2df84a29f8347
|
|
| MD5 |
f6e04f7e59365fa7d683cfadda3a8c13
|
|
| BLAKE2b-256 |
67b6b40497f9eab10f260cd13493b036dd946febb594b0ac4c76cbdc7939fbd8
|
Provenance
The following attestation bundles were made for heatzypy-2.5.9.tar.gz:
Publisher:
python-publish.yml on cyr-ius/heatzypy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
heatzypy-2.5.9.tar.gz -
Subject digest:
8d5d7755c190b5f2b24c07c9d6537f240bc467e92bcb58c063e2df84a29f8347 - Sigstore transparency entry: 903323082
- Sigstore integration time:
-
Permalink:
cyr-ius/heatzypy@e8f3bfc0f1f4541e98b4399f0d46dce117763fe4 -
Branch / Tag:
refs/tags/2.5.9 - Owner: https://github.com/cyr-ius
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e8f3bfc0f1f4541e98b4399f0d46dce117763fe4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file heatzypy-2.5.9-py3-none-any.whl.
File metadata
- Download URL: heatzypy-2.5.9-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0164ff04c723159692248c439065e8498f3fb51f0a2569f5ad3c4612b17aea7
|
|
| MD5 |
ac4e2e620021aac6496f338f1e3094a1
|
|
| BLAKE2b-256 |
3c012fea396a99aadc885ff73717284039f00638a0e001c339279213d0e3d2ce
|
Provenance
The following attestation bundles were made for heatzypy-2.5.9-py3-none-any.whl:
Publisher:
python-publish.yml on cyr-ius/heatzypy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
heatzypy-2.5.9-py3-none-any.whl -
Subject digest:
b0164ff04c723159692248c439065e8498f3fb51f0a2569f5ad3c4612b17aea7 - Sigstore transparency entry: 903323152
- Sigstore integration time:
-
Permalink:
cyr-ius/heatzypy@e8f3bfc0f1f4541e98b4399f0d46dce117763fe4 -
Branch / Tag:
refs/tags/2.5.9 - Owner: https://github.com/cyr-ius
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e8f3bfc0f1f4541e98b4399f0d46dce117763fe4 -
Trigger Event:
workflow_dispatch
-
Statement type: