I’ve set up an ESPHome configuration for a motion sensor, but I’ve noticed a slight delay in response time when triggering automations. It takes about 1-2 seconds before the action executes, which isn’t ideal for my setup.
I’ve tried:
Lowering the update interval in the YAML config
Testing different Wi-Fi signal strengths
Using a faster microcontroller (ESP32 instead of ESP8266)
Has anyone found a way to make ESPHome sensors react instantly?
You’ll need to work out where the latency is by looking at the logs a bit closer. Synchronise the ESP to an NTP and then compare it to the HA logs. I’d guess that it’s probably not in HA, it’s likely to be transport/WiFi latency due to the device connection time and maybe channel noise from other devices.