mmakaay / esphome-xiaomi_bslamp2

ESPHome integration for the Xiaomi Mijia Bedside Lamp v2.
Other
204 stars 49 forks source link

Reconfigure lamp #125

Open iAbadia opened 6 months ago

iAbadia commented 6 months ago

Context: Hi, I followed this project a couple years ago (thank you so much for your work!) and since then I've changed my network configuration a couple times, always keeping the same BSSID and password. Every time the lamp has re-connected just fine but I'm now unable to reproduce the same conditions and I need to re-configure the lamp.

The actual question: Is there a way to reconfigure the lamp without opening it up again?

helgek commented 6 months ago

You can add the lamp to ESPHome dashboard by creating a generic ESP32 device. Then you edit the yaml of this device and you overwrite it with the yaml config of your bedside lamp. Now the lamp should show up in the ESPHome dashboard. You can now adjust the wifi settings and install the configuration which will overwrite the current firmware of your lamp.