Initial forked from https://github.com/atc1441/ATC_MiThermometer
(Thanks @atc1441 for initial parsing and js code for OTA)
Custom Firmware Version 1.1 Original Firmware v1.0.0_0106
- Advertisement: 15.5 uA
- Connection: 15..17 uA
Advertising in 4 formats:
- UUID 0x181A - size 16: atc1441 format
- UUID 0x181A - size 19: custom - temperature x0.01C, humidity x0.01%, battery charge level 0..100%, battery voltage in mV, GPIO-pin flags (mark “reset”) and triggers.
- UUID 0xFE95 - 0x0A: Xiaomi - battery charge level 0..100%, battery voltage in mV
- UUID 0xFE95 - 0x0D: Xiaomi - temperature x0.1C, humidity x0.1%
++ Configuring mode of transferring everything in turn
In Connection mode:
- PrimaryService - Environmental Sensing Service (0x181A):
- Characteristic UUID 0x2A1F - Notify temperature x0.1C
- Characteristic UUID 0x2A6E - Notify temperature x0.01C
- Characteristic UUID 0x2A6F - Notify about humidity x0.01%
- PrimaryService - Battery Service (0x180F):
- Characteristic UUID 0x2A19 - Notify the battery charge level 0..99%
- PrimaryService (0x1F10):
- Characteristic UUID 0x1F1F - Notify, frame id 0x33 (сonfiguring or making a request): temperature x0.01C, humidity x0.01%, battery charge level 0..100%, battery voltage in mV, GPIO-pin flags and triggers.
GraphAtc.html GraphAtc1.html GraphAtc2.html
Hysteresis:
- =0 off,
- if less than zero - activation on decrease,
- if more than zero - activation on excess
Setting the pin to "1" or "0" works if both hysteresis are set to zero (TRG off).
- LCD shows:
- Big number: -99.5..1999.5
- Small number: -9..99
- Smiley, battery, degrees
- Setting the display time limit in sec
- Connect only TX-SWS and GND wires.
- Go to wiki.telink-semi.cn and getting IDE for TLSR8 Chips.
- Clone https://github.com/Ai-Thinker-Open/Telink_825X_SDK
- Install IDE and export the 'ATC_MiThermometer' project.
- Change 'Linked resousrce' and 'C/C++ Build/Build command'. Compile.
Original Full Flash v1.0.0_0106 (512 KB)
Build Telink EVK on E104-BT10-G/N module (TLSR8269)
Alternative programmer TLSR SWire on module TB-04/03F or E104-BT10
Additional information on the format Advertising for Xiaomi LYWSD03MMC




