Skip to content

Show Raspberry Pi's or Orange Pi's CPU temperature

License

Notifications You must be signed in to change notification settings

gyengus/cputemp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Show Raspberry Pi's or Orange Pi's CPU temperature

PyPI - License PyPI PyPI - Downloads PyPI - Python Version PyPI - Wheel

It reads CPU temperature from /sys/class/thermal/thermal_zone0/temp.

Install

# pip install cputemp

Usage

$ cputemp [option]

Options

  • -h, --help display this help and exit
  • -f, --format telegraf|n setting output format
  • -c, --continuous refresh every 10 seconds

Donations

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

About

Show Raspberry Pi's or Orange Pi's CPU temperature

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages