Skip to content

esp8266 + hc-sr04 water level sensor with mqtt for home assistant

Notifications You must be signed in to change notification settings

cyber-junkie9/hass-water-level-sensor-esp8266

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Features

ESP8266 + (HC-SR04 or SN-SR04T-v3.0) collector & publish to MQTT for use in Home Assistant or Node-Red

  • 10x samples read with 100ms delay between samples
  • Publish sensor data to MQTT
  • Apply Kalman filter to the average of the samples
  • .ino file in the repo for the sn-sr04t-v3.0 waterproof sensor
  • .ino file in the repo for the hc-sr04 sensor

ESP8266 & HC-SR04 Install & setup

Follow the Hacker.io Sample used as the source for this project

Home assitant vertical stacck in card

Check the hass folder for the configuration.yaml used and the vertical-stackin-card.yaml for presenting the data in the UI

Includes use of SimpleKalman filter library

KalmanFilter

  • Take a look at this youtube video to see the Kalman Filter working on a stream of values!

About

esp8266 + hc-sr04 water level sensor with mqtt for home assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%