Skip to content

Instantly share code, notes, and snippets.

@jroth
jroth / moisture-1.yml
Created February 11, 2025 00:25 — forked from kdorff/moisture-1.yml
ESPHome code for moisture sensors
# Reads analog data using an ads1115. Three moisture sensors and a battery sensor.
# Goes to sleep for an hour at a time.
# Uses a helper input_boolean to keep it from going to sleep, in case you want to update it.
esphome:
name: moisture-1
platform: ESP32
board: esp32dev
on_boot:
then: