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

Permit Join Button missing #26

Open
wallenium opened this issue Mar 2, 2019 · 9 comments
Open

Permit Join Button missing #26

wallenium opened this issue Mar 2, 2019 · 9 comments

Comments

@wallenium
Copy link

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

@Chephren77
Copy link

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.

@itsmepetrov
Copy link
Owner

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

@Chephren77
Copy link

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

@itsmepetrov
Copy link
Owner

itsmepetrov commented Mar 19, 2019

@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

@smartiebs
Copy link

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

@wallenium
Copy link
Author

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

@zesa0000
Copy link

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

@moritzmhmk
Copy link

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.

@xiwenc
Copy link

xiwenc commented Aug 6, 2019

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.

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

No branches or pull requests

7 participants