Skip to content

Pointless metadata events #1466

@lsiepel

Description

@lsiepel

The openHAB binding is using the zwave-js-server and receives many events. There is one event type that i don;t understand. The metadata updated event is triggered so many times but does not seem to hold anychange, atleast i have not yet found any event that had changes to the previous event. And i have log files with 10k+ events.

I wonder what the exact purpose is of this event.
If there is no use, can we filter it out, or if it does have a use, limit the events to exactly that use-case ?

{"type":"event","event":{"source":"node","event":"metadata updated","nodeId":60,"args":{"commandClassName":"Multilevel Sensor","commandClass":49,"endpoint":1,"property":"Power","metadata":{"type":"number","readable":true,"writeable":false,"label":"Power","ccSpecific":{"sensorType":4,"scale":0},"unit":"W","stateful":true,"secret":false},"propertyName":"Power","nodeId":60}}}
{"type":"event","event":{"source":"node","event":"metadata updated","nodeId":60,"args":{"commandClassName":"Multilevel Sensor","commandClass":49,"endpoint":1,"property":"Power","metadata":{"type":"number","readable":true,"writeable":false,"label":"Power","ccSpecific":{"sensorType":4,"scale":0},"unit":"W","stateful":true,"secret":false},"propertyName":"Power","nodeId":60}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions