Brand new to HA. First big integration I have attempted to configure was Lutron. I have RA2 everywhere in my house. The initial integration setup appeared to work without issue. 123 devices were recognized and imported. However, when I attempt to control anything, nothing happens. I will toggle a light, shade, etc. and the toggle will flip back off after a few seconds.
Checking the logs reveals tens of thousands of errors. The one with the most entries is the following:
Logger: pylutron
Source: /usr/local/lib/python3.12/site-packages/pylutron/init.py:183
First occurred: September 9, 2024 at 2:45:30 PM (39757 occurrences)
Last logged: 9:04:40 PM
Uncaught exception
Traceback (most recent call last):
File â/usr/local/lib/python3.12/site-packages/pylutron/init.pyâ, line 179, in _main_loop
line = t.read_until(b"\n", timeout=3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File â/usr/local/lib/python3.12/site-packages/pylutron/_telnetlib/telnetlib.pyâ, line 333, in read_until
return self.read_very_lazy()
^^^^^^^^^^^^^^^^^^^^^
File â/usr/local/lib/python3.12/site-packages/pylutron/_telnetlib/telnetlib.pyâ, line 409, in read_very_lazy
raise EOFError(âtelnet connection closedâ)
EOFError: telnet connection closed
Any idea whatâs going on? Itâs nice that I can see all the Lutron details in HA, but if I canât actually control anything it obviously wonât be of much value.
iâve found getting lutron initial config to be tricky, but once done, pretty reliable. itâs been a while (over a year for me) so my memory here is old but since no one else has reponded iâll give it a shotâŚ
first, do you know what integration youâre using? are you using this one: Lutron - Home Assistant?
if youâre not sure, go to your lutron integration page and hit the âdocumentationâ link on the left:
next, do you recall if you connected to the main repeater? or did you connect to the lutron smartbridge? you should connect to the repeater directly, not to the bridge if i recall (i made that mistake myself initially).
FYI - This was related to a bug in the Lutron integration. I just updated to 2024.10.2 and it fixed the issue for me! Now it all seems to work as it should!
Looks like the default login (lutron:integration) was populating all of the lutron devices, but it wasnât actually working. Seems that the Lutron Connect Bridge uses the default connection and that it doesnât like to share. I needed to log in to my lutron project and create a new dedicated telnet user. Everything seems to be working now.
Side note, it only took a couple hours to complete the Lutron RA2 Level 1 certification which let me mess around with my project.
Beyond getting HA working, I think biggest pro of getting certified is that I think I can now complete a few rooms that seemed silly to install RA2 dimmers in when I had to pay for dealerâs time.
Iâm now getting this error. Everything was working fine until I updated to the latest version a couple of weeks ago (after not updating for months). Iâm on Core 2024.11.3 and Supervisor 2024.11.4. I have a custom Telnet login and password set up on the main repeater. Hereâs the error I get in the log - similar to the one above but different line numbers:
2024-12-01 21:24:10.911 ERROR (Thread-2) [pylutron] Uncaught exception
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pylutron/__init__.py", line 179, in _main_loop
line = t.read_until(b"\n", timeout=3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pylutron/_telnetlib/telnetlib.py", line 321, in read_until
self.fill_rawa()
File "/usr/local/lib/python3.12/site-packages/pylutron/_telnetlib/telnetlib.py", line 529, in fill_rawa
buf = self.sock.recv(50)
^^^^^^^^^^^^^^^^^^
TimeoutError: [Errno 110] Operation timed out
2024-12-01 21:24:10.916 WARNING (Thread-2) [pylutron] Disconnected
EDIT: I rolled back to 2024.4.3 and itâs working again! Looks like Iâll have to stay on that version until this is figured out for everyone!