A Python library to access and control a Palazzetti stove through a Palazzetti Connection Box
Project description
Python Palazzetti API
An async Python library to access and control a Palazzetti stove through a Palazzetti Connection Box or a WPAlaControl.
Getting started
import asyncio
from pypalazzetti.client import PalazzettiClient
async def main():
client = PalazzettiClient("192.168.1.73")
print(f"Connection: {await client.connect()}")
print(f"Check if online: {await client.is_online()}")
print(f"Update: {await client.update_state()}")
print(f"MAC address: {client.mac}")
print(f"Name: {client.name}")
print(f"Room temperature: {client.room_temperature}")
print(f"Target temperature: {client.target_temperature}")
print(f"Status: {client.status}")
print(f"Set target temperature: {await client.set_target_temperature(22)}")
print(f"Target temperature: {client.target_temperature}")
print(f"Min fan speed: {client.fan_speed_min}")
print(f"Max fan speed: {client.fan_speed_max}")
print(f"Set fan speed: {await client.set_fan_auto()}")
print(f"Fan speed: {client.fan_speed}")
print("---")
for temp in client.list_temperatures():
print(f"{temp.description_key}={temp.value}")
print("---")
print(client.to_json())
asyncio.new_event_loop().run_until_complete(main())
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 pypalazzetti-0.1.19.tar.gz.
File metadata
- Download URL: pypalazzetti-0.1.19.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
795be714bee074706f0892029f39ef2bd722c506570ca478b949365dadf8f285
|
|
| MD5 |
2a49bcd8c20211230570606d2ee15da7
|
|
| BLAKE2b-256 |
9e14d0bfe85ddec254d8f42050517812d3344a3fcedbd4e7cad7f7b6bf32f2ca
|
Provenance
The following attestation bundles were made for pypalazzetti-0.1.19.tar.gz:
Publisher:
publish.yml on dotvav/py-palazzetti-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypalazzetti-0.1.19.tar.gz -
Subject digest:
795be714bee074706f0892029f39ef2bd722c506570ca478b949365dadf8f285 - Sigstore transparency entry: 161821577
- Sigstore integration time:
-
Permalink:
dotvav/py-palazzetti-api@0334f95f6ce6b79c9a91a96ef7ada8b940d82f8a -
Branch / Tag:
refs/tags/v0.1.19 - Owner: https://github.com/dotvav
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0334f95f6ce6b79c9a91a96ef7ada8b940d82f8a -
Trigger Event:
release
-
Statement type:
File details
Details for the file pypalazzetti-0.1.19-py3-none-any.whl.
File metadata
- Download URL: pypalazzetti-0.1.19-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8982aa0cc23a4a61039d04861beb92f0f118dc3d13d41bce9916c4111b96e2ec
|
|
| MD5 |
745e1aef5110bdcb3a20556eadc9d990
|
|
| BLAKE2b-256 |
9aca4c708c356f8b50d3f6ee681bac84a8c8c9142edc1b0552f2700eb3e9bc46
|
Provenance
The following attestation bundles were made for pypalazzetti-0.1.19-py3-none-any.whl:
Publisher:
publish.yml on dotvav/py-palazzetti-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypalazzetti-0.1.19-py3-none-any.whl -
Subject digest:
8982aa0cc23a4a61039d04861beb92f0f118dc3d13d41bce9916c4111b96e2ec - Sigstore transparency entry: 161821578
- Sigstore integration time:
-
Permalink:
dotvav/py-palazzetti-api@0334f95f6ce6b79c9a91a96ef7ada8b940d82f8a -
Branch / Tag:
refs/tags/v0.1.19 - Owner: https://github.com/dotvav
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0334f95f6ce6b79c9a91a96ef7ada8b940d82f8a -
Trigger Event:
release
-
Statement type: