Skip to main content

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.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


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.4.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file pypalazzetti-0.1.4.tar.gz.

File metadata

  • Download URL: pypalazzetti-0.1.4.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pypalazzetti-0.1.4.tar.gz
Algorithm Hash digest
SHA256 920ccf998d094856044bc3f44aab9843f32353aabf7be03e2b08cccc902ab17c
MD5 380f684f4a9e1064aee3798c6ab4c0b3
BLAKE2b-256 684715a08ef4e15408443f5aa5453544c1af36c0c9e5823588683ffb05e726c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page