https://github.com/gyengus/cputemp
Show Raspberry Pi's or Orange Pi's CPU temperature
https://github.com/gyengus/cputemp
orange-pi raspberry-pi
Last synced: 4 months ago
JSON representation
Show Raspberry Pi's or Orange Pi's CPU temperature
- Host: GitHub
- URL: https://github.com/gyengus/cputemp
- Owner: gyengus
- License: mpl-2.0
- Created: 2019-01-17T09:39:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-14T19:25:18.000Z (about 3 years ago)
- Last Synced: 2025-03-27T09:04:46.456Z (10 months ago)
- Topics: orange-pi, raspberry-pi
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Show Raspberry Pi's or Orange Pi's CPU temperature
[](https://opensource.org/licenses/MPL-2.0)
[](https://pypi.org/project/cputemp/)
[](https://pypi.org/project/cputemp/)
[](https://pypi.org/project/cputemp/)
[](https://pypi.org/project/cputemp/)
It reads CPU temperature from `/sys/class/thermal/thermal_zone0/temp`.
### Install
```bash
# pip install cputemp
```
### Usage
```bash
$ 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