Any way to improve MyQ latency?

My home has a gate operated by a LiftMaster RSL12VDC which backs up to a busy street. It’s hard to see when the gate is open from the house, so my idea was to rig up a gate indicator light next to the door that turned red when the gate is open. I got a LiftMaster 828LM gateway and integrated it into Home Assistant, and put a Philips Hue bulb in a small lamp. The automations work! However…

When opening the gate using a standard LiftMaster remote, there’s about a 15 second lag from the moment the gate starts opening, and about a 30 second lag from when the gate is closed.

I’m not seeing anything related in my error logs. Both Home Assistant and the LiftMaster gateway are connected directly to the same router switch. The only other thing I could think of improving is proximity between the gateway and the gate opener using an outdoor extender or something. Could it be the calls to the MyQ API that are causing the lag? Is there anything I could do to improve it?

I have this same issue. I’ve tried everything I can think of to reduce it but the lag is on their server side. I ended up attaching a cheap open/close sensor to augment and having something that is local and more responsive.

1 Like

I ran some experiments and saw that if I open the gate using Home Assistant or HomeKit, there’s virtually no lag, so that checks out. Would you be willing to share what open / close sensor you used?

If you look to the right side of all integration pages, it will tell you the IoT class.

For MyQ, sadly we are stuck with Cloud Polling.

By default, polling intervals for these things are usually 30 seconds. So once every 30 seconds, HA will send a query to MyQ and say “what’s the state of the door?”. As you can imagine, this means you can get an update anywhere from 0.1 seconds to 30 seconds later about the state change.

You “MIGHT” be able to add “scan_interval” to the config under the myq cover section.

Do note that the MyQ API might have a minimum polling interval set, and increasing this interval could throw other errors. But it’s your best bet right now without adding more sensors and creating a template cover.

1 Like

I picked up a Ecolink door sensors… I wrapped it in a thin plastic (to keep water out) and attached it under a crossbar (also to prevent/mitigate direct water exposure as well). Haven’t had any issues in the 6 months it’s been installed.

1 Like

Thank you. I see that this is marked as the solution but i cant figure out where to write this. Would someone please share their example?