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


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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypalazzetti-0.1.17-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypalazzetti-0.1.17.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pypalazzetti-0.1.17.tar.gz
Algorithm Hash digest
SHA256 c6edb7920de0d64ea4fe56b21dcc5f2c177b8e518e300574c60c2d6361b3db5a
MD5 c249aba59e0fdf76ef9bbcec77fbe8df
BLAKE2b-256 2dfdb4e7bf58c206501ff7f6df9f3c72298dacfca434255ec8437f4df192f0f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypalazzetti-0.1.17.tar.gz:

Publisher: publish.yml on dotvav/py-palazzetti-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: pypalazzetti-0.1.17-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pypalazzetti-0.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 db7f7affccf932d6794dd8a353676aa8cf41b072d9f0e34761be9b23285546e7
MD5 d77ed612d536d3ea7a77f9b81ad3241e
BLAKE2b-256 091d2aaa0f455dc8db8f7d6f02b4ebd194c078340bfdcd45da69fff81c2eefa7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypalazzetti-0.1.17-py3-none-any.whl:

Publisher: publish.yml on dotvav/py-palazzetti-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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