Skip to content

Instantly share code, notes, and snippets.

@ukd1
Created May 18, 2022 20:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ukd1/f4c65f67042ccd1b993509481a660ca6 to your computer and use it in GitHub Desktop.
Save ukd1/f4c65f67042ccd1b993509481a660ca6 to your computer and use it in GitHub Desktop.
esphome:
name: pool-sensor
esp32:
board: heltec_wifi_lora_32_V2
framework:
type: arduino
logger:
api:
password: ""
ota:
password: ""
# try turning off the status LED on this board, to save power
status_led:
pin:
number: GPIO25
inverted: false
# with "fast_connect" wifi, this works with 10s run duration
deep_sleep:
run_duration: 10s
sleep_duration: 10min
dallas:
- pin: GPIO13
sensor:
- platform: dallas
address: 0xYOURSENSORID
id: pool_temperature
name: "Pool Temperature"
device_class: temperature
wifi:
ssid: "your-ssid"
password: "your-password"
fast_connect: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment