Victor
Victor
BTHome used to have a dual antenna solution, but it was built on a legacy ESP8266 module and BT via "AT". And I don't see any new WiFi6 and BT5+...
Value in 0.01. 1234 -> 12.34 Integer division: [(Value_x01 + 5)/10 = Value_x1](https://github.com/pvvx/ATC_MiThermometer/blob/master/src/app.c#L272)
Register MCUCTRL 0x800602 Telink BDT.exe: MCUCTRL = 0x88 – Reset CPU. MCU starts to execute the firmware in SRAM with PC pointer starting from 0. MCUCTRL = 0x06 – Stall...
cstartup_8266.S: tloadr r3, COPY_CODE_DAT + 8 @ 0x800602 tmov r2, #136 @ 0x88 tstorerb r2, [r3, #0] @ [0x800602] = 0x88 -> CPU reboot
follow the news https://pvvx.github.io/XMWSDJ04MMC/ The MI-OTA procedure js code is required to complete the custom firmware for XMWSDJ04MMC. Everything else is already there and tested (I flashed it through a...
I can't do all this alone. Or it will take a very long time. Need help creating MI-OTA javascript code. This requires full reverse Mi-Home plugin or mijia access/registration. But...
SHT4x https://sensirion.com/products/catalog/?filter_series=0f896bb3-d205-4f45-884b-e3c1fd285b8e [Source code](https://github.com/pvvx/ATC_MiThermometer/blob/master/src/sensors.c#L142): _temp = 16-bit temperature sensor data _humi = 16-bit humidity sensor data ``` measured_data.temp = ((int32_t)(17500*_temp) >> 16) - 4500 + cfg.temp_offset * 10; // x...
Use [TelinkMiFlasher.html](https://pvvx.github.io/ATC_MiThermometer/TelinkMiFlasher.html)  3. Disable - reload html and flash with original version.
Incomplete OTA does not kill the device.
Average consumption is the sum of the consumption per pulse and during the pause between beacons. RF TX consumption depends on the power supplied to the antenna. This is a...