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.13.tar.gz (8.7 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.13-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypalazzetti-0.1.13.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pypalazzetti-0.1.13.tar.gz
Algorithm Hash digest
SHA256 b708550379c8eaa0f1df7df9abc7ced411e205a4d32c223e8adc4012324f4a43
MD5 9d09fba45b4d7508111c1500357022f6
BLAKE2b-256 e3927886774f517a5d08fe9b9be8243036d8a8b12dab1b37ecd9805c8165ece6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypalazzetti-0.1.13.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.13-py3-none-any.whl.

File metadata

  • Download URL: pypalazzetti-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pypalazzetti-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 15dbaf5252d92154f49b300aa3a427da8905568c2eb7d9e28d6a05e50dd68689
MD5 1cbb9fbc3a30a5c36c31f37daafd466c
BLAKE2b-256 a3c3f819115508f1820b249ca02e2df5ac32577a541c97d34029db2726ae2f23

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypalazzetti-0.1.13-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