Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BLE disabling after update.

See original GitHub issue

After updating to the latest version of the release the “instal” window freezes and the whole of homebridge freezes. Only way out is to manually restart the raspberry Pi. Going back to earlier version is partially successful. Going back to 7.5.0 takes a long time to load and restart the service and still has the same errors.

Bluetooth is disabled on multiple devices, aultimately all of homebridge hangs and needs a physical restart. No error messages with

Details of your setup.

  • Do you use (1) Homebridge UI-X v4.50.2

  • Which version of Homebridge/HOOBS do you have?

  • Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

  • Raspberry Pi 3

  • Node v18.12.1

  • Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version? I was originally on 7.5.0 then 7.5.1 now trying 7.6 There have been minor issues on each upgrade, error messages during the install process but overall things recovered and went well. errr message in the install window when trying to down grade to 7.5.0 are as follows. ‘’’ CMD: sudo -E -n npm install -g homebridge-govee@7.5.0

(##################) ⠏ reify:typescript: timing reifyNode:node_modules/homebridge-gove

@abandonware/bluetooth-hci-socket@0.5.3-9 install node-pre-gyp install --fallback-to-build --update-binary

node-pre-gyp ERR! install response status 404 Not Found on make: Entering directory ‘/usr/local/lib/node_modules/homebridge-govee/node_modules/@abandonware/bluetooth-hci-socket/build’ CXX(target) Release/ (##################) ⠹ reify:typescript: timing reifyNode:node_modules/homebridge-gove

‘’‘’ screen freezes and after a period the pi is physically restarted. this normally then proceeds to load and work well with HomeKit. However, I have noticed more instances of homebred becoming non response but with no noticeable errors. This same error appears when upgrading to 7.6

  • Which Govee devices do you have that are causing issues? Please include product models if applicable. All Bluetooth models for example h6179 h6127

Please paste any relevant logs below.

No real errors in logs, only the following warning which slows the process then continues after disabling BLE. The BLE gives lights are shown in HomeKit but are “no Esponse” all others work as expected.

[19/12/2022, 17:59:48] [Govee] [BLE] disabling client as Cannot find module '../build/Release/bluetooth_hci_socket.node'
Require stack:
- /usr/local/lib/node_modules/homebridge-govee/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js
- /usr/local/lib/node_modules/homebridge-govee/node_modules/@abandonware/bluetooth-hci-socket/index.jsRequire stack:.
[19/12/2022, 17:59:48] [Govee] [Shed Led] initialising with options {"adaptiveLightingShift":0,"aws":"enabled","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"enabled"}.
[19/12/2022, 17:59:48] [Govee] [Shed Led] initialised with id [A9:34:D4:AD:FC:1B:95:54] [H618A].
[19/12/2022, 17:59:48] [Govee] [Bookcase led] initialising with options {"adaptiveLightingShift":0,"aws":"enabled","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.
[19/12/2022, 17:59:48] [Govee] [Bookcase led] initialised with id [53:85:7C:A6:B0:9D:32:8D] [H618A].
[19/12/2022, 17:59:48] [Govee] [Mac backlight] will be visible but uncontrollable as BLE not available.
[19/12/2022, 17:59:48] [Govee] [Mac backlight] initialising with options {"adaptiveLightingShift":0,"aws":"unsupported","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5

github_iconTop GitHub Comments

Apollon77commented, Dec 22, 2022

Yes, we ar on it to solve #393 soon too

Subivan1commented, Dec 22, 2022

Thanks for the help, I disabled a number of other plugins, dropped the used ram down and successfully installed the update. I knew I was running at about max RAM so I should have thought about that myself. now however I get [BLE] disabling client as btClient.on is not a function at new default (file:///usr/local/lib/node_modules/homebridge-govee/lib/connection/ble.js:18:14).

but I can see that is the other BLE error #393 that has been raised and its waiting on a fix from abandonware.

So thanks again. Now all I need is to find a Raspberry pi 4 with 8gb ram for sale

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enable or disable Bluetooth Low Energy (BLE) - Brother
Follow the steps below to enable or disable Bluetooth Low Energy (BLE): ... See "Update the Bluetooth/Wi-Fi module's firmware to use Bluetooth Low...
Read more >
Bluetooth Low Energy | Android Open Source Project
Users can disable system-level Bluetooth background scanning by going to Settings > Security & Location > Location > Scanning and disabling the ...
Read more >
AI Light: Enabling BLE on your Device - AquaIllumination
The AI Lights are controlled via BLE (Bluetooth) and ensuring BLE is enabled will prevent any further connection issues in the future. Steps:...
Read more >
Enable/Disable BLE memory leak (IDFGH-7510) #9077 - GitHub
So the immediate workaround is to enable the GATT Client via menuconfig (BT_GATTC_ENABLE). For the driver I have tested the following patch for ......
Read more >
Reenable BLE after disabling fails in ble_conn_params_init ...
Hi, I'd like to describe an issue i faced during project development. My setup is: nRF52840 + s140 + sdk15+FreeRtos When i disable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found