Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[D][esp-idf:000]: E (3916800) system_api: Base MAC address from BLK3 of EFUSE version error, version = 56 #35

Open
smogger opened this issue Oct 17, 2024 · 3 comments

Comments

@smogger
Copy link

smogger commented Oct 17, 2024

After the latest ESPHome 2024.10.0 update the device is no longer "accessible" entities are empty.
Could be and ESPHome or HA issue, just trying to figure it out what is the problem.

After update the error I saw in log is this line:
[06:45:59][D][esp-idf:000]: E (3916800) system_api: Base MAC address from BLK3 of EFUSE version error, version = 56

Whole log:
logs_air-purifier-bedroom_logs.txt

Screenshot 2024-10-17 065046

@cristianchelu
Copy link
Contributor

This is interesting.

After a bit of searching I came across this mention in the esphome 2024.10 changelog:
https://esphome.io/changelog/2024.10.0.html#esp32-advanced-mac-address-configuration

ESPHome now supports reading a custom MAC address from the ESP32 eFuse blocks and will read and use it by default if there is data burned into the eFuses. If you would like to disable this, or the eFuse has data burned that is not a MAC address into those eFuses, then you can add ignore_efuse_custom_mac: true to your ESP32 advanced configuration. This option is currently only supported when using ESP-IDF as the framework.

and this esphome issue: esphome/issues#6333

It's not an issue in esphome-miot, just a breaking change in esphome 2024.10. Great... :)

It seems that all that's required is a new config line:

esp32:
  # ...
  framework:
    type: esp-idf
    # ...
    advanced:
      ignore_efuse_custom_mac: true # <-------- New feature
      ignore_efuse_mac_crc: true

@smogger
Copy link
Author

smogger commented Oct 21, 2024

You are godsend....

Issue fixed, finally it is back working again. Honestly strange since other ESP devices I have did not required this line, yet working fine.

Now finally the devices are back and live, able to setup them again.

Thanks

@cristianchelu
Copy link
Contributor

cristianchelu commented Oct 22, 2024

Honestly strange since other ESP devices I have did not required this line

If you would like to disable this, or the eFuse has data burned that is not a MAC address into those eFuses

It may be as simple as "only some Xiaomi devices have proprietary data on their fuses" and only those will break under 2024.10.

Multiple teams of the same organization, working in parallel on multiple projects, not making the same choices is just part of business.

Glad to hear it's fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants