12 Commits

Author SHA1 Message Date
jenkins
07f25a749b Merge PR #44: Add electrical measurement and metering clusters 2022-04-25 23:53:18 +02:00
Michael Zanetti
9abcdfcf3d Add electrical measurement and metering clusters
Renamed the SimpleMetering enum to Metering as that's what it is in the Zigbee
Alliance Spec. SimpleMetering seems to come from a NXP document which
isn't complete though and the upstream spec is what matters in the end.
Also adds some cluster ids which are in the Zigbee spec but missing in
the NXP document.
2022-03-08 01:21:52 +01:00
Michael Zanetti
a38e8be190 Simplify ZigbeeCluster inheritance
Instead of having 2 methods (setAttribute and addOrUpdateAttribute)
to allow specific cluster implementations to override behavior,
merge them into one, setAttribute, and use standard C++ syntax for
calling a base class implementation.
2022-02-14 11:23:36 +01:00
Simon Stürz
2f8af57d4e Add invalid measurment filtering for measurement clusters 2021-05-21 08:54:49 +02:00
Simon Stürz
9e3bbc55ca Add warning for occupancy sensor value convertion 2020-11-28 17:05:09 +01:00
Simon Stürz
4eafe285b0 Clean up clusters and implement default get methods for now 2020-11-12 13:27:37 +01:00
Simon Stürz
af26efac17 Add pressure cluster and improve nxp backend APS handling 2020-11-11 15:50:56 +01:00
Michael Zanetti
40512509ae Fix some typos 2020-11-11 14:43:26 +01:00
Simon Stürz
cdd7a1a1aa Implement power configuration cluster 2020-06-13 21:18:01 +02:00
Simon Stürz
67c07f674c Add occupancy and illuminance measument clusters 2020-05-29 17:46:56 +02:00
Simon Stürz
4c4f540f21 Finish humidity sensor and update attribute internally at attribute read 2020-05-28 21:03:49 +02:00
Simon Stürz
69ed7e3496 Implement new clusters and restructure ZCL frame flow and implement attribute reports 2020-05-28 18:03:33 +02:00