Skip to content
This repository has been archived by the owner on Apr 10, 2022. It is now read-only.

Darkness4/raspberry-pi-temperature-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A prometheus exporter for Raspberry pi (deprecated)

Just use a node exporter which already exports node_thermal_zone_temp.

Usage

go build -o app .
./app --host <host> --port <port> --path.sysfs=/sys

Then you can access /metrics.

(TBH, it also compatible to anything which has the path "/sys/class/thermal/thermal_zone*/temp").