this post was submitted on 01 Oct 2023
20 points (95.5% liked)

homeassistant

11808 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 11 months ago* (last edited 11 months ago) (2 children)

If you can hard wire an ESP32 via Ethernet that would probably be best. You could also get better latency with an ESP32 over WiFi. However, a ZigBee button should be pretty low latency already.

Anecdotally I get perceptibly instant response from an ESP32 over WiFi.

[–] [email protected] 1 points 11 months ago (1 children)

Perceptibly instant is fast enough for me :)

What's the method you're using to communicate with HA?

[–] [email protected] 1 points 11 months ago

Im guessing the latency here isnt zigbee, but the two cloud components that follow the button.