-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
MaxFlowDate_M (and other Date parameters) shown incorrectly "230,207.0 yy:mm:dd" #70
Comments
Well spotted, everything is considered as a number right now. |
Hey Sander, noticed this also... just got my 403 installed yesterday (you might remember me from the MC66C) and found a bug in the Kamstrup. From what I've evaluated until now, all values including their unit (or explain) of measurement are received as data packages and have indeed to be transitioned sometimes. I made a pull request with first quick changes. Then there is this incorrect unit of measurement for Tempdiff in K(elvin) which translates to celcius with temperatures below -200°C! Wonder how many developers have a workaround for that not informing Kamstrup. Any idea if the Kamstrup Meter Protocol (KMP) is available anywhere? I read somewhere that they don't want to give the protocol details to private individuals. Most important is the Info-event parameter that will inform us of an nearly empty battery or other issue in the circuit. There will be some human logic in the protocol. |
Hi @HAEdwin Your issue/question doesn't have much to do with the original issue, please create a new issue next time.
According to the technical description document, the unit for The reason why
If you don't change the unit in HA, it should remain the correct value.
AFAIK the protocol isn't available and only reverse-engineered by Poul and then shared all over the web, more info: https://github.com/golles/ha-kamstrup_403/tree/main/custom_components/kamstrup_403/pykamstrup |
@Kugelfang666 I've implemented the change in PR #75 would you be able to test these changes locally? |
This has just been released in |
Did you read the instructions?
The problem
Ever since I'm using this integration for a Kampstrump 402 all parameters read that are supposed to hold a date are not shown correctly in HA.
as is:
"MaxFlowDate_M" holds "230,207.0 yy:mm:dd" as value
expected:
23-02-07 (or in a other date format that makes sense)
All other Parameters that are holding dates exhibit the identical issue
What version of this integration has the issue?
2.2.0
What version of Home Assistant Core has the issue?
latest
Home Assistant log
No response
Diagnostics
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: