bwp91 / homebridge-govee

Homebridge plugin to integrate Govee devices into HomeKit.
MIT License
467 stars 48 forks source link

beta: bluetooth-based devices not being discovered #327

Closed mariusstrom closed 7 months ago

mariusstrom commented 1 year ago

What issue do you have? Please be as thorough and explicit as possible.

My Govee bluetooth devices are enumerating via the API but they are not getting polled via BTLE for updates. Running the hombebridge-govee-plugin does enumerate the devices so I know they are reachable via BT.

Details of your setup.

Homebridge 1.5, node 16.18.0 on Raspbian/bullseye on Pi4b, homebridge-govee 6.0.5-beta15.

H5074 bluetooth thermo/hygro devices.

Please paste any relevant logs below.

homebridge-govee reports:

13/10/2022, 00:06:22] [Govee] [LAN] server started listening on 0.0.0.0:4002.
[13/10/2022, 00:06:22] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge C251) is running on port 51988.
[13/10/2022, 00:06:24] [Govee] LAN client enabled and initial scan found 0 device(s).
[13/10/2022, 00:06:24] [Govee] Login successful.
[13/10/2022, 00:06:25] [Govee] HTTP/AWS clients enabled and found 7 device(s)..
[13/10/2022, 00:06:25] [Govee] API client enabled and found 1 devices.
[13/10/2022, 00:06:26] [Govee] BLE client enabled as packages successfully found.
[13/10/2022, 00:06:26] [Govee] [Refrigerator] has been added to Homebridge.
[13/10/2022, 00:06:26] [Govee] [Refrigerator] initialising with options {"logging":"debug","lowBattThreshold":20}.
[13/10/2022, 00:06:26] [Govee] [Refrigerator] initialised with id [F3:F8:A4:C1:38:33:9F:86] [H5074].
[13/10/2022, 00:06:26] [Govee] [Refrigerator] [HTTP] receiving update [{"source":"HTTP","battery":94,"temperature":240,"humidity":3490,"online":false}].
[13/10/2022, 00:06:26] [Govee] [Refrigerator] has been reported [offline].
[13/10/2022, 00:06:26] [Govee] [Refrigerator] current battery [94%].
[13/10/2022, 00:06:26] [Govee] [Refrigerator] current temperature [2.4°C].
[13/10/2022, 00:06:26] [Govee] [Refrigerator] current humidity [34.9%].
[13/10/2022, 00:06:56] [Govee] [Refrigerator] [HTTP] receiving update [{"source":"HTTP","battery":94,"temperature":240,"humidity":3490,"online":false}].

It seems the BTLE devices are pinned to getting updates via Govee API when they should be polling via BT.

mariusstrom commented 1 year ago

