ESPHome 2022.11.0 - 16th November 2022¶
Raspberry Pi Pico-W¶
What can I say… I (Jesse) started working on making ESPHome run on the original Raspberry Pi Pico one random weekend just for fun with no real intention of taking it further myself. Little did I know there would be a Raspberry Pi Pico-W released earlier this year which sparked up interest in continuing that PR and almost fully implementing RP2040 and the Pico-W as a supported platform in ESPHome.
There are things that have not been tested, and most likely things that will not work, so please create or search for an issue if this is the case.
Looking forward to seeing peoples projects built on these boards running ESPHome.
Thanks @jimtng for taking the time to implement a feature requested by many people over time. Parameters on scripts are now a thing.
- id: push_button
format: "Button %d pressed"
args: [ button ]
Preserving User WiFi Credentials¶
If you purchase a device, or install ESPHome on a device that does not have Wi-Fi credentials pre-configured from YAML, ESPHome will now preserve any credentials entered via the Captive Portal, Improv via Serial or Improv via BLE components after an OTA update of the firmeware is done. It is possible they can survive flashing via serial, but only if the flash was not erased first, which it is in the case of using ESPHome to flash.
Products that use ESP Web Tools are able to specify in the manifest that the flash should not be erased when installing the firmware and this is a way to provide updates for a device that was sold.
Running ESPHome on lower powered machines¶
People have noticed that trying to compile their projects on machine such as the Raspberry Pi 3 would crash either the whole machine or the ESPHome add-on, or Home Assistant. This is due to having less RAM and CPU power available to run all of the things at the same time. A new config option has been added as per the example below that should help to allow compiling on machines such as Raspberry Pi 3. By default ESPHome tries to compile using all of the processor cores, and this allows you to limit it to a lower amount.