-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Details for two parameters related to hot water. #101
Conversation
Changes look fine to me. Personally I would also like to see unit tests, as they are already available for the other datatypes. Regarding the json file for meta information: I like the idea, but would encourage you to discuss is within #35 rather than in this pull request. |
I added a simple unit test. |
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.
Lgtm
Since the PR was not merged yet, I took the opportunity to identify some more calculations. For some reason, the energy from the heating rod seems to be a parameter. Calculations 232,233, 236-243 can be seen in the web interface if you are logged in as after-sales service. I also have taken the liberty to rename calculation 241, since "Circulation_Pump" sounds (at least for me) like Zirkulationspump/ZIP which is something different. For me, calculations 234 and 235 are always "0". By the way: My heating rod uses 6kW but is configured to 9kW. This seems to be parameter |
luxtronik/calculations.py
Outdated
242: Kelvin("HUP_Temp_Spread_Soll"), | ||
243: Kelvin("HUP_Temp_Spread_Ist"), |
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.
Wondering what this means physically? Don't remember to have seen this in the menu (will check later). But HUP
means Heizungsumwälzpumpe
. To my knowledge it is just circulating the water in the heating system. Not entirely really sure what Soll
and Ist
are supposed to mean in this context?
How exactly are those parameters called in the menu?
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.
These values can be seen in the (new) webinterface of the heat pump if you are logged in as Kundendienst.
If I understand my heat pump correctly, it only has two pumps: One for pumping the water into the bore holes (this is VBO
which seems to come from Ventilator, Brunnen- oder Soleumwälzpumpe
) and another one for pumping the heated water either into the hot water deposit or into the underfloor heating pipes).
These values report the Ist
and Soll
values of the temperatures of inflow and outflow. I think they are used to control the operating level of the pump.
That's interesting. For me it says:
As you've said that could mean |
In general: Thank you for working on identifying more parameters. That's appreciated. I think we should try to avoid to have too many of those parameters introduced / changed in one MR, though in the future. Ideally, for every set of datapoints that are related to each other, there should be a dedicated MR. Otherwise the discussion will get more and more confusing and it's hard to follow along and finish something. So for the future, I would suggest to create a new MR for new datatypes. |
In the webinterface, one can see the amout of heat produced by the heating rod. This seems to be also Parameter 1059. That is, parameter 1059 increases when the heating rod is on, and for this, parameter 1025 is used. It is not clear to me whether this parameter 1025 is also used (internally) for other things. |
Concerning multiple MR: Yes, I agree. |
To speed things up: Could you split your work, so that we stick to the first two commits (already approved) in this MR? Something like this should do the trick:
Afterwards your main branch (source for this MR) will be in the previous state and you'll have your other commit in a |
Done. |
@kbabioch Feel free to merge this one as you have looked into this a lot more than I did 😅 |
There is one more minor issue. The linting now complains about:
The reason is the refactoring of the classes via #96. Unfortunately I don't have permission to change your branch, so could you refactor it on top of current |
@kbabioch You mean rebase on main, right? not refactor!? |
Yes, exactly. Sorry for confusion. It needs to be rebased on top of current |
Done. However, in the test cases, should |
Changes look good now, merging it into |
@kbabioch : What about my last comment of |
Hm, seem to have missed that. Can it be removed, though? |
This patch adds details for:
Both parameters can be accessed at a German heat pump via "Service" -> "Einstellungen" -> "System Einstellungen" -> "Warmw. Nachheizung" / "Warmw. Nachh. max"
Parameter 1020 uses a new conversion formula for hours. ["Fun" fact: if you register as "Kundendienst" / "after sales service", then the parameter value is displayed (with
raw/10
) incorrectly in the "Event Log".]By the way: I think that there was some discussion, whether more information concerning the parameters could be collected in this module. My suggestion would be to move the parameter information to a separate (json formatted?) file, which is consequently read by
parameters.py
. Then, one could also add something like max and min values for the parameters. Would there be any downside?