-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add SignedMeterValue type powermeter types #461
Conversation
fb6938b
to
cc3e181
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to adjust the TransactionFinished
in the evse_manager
interface to use the SignedMeterValue
type.
cc3e181
to
437d9e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, only some minor questions left
4ac9522
to
a030958
Compare
L1: | ||
description: AC L1 value only | ||
type: object | ||
$ref: /units_signed#/SignedMeterValue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious, are there any meters out there that provide signed Voltage readings?
Same for frequency and other detailed measurements, every signed separtely.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After Conversation in person I understood that we don't want to limit signed values by the transactional singed values only. And the transaction values are just
Nevertheless I propose to not create types that are not used and we don't know how to use them. We can leave a comment in example how to extend it if needed.
Looking forward for this to be applied. Preferrably reduced to "SignedMeterValues" only. Can we push this PR forward? So that further work on the power meters can be based on it already? |
Yes, I'll rebase it and will try to restructure it a bit |
8d12f73
to
76e277e
Compare
76e277e
to
b311fd1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requested changes do not fix changes of this PR, but fix bugs that have been introduced earlier and I'd like to see fixed in this PR
This allows the encapsulation of additionaly metadata like the signing method, encoding method or the public key next to the signed meter data Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Only support signed values from transaction or the powermeter, not individual measurands Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Co-authored-by: Piet Gömpel <37657534+Pietfried@users.noreply.github.com> Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
6f20c95
to
40f3775
Compare
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
This allows the encapsulation of additionaly metadata like the signing method, encoding method or the public key next to the signed meter data