Open Xaero252 opened 6 years ago
Seems there is a bug in writing this config file. Here is what I did to fix. It is missing the bus line.
Delete the sensors.conf file.
Run the sensors command to get the bus on the second line where says adapter.
then set the sensors in unraid.
afterards edit the sensors.conf file and add at the top below #sensors
bus "i2c-0" "SMBus I801 adapter at 0580" <--- from the sensors command(using your example).
Then just never touch the config in unraided. I am not sure if this is just a bug only I have or and issue with this plugin. But after finding this via google and more digging into sensors.conf this is how I solved. Hopefully helps others.
So, I have a system running coretemp for CPU temperatures and an nct7904 chipset for system monitoring over i2c.
After using the webui to populate things by first detecting and then loading the drivers, the dropdowns populate correctly; the output of "sensors" from a command line can be seen below:
After setting Package id 0 for CPU, temp2 for Motherboard and Fan2 for the Array fan, the lists become unpopulated, and running "sensors" again results in the following:
The contents of sensors.conf at this point is as follows:
The bus id "seems correct" based on the original output of sensors. Reading the manual, I decide to just use "nct7904*" which resulted in a "mostly" working scenario, where the CPU temperature and Motherboard temperature did work, but the fan speed did not. I have not been able to identify a way to get fan speed to work.
I'm not sure if this is caused by an upstream issue with LM_SENSORS or the way you are parsing the outputs for the creation of the sensors.conf file.
Anyways, hopefully there is enough detail here to resolve this.