cputemp
v0.0.1
Published
module to get cpu temperature from sysfs
Downloads
10
Readme
cpu
module to get cpu temperature from sysfs
Installation
npm install cpu
Usage
define and export env variables defined in .env
get cpu temperature
cpu = require 'cputemp'
cpu
.temp()
.then console.log, console.log
publish cpu temperature to defined mqtt topic
cpu = require 'cputemp'
cpu.pub()