Radio RA2 Integration - Uncaught exception turning on any Radio RA2 light

Hi folks, I have a Radio RA2 and struggling to get any of my RA2 switches to work.

I was able to update the configuration.yaml file and now I see a whole bunch of RA2 entities in HA. The mapping of what I have to what the entities have overlap for sure, but there’s also entities that don’t make sense, like occupancy sensors, for which I have none.

Anyways, when I try to turn a light or scen on or off, nothing happens. When I looked at the log file, I get the error below over and over again. Any idea what that might be?

> 2022-10-29 12:24:03.822 ERROR (Thread-2) [pylutron] Uncaught exception 
> Traceback (most recent call last): 
>   File "/usr/local/lib/python3.10/site-packages/pylutron/", line 171, in _main_loop 
>     self._maybe_reconnect() 
>   File "/usr/local/lib/python3.10/site-packages/pylutron/", line 158, in _maybe_reconnect 
>     self._do_login_locked() 
>   File "/usr/local/lib/python3.10/site-packages/pylutron/", line 129, in _do_login_locked 
>     self._telnet.read_until(LutronConnection.USER_PROMPT, timeout=3) 
>   File "/usr/local/lib/python3.10/", line 329, in read_until 
>     return self.read_very_lazy() 
>   File "/usr/local/lib/python3.10/", line 405, in read_very_lazy 
>     raise EOFError('telnet connection closed') 
> EOFError: telnet connection closed

I am also trying to integrate RA2, and get the same error.

I’ve recently found some insight on this as I was having the same struggle.
Try this (for windows):
using a command prompt: telnet [ip of your main repeater]
(you may need to install telnet from the windows components)
login with the user ID and password in your yaml
change a lutron light switch level (turn it on and off), you should see some output to the telnet connection like DEVICE,31,0,1,0 or whatever.
If you do not see that, then the login info isn’t the integration login info.
I had two different logins setup. I had to use: lutron/lutron initially to get it to pull the config XML file, then changed the info to lutron/integration and restarted everything again and it started working!
Hope this helps someone else