Closed FischLord closed 3 weeks ago
Hi!
ipmi
integration works best with ipmi-server
addon (https://github.com/ateodorescu/home-assistant-addons). If the addon is not used then ipmi
integration uses a python library that does not work as ipmitool
and does not support some servers.
Since you run you Haas on docker then it's better to use the docker image that @MNeverOff implemented for ipmi-server
addon https://hub.docker.com/r/mneveroff/ipmi-server
Hope this helps!
Hi @ateodorescu,
Thank you for your prompt response and suggestions. Unfortunately, I still encounter the same issue despite trying several approaches. Here’s a summary of the steps I’ve taken:
ipmi-server
addon as you suggested. I followed the instructions on the GitHub page you provided and also explored the Docker image by @MNeverOff.Despite these efforts, the error persists:
2024-06-24 19:35:51.922 ERROR (SyncWorker_15) [custom_components.ipmi.server] Error connecting to IPMI server 192.168.1.1: Max retry while sending and/or receiving ipmimessage for rmcp host 192.168.1.1
2024-06-24 19:35:51.922 ERROR (SyncWorker_15) [custom_components.ipmi.server] Error connecting to IPMI server 192.168.1.1: Max retry while sending and/or receiving ipmimessage for rmcp host 192.168.1.2
I’m unsure if I might be missing something in the setup process or if there might be an issue with the documentation being outdated. Any further guidance or troubleshooting steps would be greatly appreciated. I’m keen to get this integration working and am open to any suggestions you may have.
Thank you for your help and patience!
Best regards,
FischLord
- I attempted to implement the solution using the
ipmi-server
addon as you suggested. I followed the instructions on the GitHub page you provided and also explored the Docker image by @MNeverOff.
Right, @FischLord, I kinda feel kinda bad for bringing more stuff upon @ateodorescu's plate, so feel free to raise an Issue in the repo for the wrapper.
However, I would advise you take a few troubleshooting steps and try to get that running one by one to see where the error's ocurring. Take a look at the testing the connectivity section of my writeup on gettingI IPMI running w/ Apple Home, sections surrounding that one give a decent example of how to take it one step at a time.
Hi @ateodorescu,
Thank you for your prompt response and suggestions. Unfortunately, I still encounter the same issue despite trying several approaches. Here’s a summary of the steps I’ve taken:
- I attempted to implement the solution using the
ipmi-server
addon as you suggested. I followed the instructions on the GitHub page you provided and also explored the Docker image by @MNeverOff.- I tried setting up Home Assistant both as a Docker instance and via Home Assistant OS. In both setups, I installed the IPMI custom component through HACS and manual installation.
Despite these efforts, the error persists:
2024-06-24 19:35:51.922 ERROR (SyncWorker_15) [custom_components.ipmi.server] Error connecting to IPMI server 192.168.1.1: Max retry while sending and/or receiving ipmimessage for rmcp host 192.168.1.1 2024-06-24 19:35:51.922 ERROR (SyncWorker_15) [custom_components.ipmi.server] Error connecting to IPMI server 192.168.1.1: Max retry while sending and/or receiving ipmimessage for rmcp host 192.168.1.2
I’m unsure if I might be missing something in the setup process or if there might be an issue with the documentation being outdated. Any further guidance or troubleshooting steps would be greatly appreciated. I’m keen to get this integration working and am open to any suggestions you may have.
Thank you for your help and patience!
Best regards, FischLord
Regarding your 2nd attempt with the Home Assistant OS, I have to say that I am using it too but you have to add the addon yourself. Follow this guide to install ipmi-server addon: https://www.home-assistant.io/common-tasks/os#installing-third-party-add-ons
Hi @ateodorescu,
Thank you very much for your suggestion! I followed your instructions to manually add the IPMI-server addon, and it worked perfectly. I'm very grateful for your help.
I plan to write a small guide detailing the steps I took to get everything working and will share it here later to help others who might encounter the same issue.
As for @MNeverOff's solution, I haven't tried it yet since I was able to resolve the problem with the method you recommended. However, I do plan to give it a try when I have more time.
Thanks again for your support!
Best regards,
FischLord
Here is a detailed guide on how to integrate and use the IPMI add-on in Home Assistant, based on my experience and community support.
Adding the IPMI Add-on Repository
Adding the Repository to Home Assistant
ipmi-server
add-on listed in the Add-on Store.Installing and Starting the IPMI Add-on
ipmi-server
add-on from the list and install it.Connecting to the IPMI Server
ipmitool -I lanplus -H 192.168.1.1 -U [username] -P [password] chassis status
Installing the IPMI Custom Component
Configuring the IPMI Integration
localhost
).Testing the Connection
http://YOUR_HASS_SERVER_IP:9595/command?params=-I%20lanplus%20-H%20YOUR_IPMI_SERVER_IP%20-U%20ADMIN%20-P%20YOUR_PASSWORD%20bmc%20info
Troubleshooting
Description
When attempting to connect to my Dell R720 server via IPMI, I encounter the following error in the log:
System Information
Problem Description
ipmitool
.Additional Information
The command I run from the command line that successfully connects:
The Home Assistant log shows the error mentioned above.
Steps to Reproduce
Expected Behavior
The connection should be successfully established, similar to using the
ipmitool
command from the command line.Actual Behavior
An error "Max retry while sending and/or receiving ipmimessage for rmcp host 192.168.1.1" is displayed in the Home Assistant log, and the connection fails.
Request for Assistance
I need help to identify and resolve the issue so that the IPMI connection can be successfully established via Home Assistant.
Thank you in advance!