Skip to content

Lutron Integrations for Python

Daniel edited this page Sep 9, 2021 · 2 revisions

There are many modules out there that allow you to connect your Lutron systems to your code running in Python. This page is a summary of those that I could find.

pylutron 0.2.9

Github PyPI actively maintained

Apparently used by Home Assistant, which would make this the default option for most people. The one-line description on PyPI says it's for Radio Ra 2.

Its constructor spawns a new thread; not my favorite design choice. No asyncio support.

pylutron-caseta 0.11.0

Github PyPI actively maintained

Apparently used by Home Assistant.

aiolip

Github PyPI actively maintained

An asyncio interface.

liplib

Github not maintained

This is a clean asyncio interface to the Lutron Integration Protocol. I have some changes and improvements at https://github.com/dulitz/liplib which haven't been merged in a year.

He has tested it with Radio Ra 2 Select and Caseta PRO, and I have tested it (with my changes) with Homeworks QS and Radio Ra 2 Select.

illiplib

Github actively maintained

This is the same asyncio interface as liplib but for Homeworks Illumination, which uses an older and incompatible protocol. liplib and illiplib together make it pretty easy to have a frontend that targets both older Homeworks systems and the new ones. See https://github.com/porter/lutron.py for an example of such a frontend.

Obsolete

lutronqs

Github not maintained since 2017

This has very limited support for the LIP command set, basically being limited to area commands.

Clone this wiki locally