It reads CPU temperature from /sys/class/thermal/thermal_zone0/temp
.
# pip install cputemp
$ cputemp [option]
- -h, --help display this help and exit
- -f, --format telegraf|n setting output format
- -c, --continuous refresh every 10 seconds
If you like this program, please donate me!
- Bitcoin: bc1qx4q5epl7nsyu9mum8edrvp2my8tut0enrz7kcn
- EVM compatible (Ethereum, Fantom, Polygon, etc.): 0x9F0a70A7306DF3fc072446cAF540F6766a4CC4E8
- Litecoin: ltc1qk2gf43u3lw6vzhvah03wns0nkgetg2c7ea0w5r
- Solana: 14SHwk3jTNYdMkEvpbq1j7Eu9iUJ3GySnaBF4kqBR8Ah
- Flux: t1T3x4HExm4nWD7gN68px9zCF3ZFQyneFSK
Tested on Raspberry Pi Zero W and Orange Pi Zero
Project page: https://github.com/gyengus/cputemp