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

added channel types meter_kvar & meter_kvarh #1604

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

BorisFierlings
Copy link
Contributor

Added channel types meter_kvar & meter_kvarh. Will be needed for updated Qubino smart meter database defintion.

Signed-off-by: Boris Fierlings [email protected]

@@ -522,7 +532,7 @@
<channel-type id="meter_kwh">
<item-type>Number</item-type>
<label>Energy Consumption</label>
<description>Indicates the energy consumption (kWh)</description>
<description>Indicates the instantaneous energy consumption (kWh)</description>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me, this is wrong - you don't have instantaneous energy consumption measured in watt-hours. Energy consumption is measured in Wh - but instantaneous power consumption is measures in watts.

I'm not sure how this links to the ZWave data definition and how that is applied to this channel, but fundamentally it's not correct to add instantaneous here and call it kWh.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. Togehter with energy consumption there is rarely used "instantaneous" but often "active" in opposite to the reactive and aparent energy consumption. So we can leave it as energy consumption or change to active energy consumption.

<!-- Energy - Power Consumption -->
<channel-type id="meter_kvar">
<item-type>Number</item-type>
<label>Electric Power Consumption</label>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest to use consistent naming here - you added "Energy Consumption" above but "Electric Power Consumption" here. Either use "Electric" in both or neither.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right again. As the "Electric" is not only in "Electric Power Consumption", but also in "Electric Current", it should be "Electric Energy Consumption". Sorry for that.

@BorisFierlings
Copy link
Contributor Author

BorisFierlings commented Aug 7, 2023

Sorry for beeing off that long time. I've done the changes as suggested.

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