raghulkrishna / deepcool-ak620-digital-linux

MIT License
24 stars 12 forks source link

Kinda works on AK500 Digital #5

Closed Its-Juice closed 3 months ago

Its-Juice commented 4 months ago

Hi. I have followed every instruction (probably idk). The cpu usage works and displays accurate usage (probably). Temperature doesn't work tho. Any help?

hykelvinlee42 commented 4 months ago

You need to figure out the temperature sensors available by running the following Python code and pick the one you want to use for display.

import psutil
print(psutil.sensors_temperatures().keys())

Details in my forked repo.

Its-Juice commented 4 months ago

You need to figure out the temperature sensors available by running the following Python code and pick the one you want to use for display.

import psutil
print(psutil.sensors_temperatures().keys())

Details in my forked repo.

Nope, managed to get my cpu sensor (coretemp probably) and used the script as the instructions said. Still displaying 0 degrees.

hykelvinlee42 commented 4 months ago

Were you able to see the temperature from the console?

print(psutil.sensors_temperatures()['coretemp'][0].current)  # assume you're using using coretemp

If it's showing 0 degree, then perhaps it's psutil not able to read from your system. Also check line 55 of deepcool-ak620-digital.py, see if it's using coretemp instead of nct6687.

Its-Juice commented 4 months ago

Were you able to see the temperature from the console?

print(psutil.sensors_temperatures()['coretemp'][0].current)  # assume you're using using coretemp

If it's showing 0 degree, then perhaps it's psutil not able to read from your system. Also check line 55 of deepcool-ak620-digital.py, see if it's using coretemp instead of nct6687.

Yep this fixed it. Now the issue is that it doesn't automatically start on boot.

raghulkrishna commented 3 months ago

can you try using the latest version?

Its-Juice commented 3 months ago

can you try using the latest version?

Yes i started using the latest version and it now works perfectly. Great job on your behalf! (Issue fixed)