(I do see the H5074 in the supported-devices list shows up without BLE support, but I was hoping since you were commenting here (https://github.com/asednev/homebridge-plugin-govee/issues/69) that it was in beta that it might be available :)

mariusstrom commented 1 year ago

After some time, I did get this in the log:

[13/10/2022, 00:14:47] [Govee] [noble] unknown peripheral a4c138339f86 connected!.
[13/10/2022, 00:14:47] [Govee] [noble] unknown peripheral a4c138339f86 disconnected!.

Note that the deviceID shown matches the Refrigerator deviceID that the plugin identified from hitting the http endpoint.

bwp91 commented 1 year ago

hi @mariusstrom

did you use the other plugin for this sensor? did it work okay?

do you have the other plugin installed too? if you do then you may find they conflict with each other due to how they share the bluetooth packages.

this plugin will auto scan in the background to find ble sensors. the scan interval can be configured in the plugin settings (it’s a new option)

mariusstrom commented 1 year ago

Hi @bwp91 - I started with purely this plugin and had no luck, then also ran homebridge-plugin-govee in parallel. I've run each individually with the other disabled as well.

I saw the auto scan interval, but I also saw in one of the docs that it said if a device is HTTP addressable it will prefer to get the data via HTTP, but maybe I was confusing that with the API for cloud control.

Is there anything I can do to help debug?

mariusstrom commented 1 year ago

(one thing that would help -- not sure if this is a new feature request or can be tracked here)

The ability to configure an accessory and specify it's ccontrol/data plane. For example, the H5074 devices show up on the website because occasionally when I'm nearby my phone will read their data and publish it to the cloud. However, I would prefer if I could tell this plugin -- for these devices -- to only use BLE data, and do not rely upon cloud data for them.

mariusstrom commented 1 year ago

Just rebuilt Homebridge with only this plugin installed to do some comparison, and I'm getting this now:

[13/10/2022, 17:37:42] [Govee] [noble] found device [a4:c1:38:33:9f:86] [Govee_H5074_9F86].
discovered a4c138339f86 a4c138339f86 a4:c1:38:33:9f:86 disconnected -63
invalid peripheral, manufacturerData=[undefined]

That's an H5074 device with the correct deviceID per the Govee cloud app, and plugin/noble is rejecting it as "invalid"?

ghost commented 1 year ago

I get the exact same log [13/10/2022, 00:06:56] [Govee] [Refrigerator] [HTTP] receiving update [{"source":"HTTP","battery":94,"temperature":240,"humidity": 3490,"online":false}].

Just with an H5075

Humidity and temperature are not updated

ghost commented 1 year ago

[14/10/2022, 14:33:31] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].

Skærmbillede 2022-10-14 kl  14 33 33
ghost commented 1 year ago
**[14/10/2022, 14:48:01] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].**
[14/10/2022, 14:48:02] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -58
a4c138e9fbf4: 88ec000361826400
**[14/10/2022, 14:48:02] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2215.7,"humidity":5700,"battery":100,"source":"BLE"}].**
ghost commented 1 year ago
[14/10/2022, 14:47:01] [Govee] HTTP/AWS clients enabled and found 1 device(s)..
[14/10/2022, 14:47:01] [Govee] Disabling API client as API key not provided.
[14/10/2022, 14:47:01] [Govee] BLE client enabled as packages successfully found.
[14/10/2022, 14:47:01] [Govee] [Kontor Termometer] initialising with options {"logging":"debug","lowBattThreshold":20}.
[14/10/2022, 14:47:01] [Govee] [Kontor Termometer] initialised with id [77:78:A4:C1:38:E9:FB:F4] [H5075].
[14/10/2022, 14:47:01] [Govee] [Køkken Termometer] has been removed from Homebridge.
[14/10/2022, 14:47:01] [Govee] [noble] stateChange: poweredOn.
[14/10/2022, 14:47:02] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:47:03] [Govee] ✓ Setup complete. Interested in sponsoring this plugin? https://github.com/sponsors/bwp91
[14/10/2022, 14:47:32] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:48:01] [Govee] [noble] scanning started.
scanStart
[14/10/2022, 14:48:01] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:48:02] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -58
a4c138e9fbf4: 88ec000361826400
[14/10/2022, 14:48:02] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2215.7,"humidity":5700,"battery":100,"source":"BLE"}].
[14/10/2022, 14:48:02] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -59
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:48:04] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -52
a4c138e9fbf4: 88ec000361826400
[14/10/2022, 14:48:04] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2215.7,"humidity":5700,"battery":100,"source":"BLE"}].
[14/10/2022, 14:48:04] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -51
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:48:04] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -56
a4c1381ecd22: 88ec0003426d6400
[14/10/2022, 14:48:04] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:48:04] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -56
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:48:06] [Govee] [noble] scanning stopped.
scanStop
[14/10/2022, 14:48:32] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:49:01] [Govee] [noble] scanning started.
scanStart
[14/10/2022, 14:49:01] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -58
a4c1381ecd22: 88ec00033e856400
[14/10/2022, 14:49:01] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:49:01] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -57
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:49:02] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:49:05] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -58
a4c138e9fbf4: 88ec000361866400
[14/10/2022, 14:49:05] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2215.74,"humidity":5740,"battery":100,"source":"BLE"}].
[14/10/2022, 14:49:05] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -58
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:49:05] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -67
a4c1381ecd22: 88ec0003426d6400
[14/10/2022, 14:49:05] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:49:05] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -68
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:49:06] [Govee] [noble] scanning stopped.
scanStop
[14/10/2022, 14:49:32] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:50:01] [Govee] [noble] scanning started.
scanStart
[14/10/2022, 14:50:02] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:50:02] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -57
a4c138e9fbf4: 88ec000365706400
[14/10/2022, 14:50:02] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2225.76,"humidity":5760,"battery":100,"source":"BLE"}].
[14/10/2022, 14:50:02] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -57
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:50:02] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -67
a4c1381ecd22: 88ec0003426d6400
[14/10/2022, 14:50:02] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:50:02] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -67
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:50:04] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -57
a4c138e9fbf4: 88ec000361896400
[14/10/2022, 14:50:04] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2215.77,"humidity":5770,"battery":100,"source":"BLE"}].
[14/10/2022, 14:50:04] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -57
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:50:04] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -67
a4c1381ecd22: 88ec00033e856400
[14/10/2022, 14:50:04] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:50:04] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -67
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:50:06] [Govee] [noble] scanning stopped.
scanStop
[14/10/2022, 14:50:32] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:51:01] [Govee] [noble] scanning started.
scanStart
[14/10/2022, 14:51:01] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -67
a4c1381ecd22: 88ec00033e856400
[14/10/2022, 14:51:01] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:51:01] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -67
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:51:01] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:51:03] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -55
a4c138e9fbf4: 88ec0003656b6400
[14/10/2022, 14:51:03] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2225.71,"humidity":5710,"battery":100,"source":"BLE"}].
[14/10/2022, 14:51:03] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -55
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:51:05] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -68
a4c1381ecd22: 88ec00033e856400
[14/10/2022, 14:51:05] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:51:05] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -68
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:51:06] [Govee] [noble] scanning stopped.
scanStop
[14/10/2022, 14:51:31] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:52:01] [Govee] [noble] scanning started.
scanStart
[14/10/2022, 14:52:02] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:52:02] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -57
a4c138e9fbf4: 88ec000365686400
[14/10/2022, 14:52:02] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2225.68,"humidity":5680,"battery":100,"source":"BLE"}].
[14/10/2022, 14:52:02] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -57
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:52:02] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -57
a4c1381ecd22: 88ec00033e856400
[14/10/2022, 14:52:02] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:52:02] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -57
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:52:06] [Govee] [noble] scanning stopped.
scanStop
[14/10/2022, 14:52:32] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:53:01] [Govee] [noble] scanning started.
scanStart
[14/10/2022, 14:53:01] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -68
a4c1381ecd22: 88ec00033e856400
[14/10/2022, 14:53:01] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:53:01] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -68
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:53:02] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:53:03] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -74
a4c138e9fbf4: 88ec000365796400
[14/10/2022, 14:53:03] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2225.8500000000004,"humidity":5850,"battery":100,"source":"BLE"}].
[14/10/2022, 14:53:03] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -74
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:53:03] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -68
a4c1381ecd22: 88ec00033e856400
[14/10/2022, 14:53:03] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:53:05] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -58
a4c138e9fbf4: 88ec000365786400
[14/10/2022, 14:53:05] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2225.84,"humidity":5840,"battery":100,"source":"BLE"}].
[14/10/2022, 14:53:05] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -57
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:53:05] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -69
a4c1381ecd22: 88ec00033e856400
[14/10/2022, 14:53:05] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:53:05] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -68
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:53:06] [Govee] [noble] scanning stopped.
scanStop
[14/10/2022, 14:53:32] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:54:01] [Govee] [noble] scanning started.
scanStart
[14/10/2022, 14:54:01] [Govee] [Kontor Termometer] [HTTP] receiving update [{"source":"HTTP","battery":100,"temperature":2290,"humidity":5610,"online":false}].
[14/10/2022, 14:54:02] [Govee] [noble] found device [a4:c1:38:1e:cd:22] [GVH5075_CD22].
discovered a4c1381ecd22 a4c1381ecd22 a4:c1:38:1e:cd:22 disconnected -59
a4c1381ecd22: 88ec00033e856400
[14/10/2022, 14:54:02] [Govee] [a4:c1:38:1e:cd:22] BLE reading received for unknown accessory.
[14/10/2022, 14:54:04] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -67
a4c138e9fbf4: 88ec00036eba6400
[14/10/2022, 14:54:04] [Govee] [Kontor Termometer] [BLE] receiving update [{"temperature":2249.54,"humidity":9540,"battery":100,"source":"BLE"}].
[14/10/2022, 14:54:04] [Govee] [noble] found device [a4:c1:38:e9:fb:f4] [GVH5075_FBF4].
discovered a4c138e9fbf4 a4c138e9fbf4 a4:c1:38:e9:fb:f4 disconnected -67
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ff0c]
[14/10/2022, 14:54:06] [Govee] [noble] scanning stopped.
scanStop
ghost commented 1 year ago

