I’m using a ZigBee button to call an automation which notifies via Pushover and Alexa. Works fine.
I’d like to reduce latency and use a physical button. I can use a Pi, ESP32 or similar to respond to a closure and tell HA.
What’s the lowest latency input to HA? My MQTT server is separate so I’m thinking an HTTP post direct into HA might be best.
Is there anything faster? HTTP is fast enough in my testing, it’s an experiment as much as anything else.
All my zigbee devices respond pretty much instantly. And that’s a 2 way trip. Button to HA, HA to lightswitch.
What happens when you trigger the same action from the dashboard? Is it faster?
It’s probably marginally faster from the dashboard. This isn’t only about the ZigBee delay though - it’s really perfectly OK. Reducing latency is as much for the fun of it than anything else. I’m interested in knowing what the fastest possible input method is.
What about binding the trigger to the device using something like Zigbee2MQTT so that it doesn’t have to pass through HA at all?