https://github.com/fleaz/arduino-temp-exporter
Arduino + Ethernet Shield + Temperature Sensor = Prometheus Exporter
https://github.com/fleaz/arduino-temp-exporter
hacktoberfest
Last synced: about 2 months ago
JSON representation
Arduino + Ethernet Shield + Temperature Sensor = Prometheus Exporter
- Host: GitHub
- URL: https://github.com/fleaz/arduino-temp-exporter
- Owner: fleaz
- Created: 2019-11-26T21:30:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-26T22:33:51.000Z (over 6 years ago)
- Last Synced: 2025-12-26T02:30:06.265Z (6 months ago)
- Language: C++
- Size: 466 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# arduino-temp-exporter
Use an Arduino Uno, an Ethernet shield and a temperature sensor as a exporter for Prometheus.

## 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](https://platformio.org/). 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
```