Metadata-Version: 2.4
Name: pytewke
Version: 0.4.0
Summary: A Python client for LAN communications with Tewke devices
Project-URL: Homepage, https://gitlab.com/tewke/open-source/pytewke/
Author-email: Kanishkavikram Purohit <kpurohit@tewke.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Home Automation
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: aiocoap>=0.4.17
Requires-Dist: cbor2>=5.8.0
Requires-Dist: pydantic<3.0,>=2.0
Description-Content-Type: text/markdown

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