Coder Social home page Coder Social logo

Comments (7)

asednev avatar asednev commented on July 30, 2024

Hi @RyTheITGuy,

There is an MR open for the library that this project is using to add the support for H5100: asednev/govee-bt-client#15

That MR is waiting for an example of payload (mfgData) from the device. If you could go ahead and provide examples as comments for H5151 and H5100, that would help to move things along.

from homebridge-plugin-govee.

RyTheITGuy avatar RyTheITGuy commented on July 30, 2024

@asednev Dumb question, but how can I capture the payload (mfgData) from the device? Happy to do so, but not sure how.

from homebridge-plugin-govee.

asednev avatar asednev commented on July 30, 2024

@RyTheITGuy

clone https://github.com/asednev/govee-bt-client/

$ cd govee-bt-client
$ npm install
$ npm run dev

provide console output here as a comment. Your console output should look like this

=== start discovery
scanStart
discovered fcdde64dca4f4256b72666b98c1fa370 fcdde64dca4f4256b72666b98c1fa370  disconnected -57
fcdde64dca4f4256b72666b98c1fa370: 88ec000351c26000
{
  uuid: 'fcdde64dca4f4256b72666b98c1fa370',
  address: '',
  model: 'GVH5075_E09F',
  battery: 96,
  humidity: 53.8,
  tempInC: 21.7538,
  tempInF: 71.15684,
  rssi: -57
}
discovered fcdde64dca4f4256b72666b98c1fa370 fcdde64dca4f4256b72666b98c1fa370  disconnected -57
invalid peripheral, manufacturerData=[4c000215494e54454c4c495f524f434b535f48575075f2ffc2]

what I am interested in are the lines that say invalid peripheral, manufacturerData=

from homebridge-plugin-govee.

RyTheITGuy avatar RyTheITGuy commented on July 30, 2024

@asednev

Hmm, I don't see anything like what you're describing. The 5100 is the individual temp sensors whereas the 5151 is the hub itself.

