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.
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}")
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.10.tar.gz
(7.7 kB
view details)
File details
Details for the file pypalazzetti-0.1.10.tar.gz
.
File metadata
- Download URL: pypalazzetti-0.1.10.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccc4d29e8f7e059c48289c396cc05c1d80e6ae522a4f9cb7320317e8167c2ba4 |
|
MD5 | 98413ab675c05d1665b994c770b25ff7 |
|
BLAKE2b-256 | 23ad7c6cd0590d7853c3d5a4cf8cc9f5a189253a7f60a9f47e5781250b2e5e33 |