Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No devices detected after 20 minutes - no errors in logs #55

Open
qthatswho opened this issue Jan 19, 2022 · 4 comments
Open

No devices detected after 20 minutes - no errors in logs #55

qthatswho opened this issue Jan 19, 2022 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@qthatswho
Copy link

qthatswho commented Jan 19, 2022

Describe Your Problem:
No devices detected, even after waiting 20 minutes after plugin load

Logs:

�[37m[1/18/2022, 8:37:34 PM] �[39mLoaded plugin: [email protected]
�[37m[1/18/2022, 8:37:34 PM] �[39mRegistering platform 'homebridge-plugin-govee.GoveeHomebridgePlugin'
�[37m[1/18/2022, 8:37:35 PM] �[39m�[36m[Govee]�[39m Initializing GoveeHomebridgePlugin platform...
�[37m[1/18/2022, 8:37:35 PM] �[39m�[36m[Govee]�[39m Finished initializing platform: Govee
�[37m[1/18/2022, 8:37:35 PM] �[39m�[36m[Govee]�[39m �[90mExecuted didFinishLaunching callback�[39m
�[37m[1/18/2022, 8:37:35 PM] �[39m�[36m[Govee]�[39m �[90mStart discovery�[39m

Plugin Config:

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

Screenshots:
N/A

Environment:

  • Plugin Version: homebridge-plugin-govee v1.1.4
  • Homebridge Version: 1.3.9
  • Node.js Version: v16.13.0
  • NPM Version: v8.1.0
  • Operating System: macOS 11.6
@qthatswho qthatswho added the question Further information is requested label Jan 19, 2022
@asednev
Copy link
Owner

asednev commented Jan 28, 2022

@qthatswho Good place to start troubleshooting is to see whether bluetooth is enabled on your Mac and appropriate permissions are granted. See https://github.com/abandonware/noble#os-x

This plugin needs bluetooth module and BLE to function property to discover the devices.

@qthatswho
Copy link
Author

qthatswho commented Feb 7, 2022

@asednev Thanks for the reply. I'm running HomeBridge on a Mac Pro (2013) (appears it has BLE support in the Broadcom chipset) in the background via HomeBridgeUI, so I'm wondering if it's somehow not enough to add terminal to the permissions (though I did do that and restarted HB - still no effect). Any other suggestions? There just isn't much in the logs, even with debug turned on. All I see is the same lines noted in original post - the scan starts, but nothing after that.

@PCServices2
Copy link

PCServices2 commented May 23, 2022

Same issue running Raspberry Pi 400 through Homebridge.

@qthatswho
Copy link
Author

qthatswho commented Nov 13, 2022

@asednev pinging here again in case you have any ideas or can point me to more troubleshooting steps. I went back and completely went through the install steps again, and I'm getting the same behavior. My Homebridge server is a 2013 Mac Pro running Big Sur, and I've now tried with both H5075 and H5074 devices nearby. Seems like the install is fairly straightforward, but I've never had the plugin detect any devices. All I see in the logs is what I posted above (discovery scan starts, then nothing), even with debug logging enabled.

�[37m[11/12/2022, 7:51:16 PM] �[39m�[90mIgnoring path /usr/local/lib/node_modules/govee-bt-client - ENOENT: no such file or directory, stat '/usr/local/lib/node_modules/govee-bt-client'�[39m
�[37m[11/12/2022, 7:51:17 PM] �[39mLoaded plugin: [email protected]
�[37m[11/12/2022, 7:51:17 PM] �[39mRegistering platform 'homebridge-plugin-govee.GoveeHomebridgePlugin'
�[37m[11/12/2022, 7:51:17 PM] �[39m�[36m[Govee]�[39m Initializing GoveeHomebridgePlugin platform...
�[37m[11/12/2022, 7:51:17 PM] �[39m�[36m[Govee]�[39m Finished initializing platform: Govee
�[37m[11/12/2022, 7:51:17 PM] �[39m�[36m[Govee]�[39m �[90mExecuted didFinishLaunching callback�[39m
�[37m[11/12/2022, 7:51:17 PM] �[39m�[36m[Govee]�[39m �[90mStart discovery�[39m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants