Closed guyyar89 closed 3 years ago
How many “PalGateOpener” entries you have in your config file? You need to insert a new entry for each gate with different name and it’s own gate id, token should be the same.
4 “PalGateOpener” and the token same.
Paste your configuration here so I can see.
i edit the token and names:
{
"bridge": {
"name": "Homebridge XXXX",
"username": "0E:DE:XX:XX:XX:XX",
"port": 5XXX2,
"pin": "031-45-154"
},
"accessories": [
{
"accessory": "PalGateOpener",
"name": "gate1",
"accessoryType": "garageDoor",
"deviceId": "3G4XXXX",
"token": "XXXXXXXXXXXX"
},
{
"accessory": "PalGateOpener",
"name": "gate2",
"accessoryType": "garageDoor",
"deviceId": "3G4XXXXz",
"token": "XXXXXXXXXXXX"
},
{
"accessory": "PalGateOpener",
"name": "gate3",
"accessoryType": "garageDoor",
"deviceId": "3G4XXXXy",
"token": "XXXXXXXXXXXX"
},
{
"accessory": "PalGateOpener",
"name": "gate4",
"accessoryType": "garageDoor",
"deviceId": "3G4XXXXd",
"token": "XXXXXXXXXXXX"
}
],
"platforms": [
{
"name": "Config",
"port": 4725,
"platform": "config"
}
]
}
Any errors in the log? Paste the log here if there are any errors; Did you restart HB after adding the entries?
[cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-set-timezone: executing... [cont-init.d] 20-set-timezone: exited 0. [cont-init.d] 30-packages: executing... [cont-init.d] 30-packages: exited 0. [cont-init.d] 40-dbus-avahi: executing... [cont-init.d] 40-dbus-avahi: exited 1. [cont-init.d] 45-user-data: executing... [cont-init.d] 45-user-data: exited 0. [cont-init.d] 50-plugins: executing... Thank you for using the oznu/homebridge docker image! If you find this project useful please STAR it on GitHub: https://github.com/oznu/docker-homebridge Homebridge: Installing plugins... up to date in 0.126s up to date in 0.133s [cont-init.d] 50-plugins: exited 0. [cont-init.d] 55-config-ui: executing... Enabling homebridge-config-ui-x... [cont-init.d] 55-config-ui: exited 0. [cont-init.d] done. [services.d] starting services Starting cron [2/7/2021, 10:26:07 PM] [shoshana7] Triggered GET Target DoorState Thank you for using the oznu/homebridge docker image! If you find this project useful please STAR it on GitHub: https://github.com/oznu/docker-homebridge [services.d] done. [2/7/2021, 10:26:15 PM] [HB Supervisor] Homebridge Storage Path: /homebridge [2/7/2021, 10:26:15 PM] [HB Supervisor] Homebridge Config Path: /homebridge/config.json [2/7/2021, 10:26:15 PM] [HB Supervisor] Logging to /homebridge/homebridge.log [2/7/2021, 10:26:15 PM] [HB Supervisor] OS: Linux 5.0.0-38-generic x64 [2/7/2021, 10:26:15 PM] [HB Supervisor] Node.js v14.15.4 /usr/local/bin/node [2/7/2021, 10:26:15 PM] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge [2/7/2021, 10:26:15 PM] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [2/7/2021, 10:26:16 PM] [Homebridge UI] Homebridge Config UI X v4.38.0 is listening on :: port 4725 [2/7/2021, 10:26:16 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules [2/7/2021, 10:26:16 PM] [HB Supervisor] Started Homebridge v1.2.5 with PID: 369 [2/7/2021, 10:26:17 PM] Loaded config.json with 4 accessories and 1 platforms. [2/7/2021, 10:26:17 PM] --- [2/7/2021, 10:26:17 PM] Loaded plugin: homebridge-dummy@0.5.0 [2/7/2021, 10:26:17 PM] Registering accessory 'homebridge-dummy.DummySwitch' [2/7/2021, 10:26:17 PM] --- [2/7/2021, 10:26:17 PM] Loaded plugin: homebridge-palgate-opener@1.0.5 [2/7/2021, 10:26:17 PM] Registering accessory 'homebridge-palgate-opener.PalGateOpener' [2/7/2021, 10:26:17 PM] --- [2/7/2021, 10:26:17 PM] Loaded plugin: homebridge-config-ui-x@4.38.0 [2/7/2021, 10:26:17 PM] Registering platform 'homebridge-config-ui-x.config' [2/7/2021, 10:26:17 PM] --- [2/7/2021, 10:26:17 PM] Loading 1 platforms... [2/7/2021, 10:26:17 PM] [Config] Initializing config platform... [2/7/2021, 10:26:17 PM] [Config] Running in Service Mode [2/7/2021, 10:26:17 PM] Loading 4 accessories... [2/7/2021, 10:26:17 PM] [shoshana7] Initializing PalGateOpener accessory... [2/7/2021, 10:26:17 PM] [ehudmanor10] Initializing PalGateOpener accessory... [2/7/2021, 10:26:17 PM] [ofra16] Initializing PalGateOpener accessory... [2/7/2021, 10:26:17 PM] [parkingofra16] Initializing PalGateOpener accessory... Setup Payload: X-HM://0023ISYWY0IB7 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
[2/7/2021, 10:26:17 PM] Homebridge v1.2.5 is running on port 51992. [2/7/2021, 10:26:34 PM] [shoshana7] Triggered GET Current DoorState [2/7/2021, 10:26:34 PM] [shoshana7] Triggered GET Target DoorState`
There aren’t any errors, looks like everything is just fine, did you check if they garage doors appear under “Default Room” in the HomeKit app? If they’re not there, try changing ‘accessoryType’ from GarageDoor to switch, might be a HomeKit limitation but I don’t think so and not aware of any limitation like that but let’s try to isolate the problem...
Where i change it?
Open Home App > upper left/right corner (depends on OS language) click on the home icon > click on Default Room > check if you see the gates there
I add the controller homekit on homeassistant and not on my home. I try again with 2 users on palgate and same
hey. i have 4 accessories and when i add homebridge on home assistant i have only 1 accessories and not all the 4 gate. how to fix it?