Metadata-Version: 2.4
Name: homeseer-client
Version: 0.1.2
Summary: A thin wrapper around the Homeseer HTTP JSON API
Author: John Ritsema
License-Expression: MIT
Project-URL: Homepage, https://github.com/jritsema/homeseer-python-client
Project-URL: Bug Tracker, https://github.com/jritsema/homeseer-python-client/issues
Project-URL: Documentation, https://github.com/jritsema/homeseer-python-client#readme
Project-URL: Source Code, https://github.com/jritsema/homeseer-python-client
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: httpx
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: mypy; extra == "dev"

# homeseer-python-client

A thin wrapper around the Homeseer HTTP JSON API

## Usage

```bash
pip install homeseer-client
```

```python
from homeseer_client import Homeseer

# Create a client instance
client = Homeseer(host="192.168.1.100", username="admin", password="password")

# Use the client to interact with your HomeSeer system
client.get_locations()

client.get_events()

client.get_control(ref=None)

client.get_status(
      ref=None,
      location1=None,
      location2=None,
      compress=False,
      everything=False
    )

client.control_device_by_value(ref, value)

client.control_device_by_label(ref, label)
```

## Development

```
 Choose a make command to run

  init      initialize a new python project
  install:  add a new package (make install <package>), or install all project dependencies from piplock.txt (make install)
  start     run local project
```

Generated by https://github.com/jritsema/cookiecutter-python
