Unfortunately, Ubiquiti tends to be a bit proprietary and doesn't play nicely with other systems.
But I finally got it to work with Gargoyle
It would be a big how-to but I'm just reporting that it can be done
here is the diagram

Moderator: Moderators