Skip to content

Arduino + Ethernet Shield + Temperature Sensor = Prometheus Exporter

Notifications You must be signed in to change notification settings

fleaz/arduino-temp-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arduino-temp-exporter

Use an Arduino Uno, an Ethernet shield and a temperature sensor as a exporter for Prometheus.

Hardware setup

Hardware list

  • Arduino Uno
  • W5100 ethernet shield
  • DS18B20 temperature sensor

Network configuration

Modify the src/main.cpp file and set STATIC to 1 or 0 depending if you want a static IP or DHCP.

Installation

This project was intendet to be build and flashed with Platformio. When you have it installed you can run platformio run to get all dependencies and platformio run -t upload to compile&uploda to your Arduino

Exposed metrics

arduino_temperature{sensor="ds18b20",mac="de:ad:be:ef:fe:ed"} 27.44

About

Arduino + Ethernet Shield + Temperature Sensor = Prometheus Exporter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages