Per-Area Presence Reporting In Home Assistant ZHA

I’m interested in the per-area presence reporting information, as described here. Specifically, under “Server → Client Commands”, item 0x00 “Anyone in the Reporting Area”, and item 0x01 “Report Target Info”.

Item 0x01 would be interesting to monitor for me, but item 0x00 would be genuinely useful.

So far I haven’t found any way to get at this information in ZHA. Cluster 0xFC32 doesn’t seem to provide any “out” information (in the “Manage Zigbee device” screen). There is only the “in” variant, which seems to correspond to the “Client → Server” commands.

Am I missing something obvious? (I am relatively new to ZHA, Zigbee in general, and completely new to Inovelli products.)

Is there a tweak I need to make to the custom quirks to enable access to this information?

Is it just outright not supported for ZHA? (If so, are there plans to add support for this?)

Thank you.

It hasn’t been implemented in ZHA yet. It just got merged into the Z2M beta this week (production release in a couple of days).

All the documentation is present for implementing it in ZHA, but someone with the skills and interest has to do it before it will be visible in Home Assistant.

This may not be the right forum, but I’ve been trying to find documentation / instructions on how to run the Advanced commands specified in Blue Series mmWave Presence Dimmer Switch • Advanced mmWave Configuration | Inovelli Help Center . I wanted to debug the presence detection to see how many targets my switch was seeing and their locations. I tried using the ZHA developer tools to execute commands by manually entering the endpoint, cluster, command and IEEE ID.

Cluster type: in

Command type: Client

Leaving the args empty gives me this error:

Failed to perform the action zha.issue_zigbee_cluster_command. must contain at least one of args, params.. Got {'type': 'execute_script', 'sequence': [{'action': 'zha.issue_zigbee_cluster_command', 'data': {'cluster_type': 'in', 'command_type': 'client', 'ieee': '0C:2A:6F:FF:FE:F7:15:84', 'endpoint_id': 1, 'cluster_id': 64562, 'command': 1}}], 'id': 50}

Would appreciate some pointers on where to go from here. The manage device options don’t have these commands listed under the FC32 cluster.

Reposting here: Zigbee Motion Switch • Project Linus • Bug & Enhancement Thread - #246

@rohan Do you know if there is way to manually execute the commands using the ZHA dev tool?

I moved your post into this topic since it’s a better fit for it.

ZHA does not know that those commands exist. Until they are implemented, it will not be possible to use the ZHA dev tools for it.

Got it. New to ZHA. I assumed that the actions are a way to send raw payloads, but looks like it’s just another interface to the implementation.

That’s my understanding of it. But I haven’t used ZHA in many years after moving to Z2M.

@rohan Thank you. I appreciate the quick reply.

Similar to @akhil , I thought there was some way to send any command (and listen to any event) over the zigbee network, even ones that weren’t explicitly supported by ZHA, via something like custom quirks, or some developer interface, but perhaps not.

My understanding is that Inovelli is working on changes to ZHA (see here), but I suspect these just take the place of the custom quirks that must be currently installed manually to get just the basic entities to appear from the device. Can anybody confirm if this change will include the advance presence feedback?

That PR does not include the advanced presence controls commands. To date, those only are available with Z2M (I was one of the people who implemented them). Once the linked PR is merged, someone would be able to make a follow up with the advanced presence control commands.