Matter Device Error

I've been getting the following error periodically lately for several Matter Switches. They all occur at the same time. It appears something is trying to do a refresh. I don't have anything doing that. Wondering where it's coming from.

dev:28142026-02-28 08:01:47.592 AMerrororg.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: GenericMatterSwitch.refresh() is applicable for argument types: () values: []
Possible solutions: refreshCmd(), flash(), every(), parse(java.lang.String), every(groovy.lang.Closure), grep() (method refresh)

Check and see if you have a scheduled “refresh” job left over from some other driver you may have tried. If so, cancel it.

I don't remember ever having any scheduled refresh's. The only scheduled thing I see in the logs is MatterNodeCheckJob. Have no idea what that is.

The job ID should give you a clue as to whether it's a system job or a driver/app

These all use the Generic Matter Switch Driver. That 'MatterNodeCheckJob' that shows in scheduled has no ID or other info.

There are a couple other JOB things shown in the scheduled jobs which I assume is some internal doings.

Does the “time” match between the errors and the MatterNodeCheckJob scheduled time?

Can't tell on this. The time on the Job changes. It appears it runs about every 40 minutes or so. I don't get the error every time. May only happen once every few days. So no way to match up time vs that job.

EDIT: If that is what is triggering the error then there must be something that says what that job is doing and what can cause the error.

No scheduled jobs in your device page?

Absolutely none. No reason I can think of for me to do any scheduled jobs on these switches.

Watching the Scheduled Jobs log and it appears that Matter job runs about every 10 minutes. There is also a 'periodicCleanupJob' that seems to run about every 10 minutes.

I have run out of ideas… I do have a couple of rules that do refreshes on Sonoff outlets to keep the led from flashing (distracting).
Maybe you have something similar and mistakenly included the matter devices, but that should show in the device events. :man_shrugging:t3:

I don't have anything that does a refresh. The only thing that even runs on time is a battery check and none of these are included there.

Just wondering if someone from HE could chime in and let me know if that JOB is what could be causing the issue. Maybe it's checking or polling the devices and if for some reason they are offline at that point in time.....

System integration job then...

That would be my guess.

It's not a big deal, I would just like to know what is causing it so I know whether to look further or not. All the switches still seem to work just fine.

EDIT: just did some checking and there were several of them that had the error in 10 minute increments for 3-4 times. So that would seem to indicate it is being caused by that JOB. So it would be nice if the error was a little more clearer as to what is wrong. Just a guess, but if it indicates the switch is offline for some reason, say that, not that the refresh command doesn't exist. Maybe something to the effect no response.

Any chance you have an App like "Device Activity Check" or similar, that includes these devices? Just a guess... :thinking:

Just noticed that the Scheduled Jobs log doesn't show the IDs, have to look at the JSON detail to get them. The lack of the delete option for it is a dead give away though - regardless, checking it on my Matter hub verifies that it is an integration spawned job.

Nothing like that. Never saw a need for it.

So again, a better error message would be nice.

Tagging @bcopeland from Hubitat, to see if he has any ideas of what might be causing that error.

1 Like

Spent some time thinking about this and have some observations/questions.

  1. I understand there needs to be some background tasks running. I probably never paid much atttention to that before. Looking at the scheduled integration jobs most of them are self explanatory. For example there is a sunsetevent, which I assume gets the sunset time. Then there is a sunjob. I assume that gets the sunrise time???. Perhaps that should be named sunriseevent?? But I could be totally wrong on those. But maybe some documentation on those kind of tasks so when we get an error we might be able to figure out where it's coming from.

  2. Back to the particular scheduled job that started this conversation. "MatterNodeCheckJob". My main question is, What does this do? Is it necessary to poll matter devices every 10 minutes? Kinda reminds me of those old Z-Wave devices that had to be polled to keep alive. (I have a box of those somewhere).

  3. If those jobs are going to produce an error, please make the error something that means what the problem is. Saying the device doesn't support a refresh command doesn't really address what the issue was. Or to me it doesn't. When one spends time trying to run down an error and there is no good way to resolve it is kinda frustrating.

Just some rambling.