Skip to main content

Python 3 package to interface devices from STALL WIFFI.

Project description

wiffi

Python 3 package to interface devices from STALL WIFFI.

Installation

pip3 install wiffi

Configure the WIFFI device

  1. Set "CCU-IP Adresse myCCUIP" to the IP address of Home Assistant.
  2. Set port for JSON telegrams to configured server port using parameter "send_json".

Usage

class WiffiIntegrationApi:
    def __init__(self, hass, config_entry):
        self._server = WiffiTcpServer(8189, self)

    async def __call__(self, device, metrics):
        # device is of type WiffiDevice
        print(f"mac address = {device.mac_address}")

        for metric in metrics:
            # metric is of type WiffiMetric
            print(f"value = {metric.value} {metric.unit_of_measurement")

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

wiffi-1.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

wiffi-1.1.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file wiffi-1.1.2.tar.gz.

File metadata

  • Download URL: wiffi-1.1.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for wiffi-1.1.2.tar.gz
Algorithm Hash digest
SHA256 e0ff8795b313f61582ab484b0684c5be06bb4b335a806a4ae044ffc5311b0f61
MD5 c55b21298c8984bf17e71218b06c43d9
BLAKE2b-256 6fe784145ef1492540ad1879f3e607f9b055a45d81798a6a2cccbc9601c6164f

See more details on using hashes here.

File details

Details for the file wiffi-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: wiffi-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for wiffi-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1dbc7d84a8648f82c129fe0e81e2ff064228e094579f3ca75eaac5ab37745589
MD5 77a6478d1a36c89d0b0e0461d53668cc
BLAKE2b-256 4717a8a9e66583cb28684d2fb28631fae99633dd131857a5f38ec1c5d1af2ae8

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