this post was submitted on 01 Oct 2023
21 points (95.7% liked)

homeassistant

12125 readers
24 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 2 years 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
[โ€“] nottelling@lemmy.world 3 points 1 year ago (1 children)

OP asks for "lowest latency" but HTTP is fast enough, and later in the thread says "perceptibly instant" is the goal. HTTP is going to be your slowest option, almost certainly, but even the slowest solution is "instant".

What exactly are you trying to do, OP?

(Esphome seems like the answer you're looking for. It's faster than MQTT and you can program parts of the automation and service management in the ESP hardware. RF is probably the only way to go faster.)

[โ€“] Sim 1 points 1 year ago

I'm interested in what other people have found to be the fastest way to deliver events into HA. It's been a useful thread.