| 1 |
# aiocomelit |
| 2 |
|
| 3 |
<p align="center"> |
| 4 |
<a href="https://github.com/chemelli74/aiocomelit/actions/workflows/ci.yml?query=branch%3Amain"> |
| 5 |
<img src="https://img.shields.io/github/actions/workflow/status/chemelli74/aiocomelit/ci.yml?branch=main&label=CI&logo=github&style=flat-square" alt="CI Status" > |
| 6 |
</a> |
| 7 |
<a href="https://codecov.io/gh/chemelli74/aiocomelit"> |
| 8 |
<img src="https://img.shields.io/codecov/c/github/chemelli74/aiocomelit.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage"> |
| 9 |
</a> |
| 10 |
</p> |
| 11 |
<p align="center"> |
| 12 |
<a href="https://docs.astral.sh/uv/"> |
| 13 |
<img src="https://img.shields.io/badge/packaging-uv-2A5BFF?style=flat-square" alt="uv"> |
| 14 |
</a> |
| 15 |
<a href="https://github.com/ambv/black"> |
| 16 |
<img src="https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square" alt="black"> |
| 17 |
</a> |
| 18 |
<a href="https://pypi.org/project/prek/"> |
| 19 |
<img src="https://img.shields.io/badge/prek-enabled-brightgreen?style=flat-square" alt="prek"> |
| 20 |
</a> |
| 21 |
</p> |
| 22 |
<p align="center"> |
| 23 |
<a href="https://pypi.org/project/aiocomelit/"> |
| 24 |
<img src="https://img.shields.io/pypi/v/aiocomelit.svg?logo=python&logoColor=fff&style=flat-square" alt="PyPI Version"> |
| 25 |
</a> |
| 26 |
<a href="https://pypi.org/project/aiocomelit/"> |
| 27 |
<img src="https://img.shields.io/pypi/pyversions/aiocomelit?style=flat-square&logo=python&logoColor=fff" alt="Supported Python versions"> |
| 28 |
</a> |
| 29 |
<img src="https://img.shields.io/pypi/l/aiocomelit.svg?style=flat-square" alt="License"> |
| 30 |
</p> |
| 31 |
|
| 32 |
--- |
| 33 |
|
| 34 |
**Source Code**: <a href="https://github.com/chemelli74/aiocomelit" target="_blank">https://github.com/chemelli74/aiocomelit </a> |
| 35 |
|
| 36 |
--- |
| 37 |
|
| 38 |
Python library to control Comelit Simplehome |
| 39 |
|
| 40 |
## Installation |
| 41 |
|
| 42 |
Install this via pip (or your favourite package manager): |
| 43 |
|
| 44 |
`pip install aiocomelit` |
| 45 |
|
| 46 |
## Test |
| 47 |
|
| 48 |
Test the library with: |
| 49 |
|
| 50 |
`python library_test.py` |
| 51 |
|
| 52 |
The script accept command line arguments or a library_test.json config file: |
| 53 |
|
| 54 |
```json |
| 55 |
{ |
| 56 |
"bridge_skip": false, |
| 57 |
"bridge": "192.168.1.252", |
| 58 |
"bridge_port": 80, |
| 59 |
"bridge_pin": 12345, |
| 60 |
"bridge_vedo": false, |
| 61 |
"vedo_skip": false, |
| 62 |
"vedo": "192.168.1.230", |
| 63 |
"vedo_port": 8080, |
| 64 |
"vedo_pin": 67890, |
| 65 |
"test": false |
| 66 |
} |
| 67 |
``` |
| 68 |
|
| 69 |
## Contributors ✨ |
| 70 |
|
| 71 |
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): |
| 72 |
|
| 73 |
<!-- prettier-ignore-start --> |
| 74 |
<!-- readme: contributors -start --> |
| 75 |
<table> |
| 76 |
<tbody> |
| 77 |
<tr> |
| 78 |
<td align="center"> |
| 79 |
<a href="https://github.com/chemelli74"> |
| 80 |
<img src="https://avatars.githubusercontent.com/u/57354320?v=4" width="100;" alt="chemelli74"/> |
| 81 |
<br /> |
| 82 |
<sub><b>Simone Chemelli</b></sub> |
| 83 |
</a> |
| 84 |
</td> |
| 85 |
<td align="center"> |
| 86 |
<a href="https://github.com/joostlek"> |
| 87 |
<img src="https://avatars.githubusercontent.com/u/7083755?v=4" width="100;" alt="joostlek"/> |
| 88 |
<br /> |
| 89 |
<sub><b>Joost Lekkerkerker</b></sub> |
| 90 |
</a> |
| 91 |
</td> |
| 92 |
</tr> |
| 93 |
<tbody> |
| 94 |
</table> |
| 95 |
<!-- readme: contributors -end --> |
| 96 |
<!-- prettier-ignore-end --> |
| 97 |
|
| 98 |
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! |
| 99 |
|
| 100 |
## Credits |
| 101 |
|
| 102 |
This package was created with |
| 103 |
[Copier](https://copier.readthedocs.io/) and the |
| 104 |
[browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template) |
| 105 |
project template. |