Skip to content

Conversation

@goxlur
Copy link

@goxlur goxlur commented Feb 6, 2025

This adds the unit "kvar" to reactive power measurements.

@paran1
Copy link

paran1 commented Aug 4, 2025

I am using this to get my power meter working with esphome.
Thanks!

However according to the documentation for the template I think the second unit should be "integer unit", so it should be var/varh not with kilo prefix. For example FixedField, units::kvar, units::kvar); should probably be FixedField, units::kvar, units::var);). This also would require adding var and varh as allowed units.

https://github.com/glmnet/arduino-dsmr/blob/master/src/dsmr/fields.h#L101-L109

PolarGoose added a commit to PolarGoose/arduino-dsmr-2 that referenced this pull request Sep 15, 2025
Add missing "kvar" units.
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

Successfully merging this pull request may close these issues.

2 participants