Giter Club home page Giter Club logo

esp-boiler-monitor's Introduction

Diesel heating boiler monitor

This project is a scrappy attempt at non-intrusive monitoring of diesel-guzzling central heating boiler.

It uses a clamp-on current-transformer on the wire powering the main fuel pump of the boiler to integrate the time pump is running and multiplies that by fuel nozzle's rated output (0.55 US gallons in my case). The output is sent over serial port to python daemon which sends it to influxdb for plotting by grafana.

Hardware side

The Arduino IDE sketch is written for TTGO ESP32 dev board. Since the author did not have a proper current transformer on hand, one was wound manually similar to this.

The current transformer had very noisy output when connected directly to ESP32's ADC, but looking at signal plot, a strong 50Hz component was identified.

Since the magnitude of current measurement was not needed for this project, just the on/off state, it was possible to detect if the pump is running based on FFT bin at 50Hz.

DS18B20 temperature sensor support was added to measure outside temperature, as it's quite an influential variable I wanted to see.

picture of the built hardware

The WiFi in this project is a bit under-utilized, as the RaspberryPi running influx/grafana was quite close, so it's only used for time sync for resetting the daily/monthly counters.

When building the sketch, move config.h.sample to config.h and update with your own wireless network information. Sorry, that is the quickest way to make sure I don't commit my passwords.

Software side

Software side consists of python service which connects to the ESP32 over serial port and writes consumption/status measurements to influxdb.

The end result is a nice plot that satisfies the inner wishes of data-nerd.

picture of grafana plotting the acquired data

esp-boiler-monitor's People

Contributors

festlv avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.