Blue series mmWave configuring multiple areas/zones with HA+ZHA

I’m super excited to have some mmWave blue’s in hand, but there is one thing I haven’t been able to figure out on my own.

The documentation suggests there are 4 configurable reporting areas:

I have scenario where I want the switch to be able to see and trigger on motion down a long hallway, but not trigger on motion inside a nearby room when the door is open.

Using Home Assistant + ZHA, it looks like I’m only able to configure one area/zone. How can I access and configure the other zones?

Support for multiple zones has not been added to the ZHA quirk or the Z2M converter yet.

Is there another way that I could do it?

It’s surely not the cleanest way to do it, but if anyone else wants to configure areas 1-3 this will expose an interface that will allow you to do it.

Follow this guide to get support for VZM32 quirks in ZHA:

Inside the VZM32SN.py file discussed in the link above, find the ServerCommandDefs class inside the InovelliVZM32SNMMWaveCluster class and add the following mmwave_set_detection_area_command snippet.

class InovelliVZM32SNMMWaveCluster(CustomCluster):
    """Inovelli VZM32-SN MMWave custom cluster."""

    cluster_id = 0xFC32
    ep_attribute = "inovelli_vzm32snmmwave_cluster"

    class AttributeDefs(BaseAttributeDefs):
        [...]

    class ServerCommandDefs(BaseCommandDefs):
        [...]

        mmwave_set_detection_area_command = ZCLCommandDef(
            id=0x02,                                                      
            schema={                                      
                "area_id": t.uint8_t,                     
                "x_min": t.int16s,                        
                "x_max": t.int16s,                        
                "y_min": t.int16s,                        
                "y_max": t.int16s,        
                "z_min": t.int16s,            
                "z_max": t.int16s,            
            },                            
            is_manufacturer_specific=True,
        )       

After rebooting Home Assistant, you should be able to navigate to one of your VZM32 devices,

  • Click the 3 vertical dots menu under “Device info”
  • Manage Zigbee device
  • Under the Clusters tab, select
    ClustersInovelliVZM32SNMMWaveCluster (Endpoint id: 1, Id: 0xfc32, Type: in)
  • Under the Command tab, select mmwave_set_detection_area_command (id: 0x0002)
  • Set the area_id (1-3), x_min, x_max, y_min, y_max, z_min, z_max parameters
  • Issue Zigbee command

See this reference for guidance on setting the x, y, z coordinates:

The directions for the Blue Series mmWave Presence Sensing Dimmer • ZHA Custom Quirk Install https://help.inovelli.com/en/articles/13019007-blue-series-mmwave-presence-sensing-dimmer-zha-custom-quirk-install does not work in my version of Home Assistant (HAOS) and Advanced SSH. The commands called out are not available. I did however easily install through Samba addon. Are directions needed?