Is there (will there be) support for timed invoke transactions? Or any "raw" matter support?

I've looked at what's available in the 'matter' object, and it's at a somewhat confusing layer of (or layers of) abstraction. IIUC (and this is a big caveat, since I am no Matter expert) there is some very high-level stuff (like "matter.on()", to generate the invoke necessary to turn on a switch) and also some mid-level support like "matter.invoke()" that seems to let you conveniently do much of what Matter's invoke supports, but not all. Pushing that all into one object feels odd, like it might not scale well.

I don't see any way to do a timed request (e.g., to allow sending a lock request to a Matter lock), and I don't see how that would get built on top of matter.invoke. I've heard rumor of the very, very vaguely documented "he raw", but it's not even clear to me if that is zigbee-specific or somehow supports many or all protocols.

The "how to build a matter driver" page is really helpful and well-written. Is there any other documentation or description of the model that exists or is planned for Hubitat to support Matter? Selfishly, I think I really only care about timed invoke (I think like others, I would like to get Lock support), but more generally I think some formal description of the model and its level of abstraction would be really helpful. (I know, I know, writing useful documentation takes far longer than fixing bugs and adding features, so no slam on the Hubitat team :slight_smile:

1 Like

Yeah, currently there isn't, we are working on this, but don't have an ETA...

3 Likes

Thanks, Mike.

And just to confirm, there is no "raw" matter support, right? Only what is possible via matter.invoke and the other things exposed on the matter object?

There is raw support, if you log the output of commands sent vs sending them to the hub you can see the format ie: log.debug matter.on()

1 Like

Well, I meant like how (IIUC) "he raw" works with zigbee to let you send your own frames. Now, I'll be honest, and admit that after looking at the Matter spec for all of 30 minutes, I am kind of hoping you say no, because it looks like a beast. But I am curious if "he raw ...." can in theory be used to generate valid matter frames and if so could we already (with a lot of pain) figure out how to do a timed invoke. (And I can easily believe that there is something like the need to handle encryption would make this literally impossible.)

Thanks, Mike!

I spent a good day already trying to figure this out, the team is of the opinion that we need to update the matter library to have the method that initiates the first sequence in the timed transactions.
Unfortunately there is no simple way to capture the frames being sent for this like we do with z-wave and zigbee when we get into an unknown area.

1 Like