theengs / app

Theengs mobile application to read BLE sensors and push data to an MQTT broker
https://app.theengs.io
GNU General Public License v3.0
37 stars 7 forks source link

Govee H5101 visible in device browser but not detected. #63

Closed jazztunes closed 1 year ago

jazztunes commented 1 year ago

Describe the bug I purchased the Theengs app a few days ago. I have a Govee H5101 thermometer. I can see it in the device browser, but "Launch Detection" doesn't do any thing. The particular model number is not listed as supported, but it seems it should work because shows up the browser and also it is listed in the theengs/decoder/blob/development/src/devices/H5102_json.h file.

Is this a bug, a device support request, or am I missing something else?

Thanks!

To Reproduce Steps to reproduce the behavior:

  1. BlueTooth enabled.
  2. View device browser to verify device is available and not blacklisted
  3. Click "Launch Detection"
  4. Nothing happens

Expected behavior I believe this device should work since it's visible and seems to be covered by the H5102_json.h file.

Screenshots N/A

Environment (please complete the following information):

Additional context N/A

DigiH commented 1 year ago

Hi @jazztunes,

the H5101 has only been included with Decoder version 1.0.0, which the currently released Theengs App 1.2 doesn't have included yet. With the next update release of the App the Govee H5101 will be included and should then be recognised and decoded as expected - and listed as supported then :)

jazztunes commented 1 year ago

Great- I’ll look forward for the new release. Thanks for the quick reply!

jazztunes commented 1 year ago

I have the new version of the app (v1.3 on iOS) and my Govee H5101 is recognized and I was able to add it to sensors. However, it shows offline. Can it be that I don't have the MAC address set? I don't know how to find that for my sensor. Anything else I can try?

FYI, it does work correctly in the native "Geovee Home" app.

Screenshot 2023-03-30 at 11 47 23 AM

DigiH commented 1 year ago

Hi @jazztunes,

Sorry to hear that your Govee H5101 is not showing correctly in Theengs App 1.3.

Which desktop PC do you have? Would you possibly be able to install Huble-Explorer or Theengs Gateway?

This would also allow you to see the H5101's MAC address and the raw data showing there should give us an indication what the issue might be.

1technophile commented 1 year ago

Hello @jazztunes I see on your screenshot that you are in discovery mode, when you click on the sandwich menu, and select "refresh sensor data" do you see the data coming?

1technophile commented 1 year ago

@jazztunes just found the issue, fixing it

jazztunes commented 1 year ago

Thanks! @1technophile and @DigiH! I see that likely it's fixed - great! I'm guessing it will be in the next version. Something in the decoder?

FYI, may be unnecessary at this point, but here's more info:

image

DigiH commented 1 year ago
  • I have HumBLE Explorer running on a Raspberry PI. I see this:

This singular manufacturerdata is what the decoder is based upon, but with iOS (and other OSs' versions) there is a broadcast with additional iBeacon data concatenated after the manufacturerdata - something the current decoder doesn't recognise.

Depending which desktop OS you are using, running Humble-Explorer on it might also show you this platform (version) dependant behaviour - so far only observed with most Govee devices.

jazztunes commented 1 year ago

Interesting. I also just noticed that I see this in there too. Same name, different manufacturer data:

image

DigiH commented 1 year ago

When it is in separate messages like you see - probably on your RPi - it doesn't affect the proper decoding of the remaining single non-Apple iBeacon messages. The problem which prevented the correct H5101 decoding for you in Theengs App on iOS was when the two were strung together in one message all the time ;)

We're still testing the decoder, but once submitted and integrated into the App it should remedy the non-decoding issues you have been seeing.

1technophile commented 1 year ago

@jazztunes new version with the fix available in the stores, let us know if it fix your issue

jazztunes commented 1 year ago

Got the new version and all is well. Sensors show up, readings are coming in through the app and flowing into my MQTT all as expected. Thanks for the quick attention to the issues!

1technophile commented 1 year ago

Thanks for the feedback! If you would like feel free to give a review in the store 🙂