Closed jamie-the-pilot closed 2 years ago
https://github.com/homebridge/homebridge/wiki/Basic-Troubleshooting#reset-pairingaccessories has some good steps. Specifically step 3, I think deleting your persist/accessory directories and repairing homebridge to HomeKit should hopefully get your setup straightened out.
Great, thank you - i'll give that a try and report back later today
@jamie-the-pilot any luck?
Ok, so trying this out this morning (sorry for the delay)... I've followed the steps in the reset/repairing section... i just finished those steps but now when i restart the homebridge i see these errors in the logs:
Failed to save cached accessories to disk: ENOENT: no such file or directory, open '/var/lib/homebridge/accessories/cachedAccessories'
Your accessories will not persist between restarts until this issue is resolved.
I'm a little new at this so, should i create that directory? if so, could you help me with the command to use for it please? OR should i just start adding accessories?
Given you are running HOOBS, I'd suggest you reach out to their support. Debugging homebridge/HOOBS level issues is a bit outside the scope of this plugin
That’s funny, I didn’t even realise it was HOOBS, I just downloaded the OS from the Homebridge website under their Raspberry Pi section.
I got it working today, took the nuclear option of wiping the SSD and starting again - now all seems to be working :)
thanks again for all your help, really appreciate it.
Actually that is not HOOBS! I just saw the colors and didn't look closely, that is indeed just pure homebridge. Glad you got it all working!
Hello. Just entering this world. Have a ring doorbell I bought and added the ring plugin and signed in. It shows in the logs that it's adding a new accessory but I don't see it in the accessories tab.. don't know what to do
Bug Report
Describe the Bug
For some time my ring devices have been showing as 'unavailable' in the Apple Home app. Today I decided to delete the child bridge they were connected with which removed all of the devices from my Home app. I also deleted the plugin from my Homebridge that runs on a Raspberry Pi, updated the Homebridge version and the Node.js version (now running 16.16.0).
I installed the Ring plugin and went through the setup steps and restarted the Homebridge. When it restarted I see the devices in the logs (see below log copy and past) but i don't see any devices on the 'Accessories' page in the Homebridge UI.
I followed the troubleshooting guides to restart my phone, homebridge server etc but it didn't change. I have the Ring plugin running on a Child bridge - when I scan the QR code for that I get an error saying that it's an uncertified accessory - I choose add anyway and the 'connecting to bridge' eventually times out and says unable to add accessory.
I tried also without turning on the Child Bridge option and still the devices don't appear in the Home app on my phone.
I checked and my phone is connected via wi-fi to the same router as my Raspberry Pi that is connected via Eithernet to the same router's LAN port.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected that the devices would appear in my Home app running on iOS (iPhone) once I scanned the QR code.
Screenshots/Logs
Extract from the Homebridge Logs:
[27/07/2022, 16:42:14] Registering platform 'homebridge-ring.Ring' [27/07/2022, 16:42:14] [homebridge-ring] Loaded homebridge-ring v11.0.7 child bridge successfully [27/07/2022, 16:42:14] Loaded 18 cached accessories from cachedAccessories.[PRIVATE ADDRESS]. [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Alarm [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Base Station [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Side Window [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Entrance hall Keypad [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Kitchen motion detector [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Front Door Contact Sensor [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Back Door [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Front Door Motion Sensor [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Upstairs motion detector [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Bedroom Keypad [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Kitchen Window [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Side Window [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Front Window [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Bedroom 3 Window [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Front Window [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Front Door [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Hallway [27/07/2022, 16:42:14] [homebridge-ring] Configuring cached accessory [PRIVATE ADDRESS] Upstairs [27/07/2022, 16:42:14] Homebridge v1.5.0 (HAP v0.10.2) (homebridge-ring) is running on port 44652. [27/07/2022, 16:42:16] [homebridge-ring] Found the following locations: [27/07/2022, 16:42:16] [homebridge-ring] locationId: [PRIVATE ADDRESS] - Stamford [27/07/2022, 16:42:16] [homebridge-ring] Creating location socket.io connection - Stamford [27/07/2022, 16:42:16] [homebridge-ring] Ring connected to socket.io server [27/07/2022, 16:42:17] [homebridge-ring] Configuring 2 cameras and 22 devices for location "Stamford" - locationId: [PRIVATE ADDRESS]
Screenshot of the accessories page in Homebrige:
Additional context
None
Homebridge Ring Config
{ "bridge": { "name": "Homebridge E95A", "username": "[PRIVATE]", "port": [PRIVATE], "pin": "[PRIVATE]", "bind": [ "wlan0" ] }, "accessories": [], "platforms": [ { "name": "Config", "port": [PRIVATE], "platform": "config" }, { "name": "Hue Bridge", "anyOn": true, "effects": true, "hosts": [ "[PRIVATE]" ], "lights": true, "nativeHomeKitLights": true, "nativeHomeKitSensors": true, "resource": true, "sensors": false, "_bridge": { "username": "[PRIVATE]", "port": [PRIVATE] }, "platform": "Hue" }, { "name": "Nest", "refreshToken": "[PRIVATE]", "platform": "Nest" }, { "refreshToken": "[PRIVATE]", "platform": "Ring", "_bridge": { "username": "[PRIVATE]", "port": [PRIVATE] } } ] }