Skip to content

An IOT water temperature sensor that publishes the temperature to Home Assistant and/or MQTT

License

Notifications You must be signed in to change notification settings

benpeart/water-temperature-sensor

Repository files navigation

IOT water temperature sensor

This is a relatively simple IOT sensor I put together to monitor the temperature of the water coming from my outdoor wood boiler. The temperature probe monitors the temperature every 60 seconds and sends it to my Home Assistant server via ESPHome (or MQTT). I run ESPHome in a docker on the same server running Home Assistant. See the enclosed docker-compose.yml.

Home Assistant

Home Assistant has actions that notify me when the water exceeds 185 degrees and is at risk of boiling over. This typically means I have left a door open and the fire is raging! I have a second action when the water temperature goes under 145 which typically means I need to load more firewood.

I found that the MAX31855 and K-Type temperature sensor resulted in noisy readings so have utilized the median sliding window filter to filter out the outlier values. I observed very low readings for periods up to 10 mintues. Since the temperature of the wood boiler doesn't change that quickly, I use a fairly large window to ensure I remove the outliers and don't have false over/under temperature notifications. My current settings are in esphome-wood-boiler.yaml.

Wiring Diagram

The wiring diagram is pretty simple. I found I had to use a 10k Ohm pull down resistor on the Chip Select (CS) line or it wouldn't boot or flash reliably:

Wiring Diagram

3D Printed Project Box

I also included the OpenSCAD file I used to 3D print a case to hold it all:

Project Box

Parts List

Here are the parts I used to build the solution:

WeMos D1 Mini clone

Adafruit MAX31855 breakout board

ElectroCookie Solderable Breadboard

K-Type Pipe Thread Temperature Sensor Probe

Stainless Steel Reducer

About

An IOT water temperature sensor that publishes the temperature to Home Assistant and/or MQTT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published