Skip to main content

A Python client for LAN communications with Tewke devices

Project description

pytewke

Python library for interacting with Tewke devices over CoAP on a local network.

CoAP Client

The library provides a Panel class for interacting with Tewke Tap Panel devices.

Method Description
discover() Discovers device capabilities and resources.
get_sensors() Retrieves sensor data from the device.
get_device_state() Fetches the current state of all device endpoints.
get_targets() Gets the target data from the device.
get_scenes() Retrieves the available scenes from the Tap.

Usage

Discovering Devices

The example demonstrates a find_tewke_devices() function to find devices using zeroconf. This functionality is not provided by the library itself.

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

pytewke-0.4.0.tar.gz (18.0 MB view details)

Uploaded Source

Built Distribution

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

pytewke-0.4.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file pytewke-0.4.0.tar.gz.

File metadata

  • Download URL: pytewke-0.4.0.tar.gz
  • Upload date:
  • Size: 18.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pytewke-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a054deff2d772ab9eb305125c9a7573a78bf6a598281dbfca929166666db1b0f
MD5 687481754db7f8149b88d558951ff9bf
BLAKE2b-256 8d0049fbbf51089bab0b28d126a203dfa6d1a71d7c6425937dc8491f4a530209

See more details on using hashes here.

File details

Details for the file pytewke-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pytewke-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pytewke-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9306cf2a92919241c18a1f6e6786bc8e2d570dfb672d65602547092c627f0997
MD5 f830600e19cc24bc23c0314ba35066b2
BLAKE2b-256 fe949708db3eeb66ac5d9db75a385d6f392f3c0892fc4b2d9d5946be0f32f7e4

See more details on using hashes here.

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