Hm… I’m not using mqtt so would not like to bother with it just to rin this one comand. But This made me thinking… Well I do have a custom python dashboard with some api in it. I suppose I could add something like /domain.com/api/get_cpu_rpm that would return rpm in plain text. Or json. And then use some sort of http get command from inside HASS to query that.
Just gotta find a command for http request, either hass sensor or terminal command.
I’m not sure how it behaves on linux, but on Windows OHM is pretty heavy, it was loading my CPU up to about 10%. Which is not good for something like this.
I ended up writing my own api endpoint which returns json of all fans from lmsensors, and using ‘rest’ in HASS. As you can imagine it’s quite lightweight, especially since it’s just a part of my already existing dashboard thing.
While I was doing that, however, I noticed that that homeassistant docker container has DNS issues, namely - it does not work. Which does not allow me to use Google Home integration, for example, as well as any other service which relies on domain names.