Metadata-Version: 2.4
Name: hivico
Version: 0.1.0
Summary: Hivico device API client for HiVi speakers
Author: swansmart
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/swansmart/hivico
Project-URL: Repository, https://github.com/swansmart/hivico
Project-URL: Issues, https://github.com/swansmart/hivico/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Home Automation
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp>=3.8.0
Dynamic: license-file

# Hivico

Hivico is a lightweight HTTP API client library for HiVi speakers.

## Installation

```bash
pip install hivico
```

## Quick start

```python
import asyncio
from hivico import HivicoClient

async def main():
    async with HivicoClient(timeout=5) as client:
        status = await client.get_device_status("192.168.1.100")
        print(status)

asyncio.run(main())
```

## Features

- Query device status and info
- Query / control groups
- Basic playback control and volume settings

## Home Assistant integration

The [HiVi Speaker](https://github.com/swansmart/hivi_speaker) custom integration depends on this library; install `hivico` from PyPI.

## License

Apache License 2.0
