Async Lutron Integration Protocol
Project description
Async Lutron Integration Protocol
Async Lutron Integration Protocol
Free software: Apache Software License 2.0
Documentation: https://aiolip.readthedocs.io.
Example Usage
import asyncio
import logging
from aiolip import LIP
from aiolip.data import LIPMode
_LOGGER = logging.getLogger(__name__)
async def main():
lip = LIP()
logging.basicConfig(level=logging.DEBUG)
await lip.async_connect("192.168.209.70")
def message(msg):
_LOGGER.warning(msg)
lip.subscribe(message)
run_task = asyncio.create_task(lip.async_run())
await run_task
await lip.async_stop()
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
1.0.0 (2021-01-18)
First release on PyPI.
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
aiolip-1.1.6.tar.gz
(19.8 kB
view details)
Built Distribution
File details
Details for the file aiolip-1.1.6.tar.gz
.
File metadata
- Download URL: aiolip-1.1.6.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.49.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa77f906bc1b0d35fa0d1a3b858cb812d971ac909f78c54fff27475fa1d78a2b |
|
MD5 | 1c6b5795b0bf11a942a157177e66840f |
|
BLAKE2b-256 | ec4539cf59ef435ad4eb4b6884538582c051ef296a5a713b4cad60291023d5c2 |
File details
Details for the file aiolip-1.1.6-py2.py3-none-any.whl
.
File metadata
- Download URL: aiolip-1.1.6-py2.py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.49.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7f0e6d1f07b8bdfda8cdb20734cf3578a29b6814281f1c643f2ae78db08613d |
|
MD5 | ee7dcf20711932acb0e657f51ebd8cca |
|
BLAKE2b-256 | 3c439a8756a1a8e93f0326a0be72f6c7dc1bdaf43dc4965ce8916338017f0f70 |