-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Incorrect sensor readout by home assistant #52
Comments
What do you mean by latest verson? Latest version of this integration?
The same is true for Did you upgrade your Heatpump recently? Are you aware that all sensors / binary_sensors are no longer luxtronik.XXX but sensor.XXX / binary_sensor.XXX since the december releases? |
I was using 1.3.0 and today updated to 2022.12.02. I updated all the sensors from luxtronic to (binary_) sensor and now the ones i mentioned are incorrect Maybe the home assistant update broke it |
What moel of heatpump do you use? |
alpha innotec Wzs 6hk |
I'm having a similar issue with some ID_WEB_Zaehler_BetrZeit* sensors. Either since the HA 2022.12.0 or since the luxtronik integration update. The graphs in the history looks fine, but the entity cards just displaying "invalid timestamp". Seems like the sensors report an invalid format. See attached a screenshot: |
Maybe Home Assistant changed the way they interpret timestamps 🤔 |
I think we need to introduce a new datatype And change some of the Anyone want to send a PR? |
I can give it a try. The change itself doesn't look to hard, just need to figure out how to best test it. |
Looked into this in some more details, still have to get familiar with the Home Assistant device classes. Overall I tried two things:
As well as a more straight-forward approach:
However I'm not quite sure what Home Assistant expects. The documentation for Additionally it seems like some of the parameters are reported as seconds (
Should this be represented by one datatype, or are multiple ones needed here? |
Also it might be useful to set the state class for those entities to What do you think? |
I just realized that there is already a Seconds data type: https://github.com/Bouni/python-luxtronik/blob/main/luxtronik/datatypes.py#L83-L87 So we just need a Hours data type. Maybe some adjustments are necessary as well |
I was wrong, we already have Seconds and Hours So I think we only have to add As you already mentioned, we might add a |
After updating to the latest version some sensors are broken
These 2 report invalid timestamp, the value should be number of hours
group: parameters
id: ID_Einst_Kuhl_Zeit_Ein_akt
friendly_name: Koeling aan na BT overschrijding
These ones are being read as days into the past/future but should be seconds
group: calculations
id: ID_WEB_Time_WPein_akt
friendly_name: Warmtepomp loopt
group: calculations
id: ID_WEB_Time_LGS_akt
friendly_name: Thermische desinfectie since
The text was updated successfully, but these errors were encountered: