OK, I just updated to the latest version. Home Assistant 0.102.2 and retested listening for events in the Developer Tools>Events. Made a small amount of progress.
- I now see an event from my PICO controller but I still do not see events from the SeeTouch keypads. I tested both and watched the TELNET for each as well.
Results:
PICO TELNET: ~DEVICE,166,3,3
HA EVENT Monitor capture:
{
“event_type”: “lutron_event”,
“data”: {
“id”: “csd_001_favorite”,
“action”: “single”
},
“origin”: “LOCAL”,
“time_fired”: “2019-11-26T23:45:25.752070+00:00”,
“context”: {
“id”: “bcfd526700bf4b428265b899599d87f5”,
“parent_id”: null,
“user_id”: null
}
}
SEE TOUCH TELNET: ~DEVICE,133,3,3
HA EVENT Monitor capture: {BLANK}
So what I’m thinking is this. The picos show up automatically in HA as a Scene but the seeTouch Keypads do not show up at all. So since HA does not have them listed it is ignoring listening for or to them. They Keypads must no be auto-populating as part of the initial Lutron connection.
I also dug into my Lutron XML file to look at the 2 different keypad types.
Here is how it shows the PICO:
Here is how it shows the seeTouch:
Any thoughts on how I overcome this hurdle?
{UPDATE}
OK I think I figured out the problem. The PYLUTRON code is not looking for my type of keypad. I have a few PICO’s and they are working fine.
In the python code I read on GITHUB it is filtering the xml file as such:
if device_xml.get('DeviceType') in (
'SEETOUCH_KEYPAD',
'SEETOUCH_TABLETOP_KEYPAD',
'PICO_KEYPAD',
'HYBRID_SEETOUCH_KEYPAD',
'MAIN_REPEATER',
'HOMEOWNER_KEYPAD'):
I think I need to alter this file and add this line to it:
HWI_SEETOUCH_KEYPAD
I viewed my Lutron XML file and this is the only difference between the PICO and my keypads. All other coding is the same.
How do I find the code on my system to alter and test? Do you think this will work?