mmakaay / esphome-xiaomi_bslamp2

ESPHome integration for the Xiaomi Mijia Bedside Lamp v2.
Other
218 stars 51 forks source link

Adding ignore_efuse_custom_mac config setting #131

Closed ezcGman closed 1 month ago

ezcGman commented 1 month ago

Hey there,

related to this issue here, I've created this pull request: https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/130 However, I can't share the issue that the config won't compile at all or throws any error. For me the devices simply had a weird new MAC address.

There had been some changes in ESPHome (which should clearly have been marked as breaking change... Or at least a bit more prominent...) to how it makes use of burned in efuse MAC addresses, especially this one: https://github.com/esphome/esphome/pull/7498

Apparently, the burned in efuse MAC addresses are useless. After updating to ESPHome 2024.10.0, my two bedside lamps showed with these MAC addresses: B4-C3-FB-3F-00-00 & AC-C3-FB-3F-00-00.

It's enough to simply add the news config setting and set it to false, like in this PR.

Greetings,

Andy!

mmakaay commented 1 month ago

Thanks for the PR @ezcGman, much appreciated!

Like I just wrote in another thread, I will be back home on Sunday and will work on updating the project for compatibility with the ESPHome changes.

ezcGman commented 1 month ago

Thanks for the PR @ezcGman, much appreciated!

Like I just wrote in another thread, I will be back home on Sunday and will work on updating the project for compatibility with the ESPHome changes.

Sure thing! :) And no rush!