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

Add registers for Pool 40 accessory and some more missing registers to S1156/S1256 #204

Conversation

vtamm
Copy link
Contributor

@vtamm vtamm commented Jan 13, 2025

No description provided.

],
"data": {
"40061": {
"default": 430.0
Copy link
Owner

Choose a reason for hiding this comment

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

Why you need this default? I do not think we use it anywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yozik04 Hey! Apologies for submitting a so far undocumented PR, I am going to write a description but did not have time for it yesterday – will update it today!

Regarding this change in particular: the CSV export from my S1256 included this change in the default value of this register compared to the CSV file in the repository. I wrote in the commit description that I suspect this change might come from the latest firmware (3.4.11). But it also seems to me like it is a pretty insignificant change, and for that reason maybe it can be ignored? (If you agree, I can remove the addition to extensions.json from this PR.)

Copy link
Owner

Choose a reason for hiding this comment

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

Just ignore it. It is not possible to make it perfect. It changes every month for S series.

@@ -1173,6 +1188,7 @@ Heating, auto MODBUS_HOLDING_REGISTER 3059 1 4 0 1 1
Factor MODBUS_HOLDING_REGISTER 3033 1 4 1 10 5
id:10881 MODBUS_HOLDING_REGISTER 3062 1 4 0 1 0
id:10890 MODBUS_HOLDING_REGISTER 3063 1 4 0 1 0
Hot water start (BT5) MODBUS_INPUT_REGISTER 2014 10 °C 2 0 0 0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yozik04 regarding this line and why it is "new": I see that you had a discussion recently about adding this register. It was then added to s1155_s1255.csv in #197 but then it seems the "Hot water start" was lost for the xx56 models when the new s1156.csv file was added in #198 and later renamed to s1156_s1256.csv in this commit.

Copy link
Owner

@yozik04 yozik04 Jan 14, 2025

Choose a reason for hiding this comment

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

I think you can just drop extensions.json change, regenerate json file and it will be fine to merge. Of course tests need to pass =)

@vtamm
Copy link
Contributor Author

vtamm commented Jan 15, 2025

Hey @yozik04, I've updated the PR and removed the addition to extensions.json as well as added four more new registers which showed up in my CSV export today after I connected two THS 10 room temperature sensors. That's all I got for now!

@vtamm vtamm marked this pull request as ready for review January 15, 2025 16:48
Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.17%. Comparing base (53618e5) to head (1cd3f96).
Report is 10 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #204   +/-   ##
=======================================
  Coverage   70.17%   70.17%           
=======================================
  Files          14       14           
  Lines        1358     1358           
=======================================
  Hits          953      953           
  Misses        405      405           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yozik04 yozik04 merged commit eeed310 into yozik04:master Jan 15, 2025
8 checks passed
@yozik04
Copy link
Owner

yozik04 commented Jan 15, 2025

@vtamm Thank you for the effort!

@vtamm
Copy link
Contributor Author

vtamm commented Jan 16, 2025

@yozik04 this is unrelated to this PR but for lack of a better place I'll notify you here; I've just started looking into the mapping of the S-series climate systems properties in coil_groups.py to the corresponding registers and it looks like some of them might be mapped to the wrong value/register.

I'm reviewing all of the climate systems now and will submit a new PR with any changes probably in the next couple of hours. Just wanted to let you know right away in case you're planning to tag a new version soon – you might want to hold it until I'm done with this review so that you can include the corrected mappings in the next release!

@vtamm
Copy link
Contributor Author

vtamm commented Jan 17, 2025

@yozik04 if you don't mind, I have a couple of things I'd like to ask/discuss with you which are better suited for chat, so I sent you a friend request (Flux) on the Home Assistant Discord server!

@yozik04
Copy link
Owner

yozik04 commented Jan 17, 2025

I've added you, but I think you want to talk to @elupus instead about S-series.

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