What a great idea! Just tried that. I had my hopes up but the flasher does seem to recognize these sensors and would not connect to them or flash them. I opened a FR with the author…
There is an encryption for the data:
"To get to this screen, you have to find the right device (usually LT_xxxx), connect to it, locate the service 0xFFE9 and its notification feature 0xFFE8, click on the little icon on the right to subscribe to notifications, and wait a few seconds to see the value line displayed, which in this example is (0x) AA-AA-A2-00-06-01-10-01-86-10-00-95-55; we are observing well:
AA-AA: the header
A2 : it is the hygrometry
00-06 : the size of the data is 6 bytes
01-10 : 0x0110, that is to say 256 in decimal, to divide by 10 : 25,6° (and that falls well, it is well what my thermometer displays !)
01-86 : 0x0186, that is 390 in decimal, to divide by 10 : 39%.
01 : battery indication ; I suppose that 1 means that the battery indicator is not displayed
00 : we are in degrees Celsius
95 : the checksum (and it is correct)
55 : the footer
We can now read the data and move on!"
Translated by DeepL
I’m also interested in this, having found one of these sensors for very cheap on Temu.
It looks like it should be possible to add configuration to my ESP32 esp-home device that’s working as a bluetooth proxy, based on https://esphome.io/components/sensor/ble_client.html?highlight=ble+sensor and a lambda return to decode from the BLE notification - I’ll update here if I get it working.
I may have spoken too soon - I’ve seen this work exactly once, with the figures on screen and then never again.
I suspect there’s something strange going on with a characteristic that can only be read by notification.
If I add the descriptor_uuid 2902, it appears to connect but only returns the 2 bytes of the descriptor!
I too have acquired a few of these sensors, and would love to see them in my HA setup. I followed the French link referenced above, and was able to see the message exactly as described using nRF Connect. That is rather positive. However, I am a little fuzzy as to how I should go about the next step. Are there some giants about, on whose shoulders I could stand?
The French link even leads us to blelt2mgtt, which is a python script to translate the BLE data from these very sensors to MQTT. I am quite certain that all the information needed to make them work with a HA bluetooth proxy running on an ESP32, for example, would be in there, if only I was clever enough to figure it out. But alas!
Just to be clear - we are talking about these units, with the insipid little face.
I tried l33tmikeMichael’s code above, without success, with one sensor monitoring the temperature and humidity in my 3D printer’s filament drybox. By chance (OK, because I am lazy) I left everything switched on for the weekend, and yesterday, when I updated ESPHome to the lastest version 2024.5.2, it seems to have quietly started working. Ours not to reason why, ours just to exploit good fortune while it lasts. So I added two more units - plenty more where those came from - each time getting the MAC addresses with the help of nRF Connect, and copied and pasted as needed. All three units have been reporting exactly what they show on their screens for the past few hours.
I started off with the ESPHome Readymade bluetooth proxy running on an ESP32, and added until my code looks like this:
Why thank you - I shall indeed. Do you have experience of these specific units? And/or can you suggest how I could transplant the working ESPHome code above to work with ble_tracker? I admit that I am not quite (at all, actually) clear how service_uuid and characteristic_uuid should be handled, if at all.