I have seen a few other Unifi ubiquiti api drivers but they required additional systems to run code on and I really wanted a driver that only ran on the hubitat. Now that the new ignore ssl feature is available it is possible. So you need to be running 126.96.36.199+.
This is very early stages just been using it on two cell phones for now.
Just wanted to see if others were interested in a hubitat only option?
Working on adding a block function. Want to be able to block the kids devices, really my main reason for getting the API going but the presense was a little easier to start with.
Update: Added another child driver for managing blocking and unblocking a device. If unifi is not blocking it will match a switch on if its blocked it will match a switch off. Thought this would be best to relate to the client. That way with your assitant you can ask it to turn off a device. Which would then block the device from joining wifi.
There is a function that every hour will check to see if the device is blocked or not to update the status just in case it gets out of sync. For that to work you have to put the device id info in the Preferences Client ID box. To get the ID click GetClientID. Will show up as _id.
Note: It does not currently work with UDM-Pro that runs the new UniFi OS.
Update 7/2/2020: Added driver to Hubitat Package Manager, so that you can install and update it easier.