jstrausd / homebridge-simple-wled

Homebridge Plugin to control WLED LED-Strips
ISC License
64 stars 18 forks source link

Unable to add accessory #54

Open adricrist87 opened 1 year ago

adricrist87 commented 1 year ago

Hello, I am puzzled by this issue, I have homebridge set up with 20+ accessories and 4 more set up as a child bridge, all working beautifully in my Home app. I added this plugin to homebridge and tested it via the accessories page, I am able to turn on/off the lights however I am unable to add the Light to my Home app as either an accessory or through a child bridge. I thought it could be my firewall so I added exceptions for a port (when on bridge) and removed the Firewall altogether but I still get the same "Unable to add accessory" error message in the Home app after a couple of minutes trying to make the connection.

When I tap on Add Accessory it finds the light I then tap on it, select Add anyway on the "Uncertified Accessory" warning, enter the Homebridge code and then it loops for a few minutes until I get the "Unable to add accessory" the accessory is not reachable error.

As said earlier, I have accessories in both bridge and on their on child bridges working at the time so I can't figure out why this plugin would be any different.

Open to suggestions. Thanks.

jstrausd commented 1 year ago

Can you post your homebridge config?

adricrist87 commented 1 year ago

Yes, here it is:

{ "bridge": { "name": "AlphaCentauri", "username": "0E:C4:6F:78:BA:39", "port": 51840, "pin": "955-06-549", "advertiser": "resolved" }, "accessories": [ { "host": "192.168.2.100", "https": false, "port": 18205, "username": "XXXXXXXXXXX", "password": "XXXXXXXXXXXXXXXX", "name": "AdGuard Home", "stateLogging": true, "accessory": "AdGuardHome" } ], "platforms": [ { "name": "Config", "port": 18208, "auth": "form", "theme": "auto", "tempUnits": "f", "lang": "auto", "platform": "config" }, { "name": "eWeLink", "username": "XXXXXXXXXXX@gmail.com", "password": "XXXXXXXXXXX", "mode": "auto", "language": "en", "platform": "eWeLink" }, { "bonds": [ { "ip_address": "192.168.2.70", "token": "ab793261c3f5cc53" } ], "include_dimmer": true, "include_toggle_state": true, "fan_speed_values": true, "platform": "Bond" }, { "name": "TuyaWebPlatform", "options": { "username": "XXXXXXXXXXX", "password": "XXXXXXXXXXX", "countryCode": "1", "platform": "smart_life" }, "defaults": [ { "id": "002009475ccf7fdf513c", "device_type": "light" }, { "id": "002008295ccf7f4982e0", "device_type": "switch" }, { "id": "002008295ccf7f4982e0", "device_type": "fan" }, { "device_type": "form" } ], "scenes": false, "platform": "TuyaWebPlatform" }, { "name": "Wyze", "username": "XXXXXXXXXXX@gmail.com", "password": "XXXXXXXXXXX", "refreshInterval": 10000, "platform": "WyzeConnectedHome" }, { "platform": "Ecobee 3 Sensors", "name": "Ecobee", "exclude_sensors": false, "exclude_humidity_sensors": false, "exclude_occupancy_sensors": false, "exclude_temperature_sensors": false, "exclude_thermostat": false }, { "platform": "MagicHome-Platform", "debug": false, "lights": [ { "name": "Family Room LED", "ip": "192.168.101.120", "setup": "RGBW", "purewhite": false, "timeout": 10000 }, { "name": "Bed LED", "ip": "192.168.101.183", "setup": "RGBW", "purewhite": false, "timeout": 10000 } ] }, { "name": "WyzeSmartHome", "username": "XXXXXXXXXXX@gmail.com", "password": "XXXXXXXXXXX", "refreshInterval": 30000, "showAdvancedOptions": true, "excludeMacAdress": false, "excludedeviceType": false, "_bridge": { "username": "0E:98:B3:39:7D:C7", "port": 38378 }, "platform": "WyzeSmartHome" }, { "platform": "WLED", "wleds": [ { "name": "Wled-FR", "host": "192.168.101.22", "effects": [ "Android", "Sparkle" ], "log": false, "showEffectControl": true, "turnOffWledWithEffect": false, "defaultEffectSpeed": 20 } ] } ], "disabledPlugins": [ "homebridge-google-nest-sdm", "homebridge-wyze-robovac", "homebridge-wyze-connected-home-op", "homebridge-wyze-connected-home-v3", "homebridge-camera-ffmpeg", "homebridge-nest", "homebridge-dummy", "@s-collison/homebridge-wyze-connected-home-op", "@milo526/homebridge-tuya-web" ] }

bor9455 commented 1 year ago

Do you have more than one WLED setup? The “Platform” for each of mine was WLED, I went in and named each of mine a different platform name, saved it, rebooted and hit + in HK and the four I’ve added that I couldn’t control are suddenly all in HomeKit. I feel like at some point last year the plug-in and a HomeKit update didn’t play nice.