Comments (3)
Hi,
The argonone-tempmon
simply displays the output read from an entry in the sysfs:
while true; do clear; date; cat /sys/class/thermal/thermal_zone0/temp; sleep 1; done
(line 568 in argon1.sh
)
The linux kernel does indeed report the temperature using a finer scale that °C (1000 = 1°C). So on your RPI4, you are running effectively at around 36°C.
You can adapt the script as follows if you prefer degrees °C to be printed out directly:
while true; do clear; date; echo "$(( $(cat /sys/class/thermal/thermal_zone0/temp) / 1000 ))°C"; sleep 1 ; done
@mrgfisher the line you refer is used in the fan control script which I had to patch to comply with python 3.
from argon-one-case-ubuntu-20.04.
Hi @vojimen ,
From a quick review of the script it does appear to:
echo ' val = float(int(temp)/1000)' >> $powerbuttonscript
from argon-one-case-ubuntu-20.04.
As of this commit 6593850 the script argonone-tempmon
will display the temps in C°.
from argon-one-case-ubuntu-20.04.
Related Issues (11)
- Works great on Ubuntu Server 21.04
- constant temperature emitted by tempmon HOT 1
- 21.10: fanconfig and tempmon work, but power off does not.
- Very useful script, one request HOT 1
- hardcoded use lxterminal in the .desktop files. HOT 12
- zombie process is detected HOT 3
- Once installed fan keeps running forever even after poweroff HOT 3
- for 4B, also need "bus = smbus.SMBus(1)" HOT 2
- argononed.py crashed with FIleNotFoundError in __main__ HOT 5
- May modified and distributed your script for Home-Assistant HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argon-one-case-ubuntu-20.04.