Lowest latency input - eviltoast

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.

  • deafboy@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 year ago

    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?

    • Sim@lemmy.nzOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.

      • CmdrShepard@lemmy.one
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        What about binding the trigger to the device using something like Zigbee2MQTT so that it doesn’t have to pass through HA at all?