asednev / homebridge-plugin-govee

Govee H-series Thermometer Hygrometer plugin for Homebrige.
Apache License 2.0
53 stars 9 forks source link

Plugin throws errors at loading #85

Open jonathangreensted opened 4 months ago

jonathangreensted commented 4 months ago

Describe The Bug: I'm successfully running Homebridge on a Raspberry Pi v1. Yes it's a bit slow but fully functional for both Smart Life and TP-Link Kasa power outlets. When the homebridge-plugin-govee loads it just throws the errors logged below.

To Reproduce: Via the Homebridge.info UI, search for plugin "homebridge-plugin-govee" and then install. Reboot and then errors are throw during the plugin loading process.

Expected behavior: I expected to be able to see my Govee H5179 device in Apple Home

Logs:

[20/04/2024, 18:37:18] ==================== [20/04/2024, 18:37:18] ERROR LOADING PLUGIN homebridge-plugin-govee: [20/04/2024, 18:37:18] Error: Cannot find module '/var/lib/homebridge/node_modules/homebridge-plugin-govee/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node' Require stack:

Plugin Config:

{ "name": "Govee", "batteryThreshold": 25, "debug": false, "humidityOffset": 0, "platform": "GoveeHomebridgePlugin" }

Screenshots:

Environment:

OS Raspbian GNU/Linux Bookworm (12) IPv4 (wlan0) 192.168.86.50 IPv6 (wlan0) fd22:1d4e:d5cb:9be6:8a88:e39e:7976:828e Hostname homebridge User pi Node.js Version v18.19.0 Node.js Path /opt/homebridge/bin Storage Path /var/lib/homebridge Config Path /var/lib/homebridge/config.json Plugin Path /var/lib/homebridge/node_modules Timezone GMT+0100