Adding S2 Supervision to Inovelli Drivers

@Eric_Inovelli @EricM_Inovelli

Hubitat has been working on improving S2 supervision–and that is apparently necessary to catch and re-send when a S2 nonce re-sync happens.

Not sure if that will fix everything–but I do have some issues with LED status and light commands not being properly registered.

Is it possible for someone to work with bcopeland @ Hubitat on putting this into your drivers?

Thanks

I’d be curious if the devices actually work when being sent supervision-encapsulated commands. In a driver I wrote for my own use with the LZW30-SN and LZW31-SN, I had to remove this encapsulation for outbound (from hub) commands, otherwise I had problems. (It’s been months and I don’t remember what problems, but I think it was the command just not working — like the switch not turning on off. If any commands should work, those seem like the best candidates…)

This shouldn’t really involve needing to work with Hubitat, though they might be happy to help; they have guides for developers on how to do this (this was supposed to be the first of a series, but so far it’s the only one — but luckily it’s the one on this exact topic :slight_smile: ):

The one thing that should be different from that guide is that you’ll need to account for concurrency, with their new recommendation being ConcurrentHashMap instead of a plain Map (the latter of which they still use in the post above).

But … either I’m missing something or these devices just don’t handle these commands well, so I’d be curious either way!

3 Likes

We’ll definitely take a look at it. We’re pretty tight with Bryan, so if we need help, we’ll reach out :slight_smile:

Just to give a sense of a timeline, Eric’s in the middle of trying to work on this issue: Inovelli Scenes slow to respond from multi-taps of switch - Devices - Hubitat which does seem to have an issue with S2 (at least this is what we’re seeing with a different 700 Series hub).

And also he’s working on a couple other projects, so I’m not sure what his bandwidth is, but I’m sure since he’s tagged here, he’ll add it to the list!

2 Likes