Package Details: esphome 2022.12.8-1

Git Clone URL: (read-only, click to copy)
Package Base: esphomeyaml
Description: Solution for your ESP8266/ESP32 projects with Home Assistant
Upstream URL:
Keywords: ESP32 ESP8266 HomeAssistant
Licenses: MIT
Replaces: esphomeyaml
Submitter: sgar
Maintainer: sgar (jesserockz, esphome)
Last Packager: esphome
Votes: 12
Popularity: 0.32
First Submitted: 2019-02-06 12:02 (UTC)
Last Updated: 2023-02-02 08:38 (UTC)

Latest Comments

1 2 Next › Last »

sebbrue commented on 2022-07-10 13:24 (UTC) (edited on 2022-07-10 13:24 (UTC) by sebbrue)

Esphome is currently not working out of the box with platformio 6. It will not compile your yaml with ModuleNotFoundError: No module named ''.

The solution can be found here:
Also see this issue:

I changed this in PKGBUILD to update to the latest version of esphome:


edit /usr/lib/python3.10/site-packages/esphome/
In line 23 replace from import helpers, command with from import helpers, cli.
In line 42 replace command.clean_build_dir with li.clean_build_dir

Now esphome should work with platformio 6

ZephireNZ commented on 2021-11-05 04:55 (UTC)

It looks like this bug is caused by a mismatch in the version of python-aioesphomeapi.

esphome v2021.10.3 needs aioesphomeapi v9.1.5 but the AUR package is v10.2.0

eyun commented on 2021-06-25 13:47 (UTC) (edited on 2021-06-25 13:49 (UTC) by eyun)

Error occurs when running command "esphome dashboard /var/lib/esphome":
ModuleNotFoundError: No module named 'esphome_dashboard'.

Please add python-esphome-dashboard ( to depends array.

desperat commented on 2020-10-18 13:13 (UTC) (edited on 2020-10-18 13:24 (UTC) by desperat)

Som useful stuff - Adding shortcut to HomeAssistnt on left Bar.

nano /var/lib/hass/configuration.yaml
Paste in above file:

    title: Esphome
    icon: mdi:chart-timeline
    url: http(s)://HAserverIP:6052

Can somebody write cute systemd service to this package to start esphome after network and optionally after home assistant?

My tested shell alias to run thic cute dashboard is:

alias esphome='esphome config /root/config dashboard'

desperat commented on 2020-09-30 12:51 (UTC) (edited on 2020-09-30 12:52 (UTC) by desperat)

I was using docker wersion before. Pls tell me how to run dashboard with all my existing configs under:

ls ~/.esphome/
esp32.yaml livingroom.yaml okno.yaml wc_esp32mini.yaml wc.yaml.json
esphome config .esphome/ dashboard

runs dashboard but without nodes.

Scrumplex commented on 2020-06-08 09:05 (UTC) (edited on 2020-06-08 09:15 (UTC) by Scrumplex)

Seemy like the patch in prepare doesn't work:

==> Starting prepare()...
patching file
Hunk #1 FAILED at 23.
Hunk #2 FAILED at 41.
2 out of 2 hunks FAILED -- saving rejects to file

This patch works:

pohl7589 commented on 2020-03-11 18:57 (UTC)

Seems like requires.txt has not been updated to reflect current package versions in Arch Linux. To make esphome work, you need to edit requires.txt in the esphome-1.14.3-py3.8.egg-info folder:


pohl7589 commented on 2020-03-09 20:30 (UTC)

esphome doesn't run, esptool complains about a version conflict (2.7 vs. 2.8)

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 584, in _build_master
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 792, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (esptool 2.8 (/usr/lib/python3.8/site-packages), Requirement.parse('esptool==2.7'), {'esphome'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/esphome", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3254, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3237, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3266, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 586, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 599, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'esptool==2.7' distribution was not found and is required by esphome

offlinehoster commented on 2019-12-02 14:43 (UTC) (edited on 2019-12-02 15:04 (UTC) by offlinehoster)

Currently there are some problems with esphome

Traceback (most recent call last):
  File "/usr/bin/esphome", line 6, in <module>
    from esphome.__main__ import main
ModuleNotFoundError: No module named 'esphome'

And after removing all esphome packages and install again I got

INFO Generating C++ source...
INFO Core config or version changed, cleaning build files...
INFO Compiling app...
Traceback (most recent call last):
  File "", line 575, in <module>
  File "", line 566, in main
    return run_esphome(sys.argv)
  File "", line 553, in run_esphome
    rc = POST_CONFIG_ACTIONS[args.command](args, config)
  File "", line 293, in command_compile
    exit_code = compile_program(args, config)
  File "", line 163, in compile_program
    return platformio_api.run_compile(config, CORE.verbose)
  File "/home/user/.cache/yay/esphomeyaml/src/esphome-1.14.3/esphome/", line 93, in run_compile
    return run_platformio_cli_run(config, verbose)
  File "/home/user/.cache/yay/esphomeyaml/src/esphome-1.14.3/esphome/", line 89, in run_platformio_cli_run
    return run_platformio_cli(*command, **kwargs)
  File "/home/user/.cache/yay/esphomeyaml/src/esphome-1.14.3/esphome/", line 78, in run_platformio_cli
    import platformio.__main__
ModuleNotFoundError: No module named 'platformio'
==> FEHLER: Ein Fehler geschah in check().
    Breche ab...
Error making: esphomeyaml (esphome)

Popolon commented on 2019-11-28 11:17 (UTC)

==> Validating source files with sha256sums...
    v1.14.3.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!