esphome / esphome/feature-requests

Only build devices firmware once with name_add_mac_suffix

Open
#2,807 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

When you have multiple devices which share the same configuration and are effectively only differentiated via the added mac-suffix, ESPHome builds a lot of exactly the same code multiple types on update. This is especially noticable when using a Raspberry Pi as host and/or building microWakeWord with the tensorflow-lite library.
It would be nice if this could somehow be changed, so esphome only has to build the code once.

**Please describe your use case for this integration and alternatives you've tried:**

The use case for me is multiple Onju Voice boards, which all share the same firmware, but have a very large firmware compile time because of microWakeWord.

An alternative might be to host the firmware on e.g. GitHub and provide updates via the http ota updater, but that then depends on some third-party or hard to set up infrastructure, instead of the ESPHome Dashboard/HomeAssistant Update integration.

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.