ioBroker.zigbee icon indicating copy to clipboard operation
ioBroker.zigbee copied to clipboard

Implement the zigbee-herdsman-converters 'meta' information storage

Open asgothian opened this issue 2 years ago • 3 comments

The zigbee-herdsman-converters support the use of a "meta" object for a number of converters to store configurable data for single devices. Unfortunately, this is not used in a concise manner across all converters.

If memory serves correctly, a meta property did exist at some time but was at least partially removed.

There are a number of converters (including the one for Aqara P1 Motion Sensor (Device luminous.motion.ac2, see issue #1402)

A review is required to decide if to support the "meta" object globally as it will be supported in the converters in the future or to not support it and wait to see what alternative will be used in the future.

A.

asgothian avatar Apr 07 '22 17:04 asgothian

A further review has shown that the adapter does use the meta parameter in the converters to provide data to the converters, but the meta parameter does not link into any kind of permanent or semi-permanent storage, so changes to the meta parameter are not retained.

This requires further investigation to ensure that

  • required data is provided in the meta information
  • only data which requires persistence is actually stored explicitly after being changed by the converter.

asgothian avatar Apr 07 '22 17:04 asgothian

Does this also affect the motion_sensitivity? I can change it only sometimes, but is it respected by the sensor?

backlink-market avatar Apr 08 '22 10:04 backlink-market

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 12 '22 22:06 stale[bot]