Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temperature is -1 #21

Open
sgoetze opened this issue Apr 26, 2019 · 3 comments
Open

temperature is -1 #21

sgoetze opened this issue Apr 26, 2019 · 3 comments
Labels

Comments

@sgoetze
Copy link

sgoetze commented Apr 26, 2019

On my Debian Stretch (no RPi) pimatic server the sysinfo plugin shows -1 for CPU temperature.

I use a small PC with a VIA CPU and a HDD for pimatic server. I have installed lm-sensors, did sensors-detect and kmod is started. Runnig sensors from shell gives:

acpitz-virtual-0
Adapter: Virtual device
temp1:        +40.0°C  (crit = +127.0°C)

via_cputemp-isa-0000
Adapter: ISA adapter
Core 0:       +49.0°C
cpu0_vid:    +0.860 V

If it's a problem of my special hardware please close the issue again. I have a watchdog running even for CPU temperature and no problem if sysinfo is not showing this information for my server.

@mwittig
Copy link
Contributor

mwittig commented May 17, 2019

Sorry for the delay in reply. As you say you are running a debian server can you please try the following command.

sensors

This should yield various sensor values for the CPU. If the command is not found please consider installing the lm-sensors package.

sudo apt-get install lm-sensors 

After the package installation execute the following command

sudo sensors-detect

You may also need to run the following

sudo service kmod start

Please let me know if this solves the issue. You may also need to restart pimatic once

@mwittig
Copy link
Contributor

mwittig commented Jun 2, 2019

@sgoetze Any news? Did you try to install the lm-sensors package?

@sgoetze
Copy link
Author

sgoetze commented Jul 8, 2019

@ mwittig: I did all this and I did it once more now. This is the summary of sensor-detect:

Driver `f71805f':
  * ISA bus, address 0x295
    Chip `Fintek F71805F/FG Super IO Sensors' (confidence: 9)

Driver `via-cputemp':
  * Chip `VIA C7 thermal sensor' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
f71805f
via-cputemp
#----cut here----

Command sensors shows this:

acpitz-virtual-0
Adapter: Virtual device
temp1:        +40.0°C  (crit = +127.0°C)

via_cputemp-isa-0000
Adapter: ISA adapter
Core 0:       +69.0°C
cpu0_vid:    +0.860 V

I have still pimatic version 0.9.48 running, hope that is no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants