#A reuseable Deep Sleep control method to disable sleep temporarily

1 messages ยท Page 1 of 1 (latest)

round pivot
marsh silo
#

Instead of redacting things add these items to your secret file just like you did with your wifi_password. Then you can paste without worries ๐Ÿ˜„

#

secrets.yaml

use_address001: "10.0.10.100"
encryption_key001: "xxxxxxxxxxxxxxxxxxx/xxxx="
ota_pass001: "xxxxxxxxxxxxxxxxxxxxxx"
fallbackhotspot001: "xxxxxxxxxxx"

something.yaml


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  use_address: !secret use_address_wifi001

# Enable Home Assistant API
api:
  encryption:
    key: !secret encryption_key001

ota:
  password: !secret ota_pass001

# Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Hvac-Monitor Fallback Hotspot"
    password: !secret fallbackhotspot001
potent escarp
#

I use MQTT with the discovered OTA switch, which makes it a bit shorter config and simple setup in HA.