asednev / homebridge-plugin-govee

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

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

Open qthatswho opened 2 years ago

qthatswho commented 2 years ago

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

Logs:

[1/18/2022, 8:37:34 PM] Loaded plugin: homebridge-plugin-govee@1.1.4
[1/18/2022, 8:37:34 PM] Registering platform 'homebridge-plugin-govee.GoveeHomebridgePlugin'
[1/18/2022, 8:37:35 PM] [Govee] Initializing GoveeHomebridgePlugin platform...
[1/18/2022, 8:37:35 PM] [Govee] Finished initializing platform: Govee
[1/18/2022, 8:37:35 PM] [Govee] Executed didFinishLaunching callback
[1/18/2022, 8:37:35 PM] [Govee] Start discovery

Plugin Config:

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

Screenshots: N/A

Environment:

asednev commented 2 years ago

@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 commented 2 years ago

@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 commented 2 years ago

Same issue running Raspberry Pi 400 through Homebridge.

qthatswho commented 1 year ago

@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.

[11/12/2022, 7:51:16 PM] Ignoring path /usr/local/lib/node_modules/govee-bt-client - ENOENT: no such file or directory, stat '/usr/local/lib/node_modules/govee-bt-client'
[11/12/2022, 7:51:17 PM] Loaded plugin: homebridge-plugin-govee@1.2.7
[11/12/2022, 7:51:17 PM] Registering platform 'homebridge-plugin-govee.GoveeHomebridgePlugin'
[11/12/2022, 7:51:17 PM] [Govee] Initializing GoveeHomebridgePlugin platform...
[11/12/2022, 7:51:17 PM] [Govee] Finished initializing platform: Govee
[11/12/2022, 7:51:17 PM] [Govee] Executed didFinishLaunching callback
[11/12/2022, 7:51:17 PM] [Govee] Start discovery