Generic Matter RVC with Switchbot K11+ in 2.4.4

While not officially supported... yet, the Switchbot K11+ does work with the new Generic Matter RVC driver.

Set Clean Mode:
0 - Quick
1 - Auto
2 - Deep clean
3 - Quiet
4 - Max Vac

This maybe expected behavior for an unsupported device, but it is generating an error on line 167 of the driver.

java.lang.IllegalArgumentException: Text must not be null or empty on line 167 (method parse)

That error is from missing supportedCleanModes..

Either completely missing or maybe the initial reports came out of order..

Can you screenshot the "Current States" section of the driver page?


The following are from a different driver I was playing with before the Matter RVC driver came out.
Number Of Buttons
Supported Button Values
Pushed

Setting clean modes does seam to work, at least it shows up as changed in HA and the app when done from HE.

dev:50002026-02-13 11:10:43.682 AMerrorjava.lang.IllegalArgumentException: Text must not be null or empty on line 167 (method parse)
dev:50002026-02-13 11:10:43.672 AMdebugparse: [callbackType:Report, endpointInt:1, clusterInt:85, attrInt:1, data:[1:UINT:4], value:4]
dev:50002026-02-13 11:10:43.559 AMerrorjava.lang.IllegalArgumentException: Text must not be null or empty on line 167 (method parse)
dev:50002026-02-13 11:10:43.548 AMdebugparse: [callbackType:Report, endpointInt:1, clusterInt:85, attrInt:1, data:[1:UINT:4], value:4]
dev:50002026-02-13 11:10:42.237 AMdebugsetCleanMode(4)

Yea.. It's missing the supportedCleanModes..

Try hitting configure again (using the Generic Matter RVC driver) ..

boom! Second configure is the charm?

1 Like

Nice.. Any chance I could get you to give me the fingerprint for this device?

If you switch the driver to "Device" and click Get Info it will spit out a fingerprint in the log..

If you could copy/paste the text here I can add it to the driver so the next person with that device will detect properly..

1 Like

fingerprint endpointId:"01", inClusters:"0003,001D,0054,0055,0061,0150", outClusters:"", model:"K11+", manufacturer:"SwitchBot", controllerType:"MAT"

1 Like

Thanks

I have a Dreame X50 master and it seems to work with the driver but i do see this error?


1 Like

Hit configure .. It's missing some state variables that it gets from initial polling..


same.

What is that line looking for?

That line assumes "supportedCleanModes" is populated..

so that seems to be blank as a option

Strange... Can you enable debug logging and then hit configure again and put the log here please?

I have hit config multiple times but now with debug on this filled in straight away

Ok.. It reported it that time..

Weird..

SupportedCleanModes is populated now.. So you shouldn't get that error anymore..

is there a bug in the code that it only populates if debug is on?

Nope.. It processes any time it receives that report.. I'm guessing either the request or the report was getting lost..