Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghost child bridge #2257

Closed
justjam2013 opened this issue Nov 27, 2024 · 1 comment
Closed

Ghost child bridge #2257

justjam2013 opened this issue Nov 27, 2024 · 1 comment

Comments

@justjam2013
Copy link
Contributor

Describe The Bug

I have a single plugin installed in my test instance of Homebridge, which does not have a Child Bridge configured:

Screenshot 2024-11-27 at 10 59 12 PM

However in Settings, there is an extra bridge configured, which is not used by the only accessory and is not paired:

Screenshot 2024-11-27 at 11 00 07 PM

This bridge is not the main Homebridge bridge:

Screenshot 2024-11-27 at 10 59 40 PM

When I tested installing the plugin from NPM, I configured a bridge, but later went back and unconfigured it. It appears that the bridge was not deleted when removed from the plugin. As you can see in the config below, the plugin is not configured to use a child bridge.

Logs

No response

Config

{
    "bridge": {
        "name": "Homebridge D459",
        "username": "0E:E3:8A:15:D4:59",
        "port": 51046,
        "pin": "755-48-265",
        "advertiser": "bonjour-hap"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config",
            "tempUnits": "f",
            "theme": "orange",
            "lightingMode": "auto"
        },
        {
            "name": "Virtual Accessories Platform",
            "devices": [
                {
                    "accessoryID": "463737",
                    "accessoryName": "My Sensor Switch",
                    "accessoryType": "switch",
                    "switchDefaultState": "off",
                    "accessoryIsStateful": false,
                    "accessoryHasResetTimer": false,
                    "resetTimer": {
                        "duration": 5,
                        "units": "seconds"
                    },
                    "accessoryHasCompanionSensor": true,
                    "companionSensor": {
                        "name": "My Sensor",
                        "type": "contact"
                    }
                },
                {
                    "accessoryID": "4927541",
                    "accessoryName": "Triggered Sensor",
                    "accessoryType": "sensor",
                    "sensorType": "contact",
                    "sensorTrigger": "ping",
                    "pingTrigger": {
                        "host": "8.8.8.8",
                        "failureRetryCount": 3,
                        "isDisabled": true
                    }
                },
                {
                    "accessoryID": "3618884",
                    "accessoryName": "Cron Sensor",
                    "accessoryType": "sensor",
                    "sensorType": "contact",
                    "sensorTrigger": "cron",
                    "cronTrigger": {
                        "pattern": "* * * * *",
                        "zoneId": "Europe/London",
                        "startDateTime": "2024-11-18T11:23:00Z",
                        "endDateTime": "2025-11-19T00:24:00Z",
                        "isDisabled": true
                    }
                },
                {
                    "accessoryID": "6108020",
                    "accessoryName": "Test Lock",
                    "accessoryType": "lock",
                    "lockDefaultState": "locked",
                    "lockHardwareFinish": "silver"
                },
                {
                    "accessoryID": "4687169",
                    "accessoryName": "Stateful Switch",
                    "accessoryType": "switch",
                    "switchDefaultState": "on",
                    "accessoryIsStateful": true
                },
                {
                    "accessoryID": "9574149",
                    "accessoryName": "Reset Switch",
                    "accessoryType": "switch",
                    "switchDefaultState": "off",
                    "accessoryHasResetTimer": true,
                    "resetTimer": {
                        "duration": 5,
                        "units": "seconds"
                    }
                },
                {
                    "accessoryID": "3501936",
                    "accessoryName": "My Garage Door",
                    "accessoryType": "garagedoor",
                    "garageDoorDefaultState": "closed"
                },
                {
                    "accessoryID": "7105131",
                    "accessoryName": "Test Blinds",
                    "accessoryType": "windowcovering",
                    "windowCoveringDefaultState": "closed"
                }
            ],
            "platform": "VirtualAccessoriesForHomebridge"
        }
    ]
}

Homebridge UI Version

5.0.0-beta.13

Homebridge Version

1.8.5

Node.js Version

22.9.0

Operating System

macOS

Environment Info

Using hb-service

Raspberry Pi Model

None

@justjam2013
Copy link
Contributor Author

Closing this as complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants