Tech Dregs | ESPHome OTA Updates for Deep Sleep Devices @TechDregs | Uploaded 8 months ago | Updated 3 hours ago
Two methods for OTA updates of sleeping ESPHome devices. These devices can be quite hard to catch awake for firmware/YAML updates... so, here are a couple of ways to do it. The first is automated using some built in Home Assistant tools, but I only know how to do that for ESPHome updates. For configuration updates, there's a manual method using a Home Assistant Helper to tell the ESPHome device to stay awake next time it wakes up.
The second method is the one I prefer. I got it from stevemann (Stephen Mann) on the HA forums. See post here for YAML: community.home-assistant.io/t/how-to-ota-flash-sleeping-esphome-sensor/298355/9
===Timestamps===
00:00 Introduction
00:40 Method 1: Automated version updates
01:14 Automation setup
02:48 Verify Automation (Traces)
03:45 Method 2: Manual Keep Awake
04:39 Set up HA Helper
06:30 YAML configuration
09:50 Log verification
10:17 Use toggle entity in Lovelace
11:03 Conclusion
Two methods for OTA updates of sleeping ESPHome devices. These devices can be quite hard to catch awake for firmware/YAML updates... so, here are a couple of ways to do it. The first is automated using some built in Home Assistant tools, but I only know how to do that for ESPHome updates. For configuration updates, there's a manual method using a Home Assistant Helper to tell the ESPHome device to stay awake next time it wakes up.
The second method is the one I prefer. I got it from stevemann (Stephen Mann) on the HA forums. See post here for YAML: community.home-assistant.io/t/how-to-ota-flash-sleeping-esphome-sensor/298355/9
===Timestamps===
00:00 Introduction
00:40 Method 1: Automated version updates
01:14 Automation setup
02:48 Verify Automation (Traces)
03:45 Method 2: Manual Keep Awake
04:39 Set up HA Helper
06:30 YAML configuration
09:50 Log verification
10:17 Use toggle entity in Lovelace
11:03 Conclusion