-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
HA crashes while installing Nibe Heat Pump integration #83759
Comments
Hey there @elupus, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) nibe_heatpump documentation |
Can you check debug log for an error? |
Also. If you have that thing active on node red, you will be blocking the listening port. |
I'll try to lookup the debug logs. (Try to do it tomorrow) Regarding blocking of the port, node-red was disabled at the moment of adding Nibe Heat Pump. I added node-red later on to check whether NibeGw was working correctly. |
In my case i cant find any error in the log.
Attached is my log from trying adding it, looks like its communicating,
starting adding entities for around 1700lines in the logger, then it stops,
that's where it crashes.
…On Sun, Dec 11, 2022 at 10:34 PM Joakim Plate ***@***.***> wrote:
Also. If you have that thing active on node red, you will be blocking the
listening port.
—
Reply to this email directly, view it on GitHub
<#83759 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX42H55KONTGU7C2CWZZSLDWMZCGXANCNFSM6AAAAAAS277UZE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
from adding_nibe_heatpump until crash.zip didn't follow when replying the mail, trying here |
Logfile from my side: At around line 482 it starts registering lots of entities. Just like the example from @jmhenglen. |
I wonder if you guys are running out of memory. Could you check the supervisor logs? |
Hi, I also check the supervisor from last time i pushed the send button in the nibe integration, then there also was a wachdog incident, but for node red instead.
|
I do not think it could need that much. I have total 900meg used for HA. So memory is probably not the issue then. |
Is there any information / logs that i could send, that would help you in locating the reason for the crash? I am already running Modbus sensors from other equipment (Which is working fine), are your integration running the same py script as the HA modbus? So that it could be modbus overload that is crashing everything? I remember reading somewhere that there is a max limit for requesting/reading modbus adresses. |
No it's not. It's using async-modbus, which in turn uses umodbus library. The only thing i could think of is if you could disable as much as possible other things. Or spin up a separate home assistant instance and test in that. |
I am not running any other modbus sensor, so I don't think that is the problem. I have around 400MB of ram to spare. But I would be surprised if the integration needs more than that. Maybe it does need a lot of RAM for a short period of time during setup? @elupus besides the total ram used, do you have a lot to spare? My Raspberry Pi only has 1GB installed. |
They are all disabled. Buuut, maybe nodered is not filtering on disabled entities. |
Also, enabling sensors with node-red is not working. You first need to disable node-red. @elupus Do you know why the integration was added as F1155? It seems to be working, I just enabled the outdoor temp sensor and I seem to be getting data. |
Regarding hidden entities, it only invisible in the UI. They will still keep on using resources and available for other integrations like node-red: So maybe the entities should initially be in 'removed' state? |
They are in disabled state. Not in hidden state. So they should not consume resources. |
Oops I see, my mistake! |
Ps. Name will be correct in next release. |
How do you guys get entities from home assistant into node red? |
Right. I assume it also lists disabled entities in node red selection dialogs? That would be a bug for node red integration. |
No it does not list those, but maybe node-red is doing something on the background causing HA to crash. Also, @AndreFjeld found errors related to node-red. I would expect nothing is wrong with Nibe Heat Pump, but the issue I related to node-red after all. |
I have created a bug report in node red repo. I think in the right component. Would be good if you guys could chime in on that report with the node red version as well as the component versions. |
They are all added automatic by Home Assistant in Node-Red. I checked, and only those who I made active are available in Node-Red, Disabled are not there in the list. |
@AndreFjeld you have likely added an entity that is unsupported by the pump. It annoyingly crashes whole integration at the moment. Will be fixed eventually. Try to remember which entities you enabled and disable them again. Ps. There aught to be an error in the log on what errored, but it will only show up once. |
Thanks, deactivating some entitites fixed the problem. :) Big tanks to you @elupus Joakim Plate for good help and service. |
Thank you @elupus! |
Can you guys update the node-red-contrib-home-assistant-websocket component in node red and see if it has solved the issue? Ps. I have no idea myself on how to update that on node red. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
When I try to install the Nibe Heat Pump integration, home assistant crashes and restarts.
I checked the logs (home-assistant.log, home-assistant.log.1 and home-assistant.log.fault) but there is nothing to be found there.
I do get a generic error message while installing, quickly after that HA restarts:
NibeGw seems to be working fine, I can see the UDP message coming in using node-red:
I am using the F1255 heat pump with ESPHome (https://github.com/elupus/esphome-nibe) LilyGo T-CAN485.
What version of Home Assistant Core has the issue?
2022.12.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Nibe Heat Pump
Link to integration documentation on our website
https://www.home-assistant.io/integrations/nibe_heatpump/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: