zyonse / homebridge-dreo

Apple HomeKit integration for Dreo Smart Devices
https://www.npmjs.com/package/homebridge-dreo
Apache License 2.0
38 stars 19 forks source link

Unable to add child bridge to HomeKit #41

Closed deivuh closed 3 months ago

deivuh commented 3 months ago

Describe Your Problem:

I've successfully added the DREO plugin to home Homebridge, however when I try to add the bridge to HomeKit on my device after scanning the QR, it stays a while in the "connecting" to bridge screen, and then I get the Accessory Not Found error.

The fan model is DR-HAF004S

The accessory does show on Homebridge accessories tab.

Logs:

[6/7/2024, 10:12:42 PM] [Dreo Platform] Restarting Process...
[6/7/2024, 10:12:43 PM] [Dreo Platform] Launched child bridge with PID 998
[6/7/2024, 10:12:43 PM] Registering platform 'homebridge-dreo.DreoPlatform'
[6/7/2024, 10:12:43 PM] [Dreo Platform] Loaded homebridge-dreo v3.2.5 child bridge successfully
[6/7/2024, 10:12:43 PM] Loaded 1 cached accessories from cachedAccessories.123456.
[6/7/2024, 10:12:43 PM] [Dreo Platform] Loading accessory from cache: Air Circulator
[6/7/2024, 10:12:43 PM] Homebridge v1.8.2 (HAP v0.12.1) (Dreo Platform) is running on port 43752.
[6/7/2024, 10:12:44 PM] [Dreo Platform] Country: GT
[6/7/2024, 10:12:44 PM] [Dreo Platform] Region: NA
[6/7/2024, 10:12:44 PM] [Dreo Platform] Restoring existing accessory from cache: Air Circulator

Plugin Config:

{
    "name": "Dreo Platform",
    "options": {
        "email": "myemail@gmail.com",
        "password": ""
    },
    "hideTemperatureSensor": true,
    "temperatureOffset": 0,
    "_bridge": {
        "username": "",
        "port": 43752
    },
    "platform": "DreoPlatform"
}

Screenshots:

Screenshot 2024-06-07 at 10 22 28 PM

Environment:

zyonse commented 3 months ago

Try turning off the child bridge, restarting homebridge and then turning it back on. If that doesn't work, does the plugin work without a child bridge?

deivuh commented 3 months ago

Without the child bridge the fan would not show on Apple Home, but it would still show on Homebridge.

I just updated to the latest plugin version (homebridge-dreo v3.3.0) and that seems to have fixed the issue, I was able to add the child and it's showing up in Apple Home as well.

Thank you :)

Closing this.

zyonse commented 3 months ago

Great! Glad that fixed it.