ESPHome 2022.11.0 - 16th November 2022

Raspberry Pi Pico-W Copy link to header

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 issueExternal link if this is the case.

Looking forward to seeing peoples projects built on these boards running ESPHome.

Script Parameters Copy link to header

Thanks @jimtng for taking the time to implement a feature requested by many people over time. Parameters on scripts are now a thing.

script:
  - id: push_button
    parameters:
      button: int
    then:
      - logger.log:
          format: "Button %d pressed"
          args: [ button ]

on_...:
  - script.execute:
      id: push_button
      button: 1

on_...:
  - script.execute:
      id: push_button
      button: 2

LCD Menu Copy link to header

Another great feature added this release is the LCD Menu. This allows a user to build a simple (or complex) menu system on an lcd display within ESPHome YAML, with support for switches, numbers, selects etc. Thanks @numo68.

Preserving User WiFi Credentials Copy link to header

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 ToolsExternal link 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 Copy link to header

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.

esphome:
  ...
  compile_process_limit: 1

Release 2022.11.1 - November 17 Copy link to header

Release 2022.11.2 - November 23 Copy link to header

Release 2022.11.3 - November 24 Copy link to header

Release 2022.11.4 - December 1 Copy link to header

Release 2022.11.5 - December 6 Copy link to header

Full list of changes Copy link to header

New Features Copy link to header

  • Allow preserving WiFi credentials entered with captive_portal esphome#3813 by @kuba2k2 (new-feature)

New Components Copy link to header

Breaking Changes Copy link to header

Beta Changes Copy link to header

All changes Copy link to header

Past Changelogs Copy link to header

CURRENT