Closed Ernst79 closed 2 years ago
Thank you for adding this device to the BLE sensor list!
Do you know the temperature during the measurements?
Response from the forum : 70 F to 80 F (21 C to 27 C)
The longer message contain a name, as you already found out yourself.
The other data can be reduced till this part, which could/should contain the relevant data.
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 a9
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 a8
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 ab
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 aa
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 aa
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 aa
ed 01 00 01 01 e4 01 00 ff ff ff ff 00 00 00 00 00 00 00 00 ac
ed 01 00 01 01 e4 01 00 ff ff ff ff 00 00 00 00 00 00 00 00 aa
ed 01 00 01 01 e4 01 00 ff ff ff ff 00 00 00 00 00 00 00 00 ac
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 ab
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 ac
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 ac
ed 01 00 01 01 e4 01 00 ff ff ff ff 00 00 00 00 00 00 00 00 ab
ed 01 00 01 01 e4 01 00 ff ff ff ff 00 00 00 00 00 00 00 00 ac
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 ab
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 ab
ed 01 00 01 01 e4 01 00 ff ff ff ff 00 00 00 00 00 00 00 00 ab
ed 01 00 01 01 e4 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 a7
ed 01 00 01 01 e4 01 00 ff ff ff ff 00 00 00 00 00 00 00 00 aa
The last byte is the RSSI (by definition).
I only see some small changes in the 7th byte. Normally, temperature is two bytes, in reversed order. But this doesn't result in a logical value.
00 e4
= 224 --> could be 22.4 degrees C
01 e4
= 484 --> ???
If I look at it in none-reversed order, values do not match to F or C.
e4 00
= 58368
e4 01
= 58369
I assume it only measures one temperature, no humidity, etc?
I was confused too - there's some work done on this sensor/device https://github.com/wcbonner/GoveeBTTempLogger/blob/master/goveebttemplogger.cpp
I haven't had a chance to look at it but this is the piece of code that's interesting:
else if (data_len == 17) // GVH5183 (UUID) 5183 B5183011
{
// Govee Bluetooth Wireless Meat Thermometer, Digital Grill Thermometer with 1 Probe, 230ft Remote Temperature Monitor, Smart Kitchen Cooking Thermometer, Alert Notifications for BBQ, Oven, Smoker, Cakes
// https://www.amazon.com/gp/product/B092ZTD96V
// The probe measuring range is 0° to 300°C /32° to 572°F.
// 5D A1 B4 01 00 01 01 E4 01 80 0708 13 24 00 00
// 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7
// (Manu) 5DA1B401000101E40080 0064 1324 0000 (Temp) 1°C (Humidity) 0% (Battery) 0% (Other: 00) (Other: 00) (Other: 00) (Other: 00) (Other: 00) (Other: C8)
// (Manu) 5DA1B401000101E40080 0A28 1324 0000 (Temp) 26°C (Humidity) 0% (Battery) 0% (Other: 00) (Other: 00) (Other: 00) (Other: 00) (Other: 00) (Other: C0)
// (Manu) 0ED27501000101E40080 0708 1518 0000
short iTemp = short(data[12]) << 8 | short(data[13]);
Temperature = float(iTemp) / 100.0;
iTemp = short(data[14]) << 8 | short(data[15]);
TemperatureMax = float(iTemp) / 100.0; // This appears to be the alarm temperature.
Humidity = 0;
Battery = 0;
Averages = 1;
time(&Time);
TemperatureMin = Temperature;
rval = true;
}
Thanks. Some findings, your BLE advertisement is the first line. If I try to match the data from the link you gave, I think it looks like below (line 2 - 4 are examples from GoveeBTTempLogger). I copied some other sensors where I compared the full BLE advertisement as is being used in BLE monitor with some BLE data from here, to see the match for a H5177 and H5075).
043e2b02010000edaeac38c1a41f0303518302010511ffacaeed01000101e40000ffffffff0000000000000000a9 H5183
0ED27501000101E40080070815180000 H5183
5DA1B401000101E40180070813240000 H5183
5DA1B401000101E400800A2813240000 H5183
043E2B0201000045C5DF38C1A41F0A09423531373843353435030388EC0201050CFF010001010003A00F640000BF H5177
0100010102B50930 H5177
043e2b02010000aabb6138c1a41f0d09475648353037355f43423942030388ec02010509ff88ec0003215d6400aa H5075
88EC0002A95C6200 H5075
Now, the strange part.
First of all, the "comp_id", which are the first two bytes after ff, are not fixed, which is normally the case. So we have to find another way to identify the sensor. I see 03035183
, which seems to be the identifier for H5183.
For the 4th line, temperature is 26°, which corresponds to 0A28
in hex (2600/100). The Alarm temperature is 1324
in hex, which is 49 C (4900/100).
If I read the same bytes in your advertisement, it's ffff
, which seem to be saying "off" or something like that, I guess (I assume you didn't heat up to 665 °C 🔥 )
I can parse the data from the link you gave
result ({'firmware': 'Govee', 'temperature': 26.0, 'alarm temperature': 49.0, 'rssi': -87, 'mac': 'A4C138ACAEED', 'type': 'H5183', 'packet': 'no packet id', 'data': True}, None)
However, with your data (with the ffffffff
), you will get (ffff
= -1 --> -1/100 =-0,01)
result ({'firmware': 'Govee', 'temperature': -0.01, 'alarm temperature': -0.01, 'rssi': -87, 'mac': 'A4C138ACAEED', 'type': 'H5183', 'packet': 'no packet id', 'data': True}, None)
Thanks for digging in. Seems like the temp ffff could be if the phone govee app is not connected? Does it imply the app needs to be connected for the advertisements to make any sense? Or it could be because at some point the probe wasn't connected? If you want I can connect it again and provide you some new data... But looking at the you have analyzed with non ffff/ffffffff values seem correct..
result ({'firmware': 'Govee', 'temperature': 26.0, 'alarm temperature': 49.0, 'rssi': -87, 'mac': 'A4C138ACAEED', 'type': 'H5183', 'packet': 'no packet id', 'data': True}, None)
Here's a new set with probe connected and taking some measurements... let m know if this helps..
Jan 07 10:28:04 Home-Assistant hass[12140]: 2022-01-07 10:28:04 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cb
Jan 07 10:28:06 Home-Assistant hass[12140]: 2022-01-07 10:28:06 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 08 34 ff ff 00 00 00 00 00 00 00 00 cb
Jan 07 10:28:06 Home-Assistant hass[12140]: 2022-01-07 10:28:06 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cc
Jan 07 10:28:08 Home-Assistant hass[12140]: 2022-01-07 10:28:08 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 08 34 ff ff 00 00 00 00 00 00 00 00 cb
Jan 07 10:28:08 Home-Assistant hass[12140]: 2022-01-07 10:28:08 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cc
Jan 07 10:28:09 Home-Assistant hass[12140]: 2022-01-07 10:28:09 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 01 80 08 34 ff ff 00 00 00 00 00 00 00 00 cc
Jan 07 10:28:09 Home-Assistant hass[12140]: 2022-01-07 10:28:09 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cc
Jan 07 10:28:10 Home-Assistant hass[12140]: 2022-01-07 10:28:10 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 08 34 ff ff 00 00 00 00 00 00 00 00 cb
Jan 07 10:28:10 Home-Assistant hass[12140]: 2022-01-07 10:28:10 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cc
Jan 07 10:28:11 Home-Assistant hass[12140]: 2022-01-07 10:28:11 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 01 80 08 34 ff ff 00 00 00 00 00 00 00 00 d1
Jan 07 10:28:11 Home-Assistant hass[12140]: 2022-01-07 10:28:11 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cf
Jan 07 10:28:12 Home-Assistant hass[12140]: 2022-01-07 10:28:12 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 08 34 ff ff 00 00 00 00 00 00 00 00 cb
Jan 07 10:28:12 Home-Assistant hass[12140]: 2022-01-07 10:28:12 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cb
Jan 07 10:28:13 Home-Assistant hass[12140]: 2022-01-07 10:28:13 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 01 80 08 34 ff ff 00 00 00 00 00 00 00 00 d2
Jan 07 10:28:14 Home-Assistant hass[12140]: 2022-01-07 10:28:14 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cf
Jan 07 10:28:16 Home-Assistant hass[12140]: 2022-01-07 10:28:16 DEBUG (SyncWorker_1) [custom_components.govee_ble_hci.sensor] Last mfg data for BDAddress('A4:C1:38:AC:AE:ED'): None
Jan 07 10:28:19 Home-Assistant hass[12140]: 2022-01-07 10:28:19 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 08 34 ff ff 00 00 00 00 00 00 00 00 cb
Jan 07 10:28:20 Home-Assistant hass[12140]: 2022-01-07 10:28:20 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 01 80 08 34 ff ff 00 00 00 00 00 00 00 00 cc
Jan 07 10:28:20 Home-Assistant hass[12140]: 2022-01-07 10:28:20 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cc
Jan 07 10:28:21 Home-Assistant hass[12140]: 2022-01-07 10:28:21 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 08 34 ff ff 00 00 00 00 00 00 00 00 cc
Jan 07 10:28:21 Home-Assistant hass[12140]: 2022-01-07 10:28:21 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cc
Jan 07 10:28:22 Home-Assistant hass[12140]: 2022-01-07 10:28:22 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 01 80 08 34 ff ff 00 00 00 00 00 00 00 00 d1
Jan 07 10:28:22 Home-Assistant hass[12140]: 2022-01-07 10:28:22 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c d2
Jan 07 10:28:23 Home-Assistant hass[12140]: 2022-01-07 10:28:23 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 08 34 ff ff 00 00 00 00 00 00 00 00 cb
Jan 07 10:28:23 Home-Assistant hass[12140]: 2022-01-07 10:28:23 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cb
Jan 07 10:28:25 Home-Assistant hass[12140]: 2022-01-07 10:28:25 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 08 34 ff ff 00 00 00 00 00 00 00 00 cc
Jan 07 10:28:25 Home-Assistant hass[12140]: 2022-01-07 10:28:25 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cd
Jan 07 10:28:27 Home-Assistant hass[12140]: 2022-01-07 10:28:27 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 08 34 ff ff 00 00 00 00 00 00 00 00 cc
Jan 07 10:28:27 Home-Assistant hass[12140]: 2022-01-07 10:28:27 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cc
Jan 07 10:28:29 Home-Assistant hass[12140]: 2022-01-07 10:28:29 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 07 d0 ff ff 00 00 00 00 00 00 00 00 cc
Jan 07 10:28:29 Home-Assistant hass[12140]: 2022-01-07 10:28:29 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cc
Jan 07 10:28:30 Home-Assistant hass[12140]: 2022-01-07 10:28:30 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 01 80 07 d0 ff ff 00 00 00 00 00 00 00 00 cb
Jan 07 10:28:30 Home-Assistant hass[12140]: 2022-01-07 10:28:30 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 04 00 ed ae ac 38 c1 a4 1b 1a ff 4c 00 02 15 49 4e 54 45 4c 4c 49 5f 52 4f 43 4b 53 5f 48 57 50 75 f2 ff 0c cb
Jan 07 10:28:31 Home-Assistant hass[12140]: 2022-01-07 10:28:31 DEBUG (HCISocketPoller) [custom_components.govee_ble_hci.sensor] Received packet data for BDAddress('A4:C1:38:AC:AE:ED'): 01 00 00 ed ae ac 38 c1 a4 1f 03 03 51 83 02 01 05 11 ff ac ae ed 01 00 01 01 e4 00 80 07 d0 ff ff 00 00 00 00 00 00 00 00 cc
Thanks, it seems to work fine now. With your new data, I get:
result ({'firmware': 'Govee', 'temperature': 21.0, 'alarm temperature': -0.01, 'rssi': -53, 'mac': 'A4C138ACAEED', 'type': 'H5183', 'packet': 'no packet id', 'data': True}, None)
I'll add a filter for ffff
values, to ignore and will create an update for BLE monitor
Seems the issue was with the probe not being present - of course I haven't set any alarm temp so that wouldn't be correct too... so any neg values implies not set in this case....
Should be added in ble_monitor 6.7.2. Let me know if it works.
Wow that was really quick! Thx I'll try it out and let you know.
Request from the HA forum to add Govee H5183 BT/BLE meat thermometer.