Skip to content

About exposes.power of electricityMeter() in modernExtend #8901

Open
@shinasys

Description

I have a question regarding exposes.power when using electricityMeter() in modernExtend.
https://github.com/Koenkk/zigbee-herdsman-converters/blob/cba3082d1a9594b4aa74e44d6dccd0ba5d6e1a8b/src/lib/modernExtend.ts#L1888C9-L1905C49

I want seMetering.power to be set, but electrical_measurement_power is being set instead. electrical_measurement_power is a signed int16 type, so it can only represent up to 32768W. I want to use seMetering.power, which is a signed int24 type, to represent larger values.
Is there a way to do this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions