homebridge-plugin-govee
homebridge-plugin-govee copied to clipboard
Homebridge Docker Error message if container NOT use network_mode: host
Hi,
I have installed newest version of Homebridge and homebridge-plugin-govee. I have some problems if I run the Homebridge Docker Container with NOT use network_mode: host. The Homebridge Container only have some bridge networks. Everything is working, but the homebridge-plguin-govee still have problems. If I add network_mode: host everything is fine and working.
So I have some idea and read about that the homebridge-plugin-govee use Bluetooth as network with "HCI" right?
Now I have tested it with bluetoothctl inside the Homebridge Container without network_mode: host and I can scan for Bluetooth Devices. Now my question. Is it possible that this plugin also use bluetoothctl instead of Bluetooth via "HCI" as network?
If i started my Homebridge Container without network_mode: host I have this error:
9/10/2022, 9:12:20 PM] ERROR LOADING PLUGIN homebridge-plugin-govee:
[9/10/2022, 9:12:20 PM] Error: EAFNOSUPPORT, Address family not supported by protocol
at new Hci (/homebridge/node_modules/homebridge-plugin-govee/node_modules/@abandonware/noble/lib/hci-socket/hci.js:80:18)
at new NobleBindings (/homebridge/node_modules/homebridge-plugin-govee/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:25:15)
at module.exports (/homebridge/node_modules/homebridge-plugin-govee/node_modules/@abandonware/noble/lib/resolve-bindings.js:13:12)
at Object.<anonymous> (/homebridge/node_modules/homebridge-plugin-govee/node_modules/@abandonware/noble/index.js:2:51)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
I have you can give me some tipps :-( This is the only Plugin I have problems with. And I don't like to start my Homebridge with network_mode: host.
Many Thanks!