A Python library to access and control a Palazzetti stove through a Palazzetti Connection Box
Project description
py-palazzetti-api
A Python library to access and control a Palazzetti stove through a Palazzetti Connection Box.
Getting started
import asyncio
from pypalazzetti.client import PalazzettiClient
async def main():
client = PalazzettiClient("192.168.1.2")
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"Set fan speed: {await client.set_fan_auto()}")
print(f"Fan speed: {client.fan_speed}")
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
pypalazzetti-0.1.3.tar.gz
(7.0 kB
view details)
Built Distribution
File details
Details for the file pypalazzetti-0.1.3.tar.gz
.
File metadata
- Download URL: pypalazzetti-0.1.3.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b832ee06633b7c99c365fd6c97db5dadc0d41554587ae5c75729e48fc9c0270 |
|
MD5 | 5d70c7641b8ac4ee570d94d8e50dceaf |
|
BLAKE2b-256 | 273b045b5f1b8a55e914bb08896de253fa2eb87257208790bc4c526a3d202f83 |
File details
Details for the file pypalazzetti-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: pypalazzetti-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74eb1b13f33c6f2244804368f2cb168309c54b4caab48ba1fa6d421a808c0575 |
|
MD5 | 0973bb3c544fff875a24ac451a3492eb |
|
BLAKE2b-256 | 61f941ba9317c3a40029a019b7ccc0b80c4d7bda9a4e925db7aa2c52f1a4fff8 |