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.0.1.tar.gz
(16.4 kB
view hashes)
Built Distribution
Close
Hashes for aiolip-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 743045b5903e9d6ec4f177242abd9de36a5780c9e7f382fe77d80b9f5c8fc5d2 |
|
MD5 | 6a805304bab2d600267572bc159b1b46 |
|
BLAKE2b-256 | adb898b0d14de10f8d0c398b30cad6cceb81a2d550faa40a1bab1d894068db1a |