I wrote a new UniFi Protect driver to provide camera, chime, doorbell, light, and viewport functionality.
I added it to HPM (search for "unifiprotect"). Here's the code:
There are many more features that could be supported, so let me know if you have any requests.