pvvx / ATC_MiThermometer

Custom firmware for the Xiaomi Thermometers and Telink Flasher
https://github.com/pvvx/pvvx.github.io/tree/master/ATC_MiThermometer
Other
2.95k stars 205 forks source link

Can't unset PIN code #131

Closed confuserated closed 3 years ago

confuserated commented 3 years ago

Hi,

I've flashed all of my Mijia thermostats successfully but I set a PIN code on them and later found that ESP32 (ESPHome) ble code can't handle a PIN, I know, I'm an idiot.

I'm having a hard time understanding why reflashing the original firmware with the Telink Flasher and then flashing the new 3.2 customer firmware is keeping ALL of the old settings, such as PIN code and Update parameters.

I've also deleted my browser cache etc, just in case, to no avail.

I can find no way of clearing the PIN, can you help at all please?

Regards

confuserated commented 3 years ago

Found it!

The clue was in the log when I tried writing a blank pin...

"11:11:21: Must be 6 decimal digits! 000000..999999, 6 digits, if '000000' - PinCode Disable."

setting it to all zeros cleared it for me.