myQ Gateway won't connect behind Ubiquiti Unifi Security Gateway

  • 1
  • Problem
  • Updated 1 year ago
I have a myQ Internet Gateway that worked fine for a long time. Recently I replaced my router with a new one, a Ubiquiti Unifi Security Gateway USG-3. I read elsewhere that the UDP timeout needed to be set to 180, which I tried, but it didn't change anything. I increased the UDP timeout up to 360 and was able to get the door to open, but never close. When looking at the LED indicators, the Green LED never stayed lit constant. It would always seem to cycle between flashing, then solid for a short span, then off, repeat. The Blue LED would also stay lit until the Green LED turned off, then it too would cycle with the Green.

I can resolve this whole scenario by plugging the Chamberlain Internet Gateway directly into my AT&T Gateway (2WIRE 3801HGV), effectively bypassing the Unifi router. When I plug the device into the AT&T Gateway, the green locks solid and the door operates as expected. However, the AT&T Gateway is too far away and I have to run a long Ethernet patch cable from the AT&T device to get the Chamberlain device close enough to be in range of the door controller. Obviously this is not a long term fix.

Getting the Chamberlain working through the Unifi system is the only way I can get the device close enough to the garage. I also don't want to complicate my network by having a device outside of my firewall.

I am capable of advanced networking configuration and am willing to try any setting changes offered to try and resolve the issues.
Photo of Jon

Jon

  • 4 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Jim

Jim

  • 70 Posts
  • 9 Reply Likes
Open TCP/IP port 8883, both directions, inbound and outbound. That may correct the issue.  It sounds like your Ubiquiti gateway is shutting down the port.

Also, the internet gateway should work from hundreds of feet away from the door opener in a residential application, but distance depends on quantity of walls, wall construction, etc. between the gateway and the opener.
Photo of Jon

Jon

  • 4 Posts
  • 0 Reply Likes
I will give the port forward a try. As far as range, the Gateway is sitting about 30ft away from the garage, with a steel door between them, and it works intermittently. If I open the steel door, it is more reliable, but still not perfect. If I run a patch cable across the 30ft span and place the Gateway in the garage, it works 100%. It for sure doesn't have hundreds of feet of range. My house is standard wood stud and sheetrock walls. In fact, there isn't a full wall between the Gateway and the steel door.
Photo of Jon

Jon

  • 4 Posts
  • 0 Reply Likes
https://youtu.be/7kSvIE_Bs6w

Here is a link to a video I took of the blinking pattern on the Internet Gateway. This is with it plugged into the Ubiquiti router and switch. I gave it a static IP of 192.168.1.15 and forwarded both TCP and UDP port 8883 to it.

canyouseeme.org does not show a service responding to that port, however. A port scan doesn't show any open services either. I scanned from port 1-9000.
Photo of David 365

David 365

  • 1 Post
  • 0 Reply Likes
If you enable this option within the Unifi controller it prevents the MyQ Garage Door opener from obtaining a DHCP assigned IP from the UniFi Security Gateway 3P

Wireless Networks > Advanced Options > Block LAN to WLAN Multicast and Broadcast Data

After disabling this option, I had no problems issuing door open/close commands from my iPhone's MyQ app to remotely connect to the garage door opener.

I did not have to setup any firewall rules or port forwarding rules.

Unifi Controller v5.5.24
UniFi Security Gateway 3P
UniFi AP-AC-Pro

I have not tested this but it's conceivable that if you have "Block LAN to WLAN Multicast and Broadcast Data" enabled, this may also function properly if you add the MyQ's MAC address to the excepted devices list for that option.