WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

Feat/properties on aqara smartplug #258

Closed mrsteakhouse closed 3 years ago

mrsteakhouse commented 3 years ago

Hi, this adds support for the energy counter attribute in a seMetering cluster. This also depends on this: https://github.com/WebThingsIO/zcl-id/pull/2.

mrsteakhouse commented 3 years ago

I tested this with my setup during the last weekend. The property's unit is off, since the gateway does not know about kW. Or i'm blind enough to overlook things.

mrsteakhouse commented 3 years ago

@chas-iot I would be happy if you can find some time to test this as well.

It would be a good idea to add a testing framework and implement regression tests somewhere in the future.

chas-iot commented 3 years ago

@chas-iot I would be happy if you can find some time to test this as well.

Please see https://github.com/WebThingsIO/serial-prober-node/issues/11 for why I can't test at the moment ☹️