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

Child bridge added successfully but can't pair to it or edit the child bridge config file #2320

Open
nealwwilliams21 opened this issue Jan 13, 2025 · 2 comments
Labels

Comments

@nealwwilliams21
Copy link

Describe The Bug

I have been able to get my plugin to run as a child process but I can't pair to it as the link is grayed out. Also when I try to edit the child bridge config file I get the error "You need to configure this plugin before you can manage its bridge settings", and then I get the error "Error Failed to load plugin config schema" when I click on the PLUGIN CONGFIG button. I can open the main config file and the plugin config file on their own just fine.

plugin: Homebridge Broadlink RM Pro v4.4.19

Screenshot 2025-01-13 at 7 33 48 AM
Screenshot 2025-01-13 at 7 42 58 AM
Screenshot 2025-01-13 at 7 43 02 AM

Logs

[13/01/2025, 07:39:07] [HB Supervisor] OS: Linux 6.6.62+rpt-rpi-2712 arm64.
[13/01/2025, 07:39:07] [HB Supervisor] Node.js v22.12.0 /opt/homebridge/bin/node.
[13/01/2025, 07:39:07] [HB Supervisor] Homebridge path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge.
[13/01/2025, 07:39:07] [HB Supervisor] UI path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js.
[13/01/2025, 07:39:09] [Homebridge UI] Homebridge UI v4.68.0 is listening on :: port 8581.
[13/01/2025, 07:39:09] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution.
[13/01/2025, 07:39:09] [HB Supervisor] Started Homebridge v1.8.5 with PID: 905.
[13/01/2025, 07:39:09] Loaded config.json with 0 accessories and 2 platforms.
[13/01/2025, 07:39:09] Loaded 0 cached accessories from cachedAccessories.
[13/01/2025, 07:39:09] ---
[13/01/2025, 07:39:11] Loaded plugin: [email protected]
[13/01/2025, 07:39:11] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM'
[13/01/2025, 07:39:11] ---
[13/01/2025, 07:39:11] Loading 2 platforms...
[13/01/2025, 07:39:11] [Broadlink RM4 Pro] Initializing BroadlinkRM platform...
[13/01/2025, 07:39:11] [Broadlink RM4 Pro] Initializing child bridge 0E:83:FD:29:58:C9
Setup Payload:
X-HM://00242F9UO02R9
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 360-98-464 │     
└────────────┘     

(node:905) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
[13/01/2025, 07:39:11] Homebridge v1.8.5 (HAP v0.12.3) (Homebridge B235) is running on port 51175.
[13/01/2025, 07:39:11]

NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[13/01/2025, 07:39:11] [Broadlink RM4 Pro] Launched child bridge with PID 916
(node:916) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
[13/01/2025, 07:39:12] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM'
[13/01/2025, 07:39:12] [Broadlink RM4 Pro] Loaded homebridge-broadlink-rm-pro v4.4.19 child bridge successfully
[13/01/2025, 07:39:12] Loaded 0 cached accessories from cachedAccessories.0E83FD2958C9.
[13/01/2025, 07:39:12] [Broadlink RM4 Pro] [INFO] Automatically discovering Broadlink RM devices.
[13/01/2025, 07:39:12] [Broadlink RM4 Pro] [INFO] Running Homebridge Broadlink RM Plugin version 4.4.19
[13/01/2025, 07:39:12] [Broadlink RM4 Pro] Shades Accessory Ready
[13/01/2025, 07:39:12] Initializing platform accessory 'Learn'...
[13/01/2025, 07:39:12] Initializing platform accessory 'Shades'...
[13/01/2025, 07:39:12] Homebridge v1.8.5 (HAP v0.12.3) (Broadlink RM4 Pro) is running on port 55197.
[13/01/2025, 07:39:12]

NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[INFO] Adding RF Support to device e8707208557f with type 520b
[13/01/2025, 07:39:13] [Broadlink RM4 Pro] [INFO] Discovered Broadlink RM4 Pro (520b) at 10.0.0.21 (e8:70:72:08:55:7f)

Config

{
    "bridge": {
        "name": "Homebridge B235",
        "username": "0E:EE:BD:23:B2:35",
        "port": 51175,
        "pin": "360-98-464",
        "advertiser": "avahi"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "platform": "BroadlinkRM",
            "name": "Broadlink RM4 Pro",
            "hideScanFrequencyButton": true,
            "hideLearnButton": false,
            "hideWelcomeMessage": true,
            "_bridge": {
                "username": "0E:83:FD:29:58:C9",
                "port": 55197
            },
            "accessories": [
                {
                    "name": "Shades",
                    "type": "window-covering",
                    "totalDurationOpen": 15,
                    "totalDurationClose": 15,
                    "data": {
                        "open": "000",
                        "close": "000",
                    }
                }
            ]
        }
    ]
}

Homebridge UI Version

v4.68.0

Homebridge Version

v1.8.5

Node.js Version

v22.12.0

Operating System

Official Homebridge Raspberry Pi Image

Environment Info

None

Raspberry Pi Model

Raspberry Pi 5

@bwp91
Copy link
Contributor

bwp91 commented Jan 13, 2025

Hi @nealwwilliams21 thanks for posting on here.

Can you try the UI beta version v4.68.1-beta.7 ?

@nealwwilliams21
Copy link
Author

UI beta version v4.68.1-beta.7 fixed the problem

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

No branches or pull requests

2 participants