jonbloom / homebridge-ufp

Unifi Protect plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
2 stars 0 forks source link

Can't add Protect to HomeKit #5

Open tronny87 opened 4 years ago

tronny87 commented 4 years ago

Plug-in installed successfully, config is valid, but log shows:

One of your plugins incorrectly registered an external accessory using the platform name (Camera-UniFi-Protect) and not the plugin identifier. Please report this to the developer!

I have 1 camera on Protect, it does not show up when manually adding an accessory to Home app.

PetarSimeonov commented 4 years ago

Same problem here :( I tryed everything.... :( looks like problem when the cameras are added stand alone and not in the bridge. if they are added automaticaly to the bridge its not a problem. I did remove the accessory and persistent folder.

edit 10.05.2020 I managed it to work.... just change

self.api.publishCameraAccessories("Camera-UniFi-Protect", accessories); to : self.api.publishCameraAccessories("homebridge-ufp", accessories);

if you have the cameras with exacly the same name in second instance they will not show up. (Sorry for my englisch)

tronny87 commented 4 years ago

Your trick got rid of the message in the Log but still no cameras show up when I go to add with the HomeKit code.