Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
shinasys opened this issue Feb 27, 2025 · 1 comment
Closed

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

shinasys opened this issue Feb 27, 2025 · 1 comment

Comments

@shinasys
Copy link
Contributor

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?

@Koenkk
Copy link
Owner

Koenkk commented Mar 3, 2025

Let's continue in #8909

@Koenkk Koenkk closed this as completed Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants