Skip to content

Instantly share code, notes, and snippets.

@Spaz1980
Spaz1980 / moisture-1.yml
Created May 2, 2024 16:39 — 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: