Github Devices Community Docs Blog

DT3010-BLE Bluetooth meter current voltage

I am trying to get the values of the battery meter called “DT3010-BLE”:


The MQTT publication received in node-red has the following format:
home / OpenMQTTGateway_ENP32_BLE / BTtoMQTT / 1910221A0144: msg.payload: buffer [90]
7b226964223a2231393a31303a32323a31613a30313a3434222c226d616e75666163747572657264617461223a22542088a019105c22190144222c2272737369223a2d37332c226469737334343353373373373363373
Can you give me a hint of how to decode the payload, which should contain volts, amps, temperature, KWh, cost, Co2?
I am using ESP32_OpenMQTTGateway_V092_BLE
Thank you

Hello,

Could you extract the “raw” service data json field received with OMG on your esp32 (not from nodered). This payload doesn’t looks like an OMG produced payload.

Hello,
If you refer to the serial port output it is the following:
device detected
1910221A0144
BLErssi
-70
txPower
-59
BLE DISTANCE :
3.47
Pub json into:
home/home_presence/OpenMQTTGateway_ESP32_BLE
{“id”:“19:10:22:1a:01:44”,“name”:“DT3010-BLE”,“manufacturerdata”:“T ˆ [19][10]”[19][01]D",“rssi”:-70,“distance”:3.472448}
Pub json into:
home/OpenMQTTGateway_ESP32_BLE/BTtoMQTT/1910221A0144
{“id”:“19:10:22:1a:01:44”,“name”:“DT3010-BLE”,“manufacturerdata”:“T ˆ [19][10]”[19][01]D",“rssi”:-70,“distance”:3.472448}

Regards

hello,

As there is no service data field it is not so easier to integrate into OMG.
Currently OMG support reading of devices that broadcast there values by service data field.

Regards

Ok. Thank you.
Regards