Hassio IPMI control values?

Heya Guys,

I hope y’all are doing well an had a great holiday!
For a while I am running a server with a supermicro board. It has neat features as IPMI which can be used to take control over the whole server even if it’s off.
Does anyone know how to control, for example fan modes from hassio?
I want the fans to be at 100% when he house is empty but I want them in optimal mode when there is someone in the house. (Optimal mode is a PWM function which lets the CPU control how much cooling is needed.)

Thanks !
Dennis

So, I have the ipmicfg running on my host. how can it be utilized since hassio can’t execute the ipmicfg itself?
is there a way to remote execute a .sh script or send the command using ssh?

:wink:
This would be the best way from hassio.

1 Like

Thanks! Got it working :smiley:
I’m using proxmox VE as host and I made a shell_command for this to work.
Added an input_select and voila lovelace enabled ipm control.

ipmifan


ipmi_fanspeeds:
  name: IPMI Fan speed
  initial: Optimal speed
  options:
    - "Optimal speed"
    - "Full speed"

And for the shell_command

ipmi_fullspeed: 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /config/.ssh/id_rsa user@host bash full.sh'
ipmi_optimalspeed: 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /config/.ssh/id_rsa user@host  bash opti.sh'
2 Likes