I just want to mention that my H5075 are in HomeKit and that they update as they should. I have disabled debug logging and device logging 🙂 I have to admit that the log is somewhat confusing

JoseBCN84 commented 1 year ago

Hi, I have an H5075 and still don't manage to get it to update on my Homebridge via BLE, it only updates via HTTP as long as I keep open the app on my phone. Any Advice?

`[12/01/2023, 12:08:00] [HB Supervisor] Started Homebridge v1.6.0 with PID: 3140 [12/01/2023, 12:08:01] Loaded config.json with 1 accessories and 2 platforms. [12/01/2023, 12:08:01] Loaded 1 cached accessories from cachedAccessories. [12/01/2023, 12:08:01] --- [12/01/2023, 12:08:03] Loaded plugin: homebridge-config-ui-x@4.50.2 [12/01/2023, 12:08:03] Registering platform 'homebridge-config-ui-x.config' [12/01/2023, 12:08:03] --- [12/01/2023, 12:08:03] Loaded plugin: homebridge-govee@7.7.1 [12/01/2023, 12:08:03] Registering platform 'homebridge-govee.Govee' [12/01/2023, 12:08:03] --- [12/01/2023, 12:08:04] Loaded plugin: homebridge-roomba2@1.4.0 [12/01/2023, 12:08:04] Registering accessory 'homebridge-roomba2.Roomba2' [12/01/2023, 12:08:04] --- [12/01/2023, 12:08:04] Loading 2 platforms... [12/01/2023, 12:08:04] [Govee] Initializing Govee platform... [12/01/2023, 12:08:04] [Govee] Initialising plugin v7.7.1 | System linux | Node v18.12.1 | HB v1.6.0 | HAPNodeJS v0.11.0... [12/01/2023, 12:08:04] Loading 1 accessories... [12/01/2023, 12:08:04] [Roomba] Initializing Roomba2 accessory... [12/01/2023, 12:08:04] [Roomba] Initializing child bridge 0E:1F:D4:4F:DC:D6 [12/01/2023, 12:08:04] [Govee] Plugin initialised. Setting up accessories.... Setup Payload: X-HM://0023PYY59KFBF Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 151-81-405 │     
└────────────┘     

[12/01/2023, 12:08:04] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge) is running on port 51376. [12/01/2023, 12:08:04] [Govee] [LAN] disabling client as disabled in config. [12/01/2023, 12:08:04] [Govee] [HTTP] retrieved access token from cache. [12/01/2023, 12:08:05] [Govee] [HTTP] client enabled and found 1 device(s). [12/01/2023, 12:08:05] [Govee] [AWS] disabling client as disabled in config. [12/01/2023, 12:08:05] [Govee] [API] disabling client as API key not provided. [12/01/2023, 12:08:05] [Govee] [BLE] client enabled. [12/01/2023, 12:08:05] [Govee] [Weather] initialising with options {"lowBattThreshold":20}. [12/01/2023, 12:08:05] [Govee] [Weather] initialised with id [DB:C0:A4:C1:38:C4:E3:7C] [H5075]. [12/01/2023, 12:08:05] [Govee] [BLE] stateChange: poweredOn. [12/01/2023, 12:08:05] [Roomba] Launched child bridge with PID 3172 [12/01/2023, 12:08:06] Registering accessory 'homebridge-roomba2.Roomba2' [12/01/2023, 12:08:06] [Roomba] Loaded homebridge-roomba2 v1.4.0 child bridge successfully [12/01/2023, 12:08:06] Loaded 0 cached accessories from cachedAccessories.0E1FD44FDCD6. [12/01/2023, 12:08:06] Homebridge v1.6.0 (HAP v0.11.0) (Roomba) is running on port 59188. [12/01/2023, 12:08:07] [Govee] ✓ Setup complete. Have time to give this plugin a review? https://bit.ly/hb-govee-review [12/01/2023, 12:09:05] [Govee] [BLE] scanning started. scanStart [12/01/2023, 12:09:10] [Govee] [BLE] scanning stopped. scanStop [12/01/2023, 12:10:05] [Govee] [BLE] scanning started. scanStart [12/01/2023, 12:10:06] [Govee] [BLE] found device [a4:c1:38:c4:e3:7c] [GVH5075_E37C]. discovered a4c138c4e37c a4c138c4e37c a4:c1:38:c4:e3:7c disconnected -42 a4c138c4e37c: 88ec00032af26400 [12/01/2023, 12:10:06] [Govee] [BLE] found device [a4:c1:38:c4:e3:7c] [GVH5075_E37C]. discovered a4c138c4e37c a4c138c4e37c a4:c1:38:c4:e3:7c disconnected -41 invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ffc2] [12/01/2023, 12:10:10] [Govee] [BLE] scanning stopped. scanStop`