Best start with Unifi gear

Have you tried @snell Unifi Protect integration. I suspect this is being made harder then it needs to be.

It has a PTZ specific driver and that driver has the ability to go to specific locations.

2 Likes