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.3.tar.gz
(19.7 kB
view hashes)
Built Distribution
aiolip-1.1.3-py2.py3-none-any.whl
(10.2 kB
view hashes)
Close
Hashes for aiolip-1.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f29d8a505e8cee70f2fb2315d02c1c584e55b7634e437058481bc85b29dfb64 |
|
MD5 | 044b43787e2a16453db7d87ec215cb8f |
|
BLAKE2b-256 | a39ec495703ae9aee449cd6f2955fe915a2d7318f8bcbc3e4ac7310e7072ffbd |