IMPI integration plattform

Many server computers have a BMC running which can be used to remotely manage the system.
To allow for automated remote management very often IPMI is used (e.g. Supermicro). Like with SNMP please add an integration for the IPMI Utilities. Using this it would be possible to remotely power up or down a IPMI complant system and also retrieve various status information.

Example:
switch:

  • platform: ipmi
    name: MyServer
    host: xxx.xxx.xxx.xxx
    payload_status: power status
    value_template: { { selection_expression }}
    payload_on: power on
    payload_off: power off

sensor:

  • platform: ipmi
    name: MyServerSensor1
    host: xxx.xxx.xxx.xxx
    value_template: { { selection_expression }}

To use IPMI at the moment I have to setup another machine, install IPMI and MQTT client to act als bridge to call the command from HA via MQTT or send changes value for sensors via MQTT to HA. If there is a better and more easy way than such an IPMI integration please help me finding it.

I was just thinking the same thing… trying to power my media server up with Wake on LAN. IMPI Would be WAY more convenient.

This workaround worked for me, to send power on/off events to IPMI:
https://hugoideler.com/2021/09/switching-on-ipmi-devices-using-home-assistant/

Hi!

I have implemented an ipmi connector integration for HAAS: GitHub - ateodorescu/home-assistant-ipmi: IPMI connector for Home Assistant

Enjoy!

4 Likes

I just bought a Supermicro server and set it up today, and was wondering if there was a HA integration for this. I’ve never used this BMC / IPMI feature before, it’s pretty cool. Thanks @ateodorescu, I will try out your integration!

Works great, thanks!

hello
how did you manage to make it work? It does not detect me or devices and sensors.

can you explain it please?

thank you so much

Great work, btw did you have manage to make it work the power monitor? Because I don’t see it in the sensor but my server has.

Thanks for the great work!! Smooth operation with my Supermicro X10QBi!

I installed this and the add-on and it worked great for what I wanted. Then my storage started filling up after a bit at 8mbps, very fast. I’ve wiped out my install twice and restored from backup. The last time I did not restore the add on and so far my issues have not returned. Having trouble figuring out what was causing it.