Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

A simple program that exposes temperature readings from all connected ds18b20 temperature sensors in prometheus format

License

nezu-old/esp32-ds18b20-prometheus-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

!!! DEPRECATED !!!

As an alternative I recommend using ESPHome

esp32 ds18b20 prometheus exporter

A simple program that exposes temperature readings from all connected ds18b20 temperature sensors in prometheus format

By default the server listens on pot 80 and exposes data at /metrics

This project expects the sensor(s) to be connected to pin 4. If you want to use a diffrent pin make sure to edit the GPIO_DS18B20_0 define in main.c

Compiling

This project has dependencies in the form of submodules.
Make sure to clone the repository with the --recursive flag to download them

To build this project you will need the ESP-IDF toolchain
I recommend using Visual studio code as it make the entire process much easier.

When configuring the project make sure to put your WI-FI credentials in the Wifi configuration section

Dependencies

This project uses esp32-ds18b20 and esp32-owb

License

The code in this project is licensed under the MIT license - see LICENSE for details.

About

A simple program that exposes temperature readings from all connected ds18b20 temperature sensors in prometheus format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published