=== start discovery
scanStart
discovered c9530e0533bd46e1d8fef56361229dde c9530e0533bd46e1d8fef56361229dde  disconnected -55
c9530e0533bd46e1d8fef56361229dde: 0100010105586664
{
  uuid: 'c9530e0533bd46e1d8fef56361229dde',
  address: '',
  model: 'GVH5100_4298',
  battery: 100,
  humidity: 31,
  tempInC: 35.031,
  tempInF: 95.0558,
  rssi: -55
}
discovered c9530e0533bd46e1d8fef56361229dde c9530e0533bd46e1d8fef56361229dde  disconnected -55
c9530e0533bd46e1d8fef56361229dde: 01000101055866644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: 'c9530e0533bd46e1d8fef56361229dde',
  address: '',
  model: 'GVH5100_4298',
  battery: 100,
  humidity: 31,
  tempInC: 35.031,
  tempInF: 95.0558,
  rssi: -55
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -73
002987cde50379cd7356a3023ddd92f6: 01000101042ff264
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.8,
  tempInC: 27.4418,
  tempInF: 81.39524,
  rssi: -73
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -74
002987cde50379cd7356a3023ddd92f6: 01000101042ff2644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.8,
  tempInC: 27.4418,
  tempInF: 81.39524,
  rssi: -74
}
discovered c9530e0533bd46e1d8fef56361229dde c9530e0533bd46e1d8fef56361229dde  disconnected -63
c9530e0533bd46e1d8fef56361229dde: 0100010105547f644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: 'c9530e0533bd46e1d8fef56361229dde',
  address: '',
  model: 'GVH5100_4298',
  battery: 100,
  humidity: 31.1,
  tempInC: 34.9311,
  tempInF: 94.87598,
  rssi: -63
}
discovered c9530e0533bd46e1d8fef56361229dde c9530e0533bd46e1d8fef56361229dde  disconnected -63
c9530e0533bd46e1d8fef56361229dde: 0100010105547f644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: 'c9530e0533bd46e1d8fef56361229dde',
  address: '',
  model: 'GVH5100_4298',
  battery: 100,
  humidity: 31.1,
  tempInC: 34.9311,
  tempInF: 94.87598,
  rssi: -63
}
discovered c9530e0533bd46e1d8fef56361229dde c9530e0533bd46e1d8fef56361229dde  disconnected -55
c9530e0533bd46e1d8fef56361229dde: 01000101055c4d644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: 'c9530e0533bd46e1d8fef56361229dde',
  address: '',
  model: 'GVH5100_4298',
  battery: 100,
  humidity: 30.9,
  tempInC: 35.1309,
  tempInF: 95.23562,
  rssi: -55
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -80
002987cde50379cd7356a3023ddd92f6: 01000101042ff2644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.8,
  tempInC: 27.4418,
  tempInF: 81.39524,
  rssi: -80
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -81
002987cde50379cd7356a3023ddd92f6: 01000101042ff2644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.8,
  tempInC: 27.4418,
  tempInF: 81.39524,
  rssi: -81
}
discovered c9530e0533bd46e1d8fef56361229dde c9530e0533bd46e1d8fef56361229dde  disconnected -56
c9530e0533bd46e1d8fef56361229dde: 01000101055c4e644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: 'c9530e0533bd46e1d8fef56361229dde',
  address: '',
  model: 'GVH5100_4298',
  battery: 100,
  humidity: 31,
  tempInC: 35.131,
  tempInF: 95.2358,
  rssi: -56
}
discovered c9530e0533bd46e1d8fef56361229dde c9530e0533bd46e1d8fef56361229dde  disconnected -57
c9530e0533bd46e1d8fef56361229dde: 01000101055c4e644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: 'c9530e0533bd46e1d8fef56361229dde',
  address: '',
  model: 'GVH5100_4298',
  battery: 100,
  humidity: 31,
  tempInC: 35.131,
  tempInF: 95.2358,
  rssi: -57
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -72
002987cde50379cd7356a3023ddd92f6: 01000101042ff2644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.8,
  tempInC: 27.4418,
  tempInF: 81.39524,
  rssi: -72
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -72
002987cde50379cd7356a3023ddd92f6: 01000101042ff2644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.8,
  tempInC: 27.4418,
  tempInF: 81.39524,
  rssi: -72
}
discovered c9530e0533bd46e1d8fef56361229dde c9530e0533bd46e1d8fef56361229dde  disconnected -56
c9530e0533bd46e1d8fef56361229dde: 01000101055c4c644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: 'c9530e0533bd46e1d8fef56361229dde',
  address: '',
  model: 'GVH5100_4298',
  battery: 100,
  humidity: 30.8,
  tempInC: 35.1308,
  tempInF: 95.23544000000001,
  rssi: -56
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -73
002987cde50379cd7356a3023ddd92f6: 01000101042ff1644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.7,
  tempInC: 27.4417,
  tempInF: 81.39506,
  rssi: -73
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -73
002987cde50379cd7356a3023ddd92f6: 01000101042ff1644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.7,
  tempInC: 27.4417,
  tempInF: 81.39506,
  rssi: -73
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -70
002987cde50379cd7356a3023ddd92f6: 01000101042ff1644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.7,
  tempInC: 27.4417,
  tempInF: 81.39506,
  rssi: -70
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -72
002987cde50379cd7356a3023ddd92f6: 01000101042ff1644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.7,
  tempInC: 27.4417,
  tempInF: 81.39506,
  rssi: -72
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -88
002987cde50379cd7356a3023ddd92f6: 01000101042ff2644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.8,
  tempInC: 27.4418,
  tempInF: 81.39524,
  rssi: -88
}
discovered 002987cde50379cd7356a3023ddd92f6 002987cde50379cd7356a3023ddd92f6  disconnected -86
002987cde50379cd7356a3023ddd92f6: 01000101042ff2644c000215494e54454c4c495f524f434b535f48575075f2ff0c
{
  uuid: '002987cde50379cd7356a3023ddd92f6',
  address: '',
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.8,
  tempInC: 27.4418,
  tempInF: 81.39524,
  rssi: -86
}
scanStop
=== stop discovery

from homebridge-plugin-govee.

asednev avatar asednev commented on July 30, 2024

@RyTheITGuy Do these values look correct though? Do you have any other H5100 devices that are not being identified?

{
  model: 'GVH5100_5E65',
  battery: 100,
  humidity: 41.8,
  tempInC: 27.4418,
  tempInF: 81.39524,
  rssi: -74
}
{
  model: 'GVH5100_4298',
  battery: 100,
  humidity: 31.1,
  tempInC: 34.9311,
  tempInF: 94.87598,
  rssi: -63
}

It seems as though your device matches prefix for H5102 so it's being identified as a correct device for the plugin.

from homebridge-plugin-govee.

RyTheITGuy avatar RyTheITGuy commented on July 30, 2024

I have three H5100 devices that attach to an H5151 hub.

from homebridge-plugin-govee.

asednev avatar asednev commented on July 30, 2024

@RyTheITGuy H5151 hub is using wifi and not broadcasting any data over bluetooth. This plugin only supports bluetooth devices. Nonetheless, readings from your H5100 are picked up and correctly displayed. You should be able to benefit from this plugin even without hub.

As far as the third device, it's likely not being picked up because it's too far from your bluetooth module. Can you try moving it closer to see if it shows up?

from homebridge-plugin-govee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.