atc1441 / ATC_MiThermometer

Custom firmware for the Xiaomi Thermometer LYWSD03MMC and Telink Flasher via USB to Serial converter
2.8k stars 470 forks source link

[Feature Request] Can this be made to support other, similar sensors? #262

Open doron1 opened 2 years ago

doron1 commented 2 years ago

So I have a few of these: https://www.aliexpress.com/item/1005004076896945.html (purchased them and not the Xiaomi ones since their temp range goes down to -50c, while the Mi are speced not to support temps below freezing; I need them in my freezers.) They're locked into their own app ("qaqa") same as the Xiaomi. I was hoping to have your flash solution save these for me (so I can connect them to an ESP32 / ESPHome), but the flasher page does not like it when I connect to them: Connecting to: LT_1711 NotFoundError: No Services matching UUID 00010203-0405-0607-0809-0a0b0c0d1912 found in Device.

Some stuff I gleaned from the device:

[15:43:41][I][ble_client:170]: Service UUID: 0x1800
[15:43:41][I][ble_client:171]:   start_handle: 0x1  end_handle: 0x5
[15:43:41][I][ble_client:383]:  characteristic 0x2A00, handle 0x3, properties 0x2
[15:43:41][I][ble_client:383]:  characteristic 0x2A01, handle 0x5, properties 0x2
[15:43:41][I][ble_client:170]: Service UUID: 0x180A
[15:43:41][I][ble_client:171]:   start_handle: 0x6  end_handle: 0x10
[15:43:41][I][ble_client:383]:  characteristic 0x2A19, handle 0x13, properties 0x12
[15:43:41][I][ble_client:170]: Service UUID: 0xFFE5
[15:43:41][I][ble_client:171]:   start_handle: 0x15  end_handle: 0x1a
[15:43:41][I][ble_client:383]:  characteristic 0xFFE9, handle 0x17, properties 0x4
[15:43:41][I][ble_client:383]:  characteristic 0xFFE8, handle 0x19, properties 0x10
[15:43:41][I][ble_client:170]: Service UUID: 0xFE59
[15:43:41][I][ble_client:171]:   start_handle: 0x1b  end_handle: 0x23
[15:43:41][I][ble_client:383]:  characteristic 8EC90001-F315-4F60-9FB8-838830DAEA50, handle 0x1d, properties 0x18

Any chance the flasher/firmware could be made to support those?

(Fantastic job wrt firmware and flashing, btw)

rob-baker commented 2 years ago

same here. would be great to support this device.