Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

pimatic-lm-sensors

0.2.0 • Public • Published

pimatic-lm-sensors

A pimatic plugin for lm-sensors.

Example

{
  "class": "LmSensor",
  "id": "CPUTemp",
  "name": "CPU Temp.",
  "attributes": {
    "sensor_name": "k10temp-pci-00c3",
    "interval": 30000
  }
}

sensor_name is the name of the device returned by sensors program. Example:

$ sensors
radeon-pci-0008
Adapter: PCI adapter
temp1:        +56.0°C  (crit = +120.0°C, hyst = +90.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +56.5°C  (high = +70.0°C)
                       (crit = +100.0°C, hyst = +97.0°C)

interval is the "refresh" interval (in milliseconds) between temperature reads. Default: 5000 (5 seconds)

Keywords

install

npm i pimatic-lm-sensors

Downloadsweekly downloads

26

version

0.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability