asednev / homebridge-plugin-govee

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

Support for more devices possible? #4

Closed jeanofthedead closed 3 years ago

jeanofthedead commented 3 years ago

I am wondering if it is possible to add similar BT-enabled Govee thermometer/hygrometers? The model I own is this one. Would love to hear your thoughts - thanks!

asednev commented 3 years ago

@jeanofthedead Looks like the model for that one is H5072. I did some research and payloads supposed to be nearly identical to H5075 (model that this plugin was tested with).

Two question:

  1. Have you tried to install this plugin as is, does it detect your device?
  2. Can you clone https://github.com/asednev/govee-bt-client, run npm ci followed by npm run dev and provide console output here.
jeanofthedead commented 3 years ago

I'm a bit new to all of this. In my log, it's showing this error:

Perhaps my config is wrong:

{ "platform": "GoveeHomebridgePlugin", "plugin_map": { "plugin_name": "homebridge-plugin-govee" }, "name": "homebridge-plugin-govee", "batteryThreshold": "25", "debug": true }

Btw, I'm using HOOBS instead of HomeBridge, if that helps.

asednev commented 3 years ago

The errors that you provided suggest some issues with installing this plugin on HOOBS. Here's what config section for Homebridge looks like:

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

you can see how this section is inserted into homebridge config here: https://gist.github.com/asednev/a00f53798b8d8ce604b632cdbdf953cd

You may want to verify that plugin is actually installed and the config is correct. Unfortunately, I can't provide you any help with HOOBS. Here are the instructions for installing homebridge plugins on HOOBS, perhaps that will help you https://support.hoobs.org/docs/5e763b63e87d1e02b6c19d2b

If you manage to get past those errors and your device isn't detected by the plugin, send me logs that you're getting and I'll try to help with the next steps.

joshspicer commented 3 years ago

I can confirm the H5072 works great with this plugin