homebridge-plugin-govee icon indicating copy to clipboard operation
homebridge-plugin-govee copied to clipboard

Multiple Devices

Open crun11 opened this issue 2 years ago • 3 comments

Hello friends, I installed the plugin and get the values for temperature, humidity and battery as normal. The longer the plugin runs, the more often one and the same device is displayed. I use the latest version with the latest Homebridge version.

Any ideas what I could check?

Thank you for your feedback

crun11 avatar Jan 17 '23 21:01 crun11

Hi @crun11, I don't quite understand what seems to be the problem and how it relates to having multiple devices. Can you restate your problem?

asednev avatar Jan 18 '23 06:01 asednev

Hello, please excuse my bad english. I need a solution that my Termometer is displayed multiple times as shown in the screenshot. I can't find any abnormalities in the log.

Bildschirm­foto 2023-01-18 um 21 17 01

crun11 avatar Jan 18 '23 20:01 crun11

@crun11 The devices are correlated using either uuid or model:

  • https://github.com/asednev/homebridge-plugin-govee/blob/40455c2588727ad97cb1d5b093afb16cd15661ef/src/platform.ts#L99
  • https://github.com/asednev/homebridge-plugin-govee/blob/40455c2588727ad97cb1d5b093afb16cd15661ef/src/platform.ts#L101

I suspect that your device is broadcasting inconsistent values for one of these two fields.

Collecting some logs would be helpful. You will need to enable debug logs in your Homebridge settings (turn on option Homebridge Debug Mode -D).

Then, look for entries like this in your logs and provide several examples here:

[Govee] Govee reading {
  uuid: 'c0f51941a6ad48a09dcf5273e9ff200e',
  address: '',
  model: 'GVH5075_E09F',
  battery: 38,
  humidity: 39.2,
  tempInC: 23.1392,
  tempInF: 73.65056,
  rssi: -63
}

asednev avatar Jan 26 '23 00:01 asednev