homebridge: Unable to add homebridge to homekit
Current Situation
I set up everything and everything works fine in the homebridge ui. I can turn my govee lights on and off in the accessory tab. But when I try to add it to homekit. It says ‘accessory not found’. I tried quite a lot of different things. including resetting iphone, forgetting wifi on iphone, restarting homebridge, resetting homebridge, restarting the plug-in, downgrading and changing advertiser to ciao. adding the mdns thingy with different ip addresses…
Logs
Setup Payload:
X-HM://00250SG2DY0FG
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ xxx-xx-xxx│
└────────────┘
[24/2/2023 16:14:46] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge 1D55) is running on port 51006.
[24/2/2023 16:14:47] [Govee] Launched child bridge with PID 756
[24/2/2023 16:14:47] Registering platform 'homebridge-govee.Govee'
[24/2/2023 16:14:47] [Govee] Loaded homebridge-govee v7.9.1 child bridge successfully
[24/2/2023 16:14:47] Loaded 3 cached accessories from cachedAccessories.0E8D957EFE8D.
[24/2/2023 16:14:47] [Govee] Initialising plugin v7.9.1 | System win32 | Node v18.14.2 | HB v1.6.0 | HAPNodeJS v0.11.0...
DEPRECATED user supplied a custom 'mdns' option. This option is deprecated and ignored. Please move to the new 'bind' option.
[24/2/2023 16:14:47] [Govee] Plugin initialised. Setting up accessories....
[24/2/2023 16:14:47] Homebridge v1.6.0 (HAP v0.11.0) (Govee) is running on port 45928.
[24/2/2023 16:14:50] [Govee] [LAN] client enabled and found 0 device(s).
[24/2/2023 16:14:50] [Govee] [HTTP] client enabled and found 3 device(s).
[24/2/2023 16:14:50] [Govee] [HTTP] disabling client as Could not find openssl on your system on this path: openssl at C:\Users\felix.tikkanen\AppData\Roaming\npm\node_modules\homebridge-govee\node_modules\@bwp91\pem\webpack:\pem\lib\openssl.js:257:1.
[24/2/2023 16:14:50] [Govee] [AWS] disabling client as requires HTTP client.
[24/2/2023 16:14:51] [Govee] [API] client enabled and found 1 device(s).
[24/2/2023 16:14:51] [Govee] [BLE] disabling client as Cannot find package '@abandonware/bluetooth-hci-socket' imported from C:\Users\felix.tikkanen\AppData\Roaming\npm\node_modules\homebridge-govee\lib\platform.js at new NodeError (node:internal/errors:399:5).
[24/2/2023 16:14:51] [Govee] [Roof] initialising with options {"adaptiveLightingShift":0,"aws":"disabled","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.
[24/2/2023 16:14:51] [Govee] [Roof] initialised with id [56:67:A4:C1:38:50:10:2E] [H6159].
[24/2/2023 16:14:51] [Govee] [bed] will be visible but uncontrollable as BLE not available.
[24/2/2023 16:14:51] [Govee] [bed] initialising with options {"adaptiveLightingShift":0,"aws":"unsupported","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.
[24/2/2023 16:14:51] [Govee] [bed] initialised with id [AC:C3:A5:50:E8:3B:AD:BF] [H6127].
[24/2/2023 16:14:51] [Govee] [desk] will be visible but uncontrollable as BLE not available.
[24/2/2023 16:14:51] [Govee] [desk] initialising with options {"adaptiveLightingShift":0,"aws":"unsupported","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.
[24/2/2023 16:14:51] [Govee] [desk] initialised with id [4A:A7:14:5D:5C:06:8D:1F] [H6127].
[24/2/2023 16:14:53] [Govee] ✓ Setup complete. Join the plugin's Discord community! https://discord.gg/cMGhNtZ3tW
[24/2/2023 17:05:33] [Govee] [Roof] current brightness [100%].
[24/2/2023 17:05:38] [Govee] [Roof] current state [on].
[24/2/2023 17:05:44] [Govee] [Roof] current state [off].
Configuration
{
"mdns": {
"interface": "xxx.xxx.x.50"
},
"bridge": {
"name": "Homebridge 1D55",
"username": "0E:69:C0:E2:2B:4D",
"port": 51006,
"pin": "938-19-989",
"advertiser": "ciao",
"bind": [
"vEthernet (Default Switch)"
]
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"name": "Govee",
"username": "email",
"password": "pswd",
"apiKey": "key",
"_bridge": {
"username": "0E:8D:95:7E:FE:8D",
"port": 45928
},
"platform": "Govee"
}
]
}
Environment
- OS: Windows 10 education
- Software: 1.6.0
- Node: [v18.14.2]
- npm: 9.5.0
Process Supervisor
hb-service
Additional Context
I also can’t connect to my homebridge using another laptop. Maybe that has something to do with it.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 15 (2 by maintainers)
this is a message from the govee plugin saying that openssl is needed to enable the http client. Please create a github issue on the govee plugin (i am the maintainer) https://github.com/bwp91/homebridge-govee/issues just to keep separate this error line and your original issue here.