Skip to content

Support Smart-Home-Interface Part 5: Main interface#203

Merged
Bouni merged 15 commits intoBouni:mainfrom
Guzz-T:issue/190/interface
Dec 22, 2025
Merged

Support Smart-Home-Interface Part 5: Main interface#203
Bouni merged 15 commits intoBouni:mainfrom
Guzz-T:issue/190/interface

Conversation

@Guzz-T
Copy link
Contributor

@Guzz-T Guzz-T commented Nov 1, 2025

Fifth pull request to gradually integrate the smart home interface. This pull request includes:

Contiguous blocks: Helper classes to group read/write operations
Interface: Main interface for the user
Pytest units for new methods and classes

Part 5 for #190

Extensions not yet included:

  • Scripts
  • Integration into the luxtronik interface

@github-actions
Copy link

github-actions bot commented Nov 1, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
luxtronik
   __init__.py1841194%42–43, 46–51, 257–258, 263
   __main__.py21210%3–49
   datatypes.py325199%114
   discover.py58198%62
luxtronik/scripts
   dump_changes.py43430%7–85
   dump_luxtronik.py26260%6–52
TOTAL181110394% 

Tests Skipped Failures Errors Time
299 0 💤 0 ❌ 0 🔥 5.657s ⏱️

@Guzz-T Guzz-T force-pushed the issue/190/interface branch from b642f7c to 6b1d57b Compare November 2, 2025 22:24
@kbabioch
Copy link
Collaborator

kbabioch commented Nov 4, 2025

@Guzz-T Since you've pushed some new commits: Is this still work-in-progress, or ready to be reviewed?

@Guzz-T
Copy link
Contributor Author

Guzz-T commented Nov 4, 2025

It should be finished. There might be a few minor changes later, but those could also be included in the next pull request.

@Guzz-T
Copy link
Contributor Author

Guzz-T commented Nov 13, 2025

Since there are still no review comments, I’ve (once again) pushed a small change to reduce the overall effort required for the whole review 😅

@kbabioch kbabioch self-requested a review November 14, 2025 14:26
@Guzz-T
Copy link
Contributor Author

Guzz-T commented Dec 11, 2025

@kbabioch: Would you have time for a review?

@kbabioch
Copy link
Collaborator

Ah, sorry, totally forgot about this one. As always, super clean pull request, nothing to complain from my point of view.

Obviously, you're breaking the whole thing down into small / reviewable pieces and are following good practice in terms of software engineering. Just wondering how "complex" the overall component / interface will become and if it might be over-engineered :-). But this is just my split personality, since I like well architectured software ;-).

@Guzz-T
Copy link
Contributor Author

Guzz-T commented Dec 18, 2025

Ah, sorry, totally forgot about this one. As always, super clean pull request, nothing to complain from my point of view.

Obviously, you're breaking the whole thing down into small / reviewable pieces and are following good practice in terms of software engineering. Just wondering how "complex" the overall component / interface will become and if it might be over-engineered :-). But this is just my split personality, since I like well architectured software ;-).

Much of the complexity stems from the fact that the controller/pymodbus interface aborts reading/writing with an exception if a non-existent register is addressed. Therefore, it must be divided into many small operations. This also causes problems with older controller versions that does not support some registers.

Maybe I'll find a way later on, which would simplify the whole process.

But yes, I have a tendency to make things a little more complex than is strictly necessary.

@Guzz-T
Copy link
Contributor Author

Guzz-T commented Dec 21, 2025

Could someone please merge?

@Bouni Bouni merged commit 930b09b into Bouni:main Dec 22, 2025
4 checks passed
@Guzz-T Guzz-T deleted the issue/190/interface branch December 22, 2025 15:14
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.

3 participants