#Matter: Can cluster commands be sent from HA directly like with ZHA?

1 messages · Page 1 of 1 (latest)

topaz goblet
#

I have my first Matter device, a Govee air purifier, and it doesn't seem compliant with the Matter spec. (Details below) I would like to be able to write a cluster attribute using a service call like I can for Zigbee devices using ZHA, so I can make a template device that functions correctly.

My device is essentially a fan. The speed of the fan is controlled using the PercentSetting attribute of the FanControl Cluster. Unfortunately, the FeatureMap attribute doesn't specify that the fan uses PercentSetting to set speeds. See: #1437206971915829248 message
Because the FeatureMap is incorrect, the HA fan entity that is created only uses FanMode to try and control the device, which doesn't work.

I would like to be able to have a script send a command to the matter server to set a value for the PercentSetting so I can control the device.

Is it possible to interact with the Matter Server in this way?

I don't think I will have success lobbying the manufacturer to fix their firmware.

topaz goblet
#

The answer that I have found so far is yes using a python script. I made a comment here: