pi-printemps

3.1.0 • Public • Published

Pi Printemps

Print the temps (temperature readings) for Raspberry Pi.

Created in spring 2021, hence the pun.

Also prints out more stats:

  • Core voltage
  • ARM clock speed (normally 1500Mhz, i.e. 1.5Ghz)
  • GPU clock speed (normally 500Mhz)
  • Throttle state

Usage in your project

Install

npm i pi-printemps

Import as a module

import { getTemps } from "pi-printemps"

or using require

const { getTemps } = require("pi-printemps")

Run async

Simple example

const { gpu, cpu } = await getTemps();

CLI tool

You can also run a simple script straight from the command-line (NodeJS must still be installed on your system, of course):

Install globally (optional)

npm install -g pi-printemps

then just run:

printemps

Run using npx (no install needed!)

Just run:

npx pi-printemps

Package Sidebar

Install

npm i pi-printemps

Weekly Downloads

0

Version

3.1.0

License

ISC

Unpacked Size

13 kB

Total Files

16

Last publish

Collaborators

  • anselan