ipmi plugin command is hard-coded
The ipmi plugin relies upon the ipmitool
. However, usually, that tool is owned by root
. So, if mqtt4hass is running as a user other than root, it cannot run ipmitool directly. To resolve this, we should provide a way for the user to specify a different command to run (e.g.: sudo ipmitool
) via the config.