homebridge-zigbee icon indicating copy to clipboard operation
homebridge-zigbee copied to clipboard

Permit Join Button missing

Open wallenium opened this issue 5 years ago • 9 comments

Hi, I tried it several times, Every Time i install the Plugin, the permit Join Button is missing. Any idea what Happens? Any idea how to add it?

Thanks a lot

wallenium avatar Mar 02 '19 23:03 wallenium

Hi, I have the same problem. The button to activate pairing does not appear in either the Home App or the UI of Homebridge. Already uninstalled and reinstalled the plugin. Unfortunately without success.

Is there a possibility to activate pairing via the command line or a way to fix this?

Thanks in advance.

Chephren77 avatar Mar 18 '19 20:03 Chephren77

It looks like you have issues in homebridge configuration or something else, please attach logs from homebridge.

itsmepetrov avatar Mar 19 '19 09:03 itsmepetrov

Here is my current config. The attachment contains an excerpt from the log after restarting the Homebridge.

{  
    "bridge": {  
        "name": "Homebridge",  
        "username": "CC:22:3D:E3:CE:30",  
        "port": 51826,  
        "pin": "031-45-154"  
    },  
    "description": "Home Smart Home",  
    "platforms": [  
        {  
            "platform": "config",  
            "name": "Config",
            "port": 8080,
            "auth": "form",
            "theme": "red",
            "restart": "sudo -n systemctl restart homebridge",
            "temp": "/sys/class/thermal/thermal_zone0/temp",
            "sudo": true,
            "log": {
                "method": "systemd",
                "service": "homebridge"
            }
        },
        {
            "platform": "VorwerkVacuumRobot",
            "email": "********",
            "password": "********"
        },
        {
            "platform": "SamsungTizen",
            "devices": [
                {
                    "name": "TV",
                    "ip": "192.168.10.140",
                    "mac": "70:2A:D5:EB:4C:0E",
                    "token": "********"
                }
            ]
        },
        {
            "platform": "Shelly",
            "name": "Shelly",
            "username": null,
            "password": null
        },
        {
            "name": "ZigBee",
            "panId": 65535,
            "channel": 11,
            "permitJoinTimeout": 120,
            "routerPollingInterval": 60,
            "disableLed": false,
            "disablePingLog": false,
            "platform": "ZigBeePlatform"
        }
    ],
    "accessories": [
        {
            "accessory": "FakeBulb",
            "name": "Test lamp 1",
            "bulb_name": "Lamp1"
        },
        {
            "accessory": "FakeBulb",
            "name": "Test lamp 2",
            "bulb_name": "Lamp2"
        }
    ]
}

homebridge.log

Chephren77 avatar Mar 19 '19 11:03 Chephren77

@Chephren77 config looks ok, but logs isn't complete, here an example of right logs for the plugin:

[3/19/2019, 2:40:23 PM] Homebridge is running on port 51826.
[3/19/2019, 2:40:27 PM] [ZigBee] ZigBee platform initialized, info:
[3/19/2019, 2:40:27 PM] [ZigBee] ------------------------------------
[3/19/2019, 2:40:27 PM] [ZigBee] channel: 11
[3/19/2019, 2:40:27 PM] [ZigBee] pan id: 0xc1c9
[3/19/2019, 2:40:27 PM] [ZigBee] extended pan id: 0xdddddddddddddddd
[3/19/2019, 2:40:27 PM] [ZigBee] ieee address: 0x00124b000e896b4d
[3/19/2019, 2:40:27 PM] [ZigBee] nwk address: 0
[3/19/2019, 2:40:27 PM] [ZigBee] firmware version: null
[3/19/2019, 2:40:27 PM] [ZigBee] firmware revision: null
[3/19/2019, 2:40:27 PM] [ZigBee] ------------------------------------

Please remove all platforms and accessories except zigbee from config and try to run homebridge again

itsmepetrov avatar Mar 19 '19 11:03 itsmepetrov

Hi, i have the same issue. My config is nearly the same and my logfile don't looks like your example :/ remove all platforms and accessories except zigbee from the config doesn't fix the problem. What can i do?

Thanks in advance

smartiebs avatar Mar 22 '19 15:03 smartiebs

I added /dev/ttyACM0 as Port and since today it suddenly started to work..

wallenium avatar Mar 22 '19 21:03 wallenium

same here.... I add the /dev/ttyACM0 but it doesnt work :( Any ideas?

zesa0000 avatar Apr 12 '19 11:04 zesa0000

The Button does not appear when the plugin fails to initialize, there really should be some kind of error message in the log - would have saved some time ;)

usermod -a -G dialout homebridge solved it for me.

moritzmhmk avatar May 08 '19 18:05 moritzmhmk

Also ran into this issue. I fixed it by changing the environment variables in docker-compose.yaml to:

    environment:
      - PGID=0
      - PUID=0

From the default of 1000. The plugin should give better error feedback in this case.

xiwenc avatar Aug 06 '19 16:08 xiwenc