Mr-Markus / ZigbeeNet

A .NET Standard library for working with ZigBee
Eclipse Public License 1.0
130 stars 46 forks source link

Can i add support for zigbee devices? #175

Closed victornor closed 1 year ago

victornor commented 1 year ago

Hey, I'm wondering what the steps would be to add support for occupancy sensing? I have a PIR sensor which works with ZHA (Zigbee Home Assistant) and i need to communicate with this PIR sensor through a custom solution.

I've found the cluster id in the zigbee documentation 0x0406 Occupancy Sensing

Is this something i will need? I'd appreciate a very general list of steps required to support a cluster using the zigbee specification document.

Thanks!

victornor commented 1 year ago

I figured it out. To anyone else who might be confused:

  1. Use the auto generator to build all of the cluster classes.
  2. Add whatever cluster class you need to your project.
  3. Add support for parsing of messages for the cluster you want to support on your network manager (networkManager.AddSupportedClientCluster(Zcl*Cluster.CLUSTER_ID);)