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?

I have essentially the same question (Home Assistant, ZHA, multi-area detection, VZM32-SN).

As far as I can tell, I am able to configure the areas, but not sure how to detect if a given area is currently occupied.

Based on this link (Blue Series mmWave Presence Dimmer Switch • Advanced mmWave Configuration | Inovelli Help Center), it seems like I should be able to get this status information from “Server → Client Commands” parameter 0x00 and 0x01, but I’m not sure where to find those parameters.

I’m also thrown off by this message on that same site.

I’ve enabled attribute 107, but I’m not sure how to bind to cluster 0xFC32 EP1.

0xFC32 does not show up in the list of possible items to bind to, within the “Manage Zigbee device” Bindings screen.

If I could read the values from parameter 0x00 and 0x01, I think that would get me what I need.

Any help would be greatly appreciated.