itsmepetrov / homebridge-zigbee

ZigBee Platform plugin for HomeBridge
https://itsmepetrov.github.io/homebridge-zigbee/
MIT License
106 stars 36 forks source link

"Permit Join" Switch not visible #39

Closed Tom41234 closed 4 years ago

Tom41234 commented 4 years ago

Hello everyone!

I'm at a loss by now, I'm new to all this stuff and I've been trying to solve this problem for 5 hours now, but I still haven't found the solution. I've read similar issues on this Git to find a solution, but no luck so far.

I can't see the "Permit Join" switch in my Home app.

I'm running Homebridge in Docker, I installed Homebridge-Zigbee through the UI. In the settings for Homebridge-Zigbee I've pointed the port to /dev/ttyACM0.

This is what I get when I start Homebridge: [code]8/31/2019, 1:17:49 PM] Loaded config.json with 0 accessories and 2 platforms. [8/31/2019, 1:17:49 PM] --- [8/31/2019, 1:17:49 PM] Loaded plugin: homebridge-dummy [8/31/2019, 1:17:49 PM] Registering accessory 'homebridge-dummy.DummySwitch' [8/31/2019, 1:17:49 PM] --- [8/31/2019, 1:17:50 PM] Loaded plugin: homebridge-nest [8/31/2019, 1:17:50 PM] Registering platform 'homebridge-nest.Nest' [8/31/2019, 1:17:50 PM] --- [8/31/2019, 1:17:51 PM] [Config] Homebridge Config UI X v4.6.1 is listening on :: port 8080 [8/31/2019, 1:17:51 PM] Loaded plugin: homebridge-zigbee [8/31/2019, 1:17:51 PM] Registering platform 'homebridge-zigbee.ZigBeePlatform' [8/31/2019, 1:17:51 PM] --- [8/31/2019, 1:17:51 PM] Loaded plugin: homebridge-config-ui-x [8/31/2019, 1:17:51 PM] Registering platform 'homebridge-config-ui-x.config' [8/31/2019, 1:17:51 PM] --- [8/31/2019, 1:17:51 PM] Loading 2 platforms... [8/31/2019, 1:17:51 PM] [Nest] Initializing Nest platform... [8/31/2019, 1:17:51 PM] [Nest] Fetching Nest devices. [8/31/2019, 1:17:51 PM] [ZigBee] Initializing ZigBeePlatform platform... [8/31/2019, 1:17:51 PM] [ZigBee] ZigBee platform initialization [8/31/2019, 1:17:51 PM] Loading 0 accessories... [8/31/2019, 1:17:53 PM] [Nest] initing thermostat "Family Room": device[/code]

I read in a different issue that I should edit file Docker-Compose.yaml, but I cannot find this file anywhere. This might be the solution, but I am unable to locate the file.

Any suggestions?

Tom41234 commented 4 years ago

Okay, a follow-up: I found the docker-compose.yml file. It was located in the $HOME/homebridge directory for the root user.

I installed Docker-homebridge as root on my raspberry. I used the command sudo -I for this, because I got an error otherwise.

Will this cause problems for the Homebridge-Zigbee plug-in?