BTH01 with pvvx firmware not decoded

I’m new to OMG so apologies in advance if this is a known issue…

I have a BTH01 temp sensor that I flashed with the latest (v2.1) pvvx firmware. Scanning with nRFC on my phone it appears to show sensible data, UUID is FCD2 and manually decoding the payload gives appropriate values.

I then flashed an m5atom from the web installer - esp32-m5atom-matrix - (v1.8.1) and configured it to talk to wifi and my MQTT broker, This seemed to work well too, I saw a load of topics appear including a bunch of LYWSD03MMC temp sensors also running pvvx firmware but reporting in atc1441 format - these are all correctly reported. The BTH01 device though is not. It is using BTHome v2 format and though OMG sees it, it flags it as “No eligible device found”.

Am I missing something? I just want to get the data from these sensors into MQTT so other code I have can process the data.

Some log excerpts:

from MQTT Explorer:

topic: home/OMG_ATOM_M/BTtoMQTT/40B7FC171B47

40B7FC171B47 =
{“id”:“40:B7:FC:17:1B:47”,“name”:“BTH01-171B47”,“rssi”:-64}



From OMG logs:

T: Creating BLE buffer
N: BT Device detected: 40:B7:FC:17:1B:47
T: getDeviceByMac 40:B7:FC:17:1B:47
T: Get services data number: 1
T: Converted service data (14) to 400001016402c10803cd100c260c
T: Service data: 400001016402c10803cd100c260c
T: Service data UUID: 0xfcd2
T: Processing BLE data 40:B7:FC:17:1B:47
T: No eligible device found
T: Origin: /BTtoMQTT/40B7FC171B47
T: Enqueue JSON
T: Queue length: 1
T: Dequeue JSON
N: [ OMG->MQTT ] topic: home/OMG_ATOM_M/BTtoMQTT/40B7FC171B47 msg: {“id”:“40:B7:FC:17:1B:47”,“name”:“BTH01-171B47”,“rssi”:-53}

and

T: CreatinNg BLE: buffer
Found N9: BT Device detected: 40:B7:FC:17:1B:47
cT: getDeviceBaynMa c n40:B7:FC:17:1B:47
u
T: Get msebrviecer s data number: 1

T: Converted service data (14) to 400007016402de08031e100c3c0c
T: Service data:
T: Process data:
T: Service data UUID: 0xfcd2
TB: LPEr ostcessing BLE data 40:B7:FC:17:1B:47
TB: LPEr ostcessing BLE data 40:B7:FC:17:1B:47
T: CoreTask stack free: 3056
T: No eligible device found
T: Origin: /BTtoMQTT/40B7FC171B47

Thanks

Hi @pololevu

Version 1.8.1 of OpenMQTTGateway only includes a very old version of Theengs Decoder with many device decoders missing.

You should install the latest development version from

https://docs.openmqttgateway.com/dev/upload/web-install.html

The same applies to anyone else having problems decoding devices even though they are listed in the Compatible Devices list.

Perfect, thanks. That does exactly what I need.