-
-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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 Luxtronik integration for multiple heat pump models #27230
Conversation
I maybe change the naming scheme depending on what the users of my custom component vote for. |
I think I'm done. I have this component running with my heatpump for quite a while and havn't encountered any problems so far. |
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.
Just some small stuff to start the reviewing process :)
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.
Just some more small stuff to get you started :)
I'll take a look at all your points soon! |
@springstan @Bouni What's the hold up? I would to see this component merged asap. If there is anything I can do to help? |
@remyderuysscher I'm very busy at the moment and whenever @springstan asked me to change certain things, it took several days until I was able to react. Thats probably the main reason why this takes longer than usual. |
@springstan Is there anything else you wan't me to change / improve? |
I understand, I'm here to help if needed! |
port = conf[CONF_PORT] | ||
safe = conf[CONF_SAFE] | ||
|
||
luxtronik = LuxtronikDevice(host, port, safe) |
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.
Can you verify here that the connection works ?
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.
I could check if the used lib got data from the heatpump?
Is that an option?
self._host = host | ||
self._port = port | ||
self._luxtronik = Lux(host, port, safe) | ||
self.update() |
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.
No side effects in the constructor, pass True
as second arg to add_entities
instead.
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.
Can you give an other integration as an example?
|
||
self._host = host | ||
self._port = port | ||
self._luxtronik = Lux(host, port, safe) |
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.
Is this data shared between multiple devices ?
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.
You mean in case somebody uses this integration fro two heatpumps to connect to?
Hi @Bouni , it looks like this one got pretty close. Are you still working on this. PR? |
@bdraco Kind of, I wait for one of the maintainers to look at the latest changes I made, on the other hand, there are some open issues I don't know how to fix 😞 |
Ok, @Bouni Let's resolve all comments you've handled. That way you get a better overview of what is open and what is done. |
@frenck Highly appreciate your help! |
Yes, you can close a review comment by clicking resolve (only do that when it is actually resolved ;) ) After that, you will be left with things that need either discussion or still need adjustment. Which makes it easier to overview for you and everybody else. |
@Bouni |
@Schack17 I will continue on this next week hopefully! |
that integration looks great and is exactly what i need! Excited to test it when its ready. |
I think I'll release a HACS version of this today so that people can start using it. After thats done, I can focus on fixing all the remaining issues with this PR. |
OK, the HACS repo is done, until it is integrated with HACS officially, you can add it as a custom repo in HACS using the Github URL: https://github.com/Bouni/luxtronik |
@Bouni the code crashes on parsing a 10.0.0.0/8 IP address. File "/usr/local/lib/python3.7/ipaddress.py", line 1312, in init |
@remyderuysscher Please do not report issues with the HACS version here! |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
This PR is running stale and has requested changes. Closing this PR for now. Feel free to re-open when ready to work on it again. Thanks 👍 |
Description:
Add support for heat pump units controlled by a Luxtronik controller.
Manufacturers that use Luxtronik heat pump controllers are:
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#10621
Example entry for
configuration.yaml
(if applicable):Checklist:
tox
. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
by runningpython3 -m script.gen_requirements_all
..coveragerc
.If the code does not interact with devices: