Skip to main content

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


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)

Uploaded Source

Built Distribution

pypalazzetti-0.1.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

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

Hashes for pypalazzetti-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7b832ee06633b7c99c365fd6c97db5dadc0d41554587ae5c75729e48fc9c0270
MD5 5d70c7641b8ac4ee570d94d8e50dceaf
BLAKE2b-256 273b045b5f1b8a55e914bb08896de253fa2eb87257208790bc4c526a3d202f83

See more details on using hashes here.

File details

Details for the file pypalazzetti-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pypalazzetti-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 74eb1b13f33c6f2244804368f2cb168309c54b4caab48ba1fa6d421a808c0575
MD5 0973bb3c544fff875a24ac451a3492eb
BLAKE2b-256 61f941ba9317c3a40029a019b7ccc0b80c4d7bda9a4e925db7aa2c52f1a4fff8

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