Do not wget or download any other way, since esptool.py will complain about an overlap:
esptool write_flash: error: argument <address> <filename>: Detected overlap at address: 0x8000 for file: partitions.bin
If your bedside lamp is already pre-bricked like mine, (thanks xiaomi), then try restoring the same firmware that you took a backup of, that also did something for me. :)
FYI, If you're having issues installing via esphomeflasher, and decide to use esptool.py, make absolutely sure that you're clicking download for the 2 files listed in here: https://github.com/mmakaay/esphome-xiaomi_bslamp2/blob/dev/doc/flashing.md#flash-new-esphome-firmware
Do not wget or download any other way, since esptool.py will complain about an overlap:
esptool write_flash: error: argument <address> <filename>: Detected overlap at address: 0x8000 for file: partitions.bin
If your bedside lamp is already pre-bricked like mine, (thanks xiaomi), then try restoring the same firmware that you took a backup of, that also did something for me. :)