Package Details: esphome 2024.4.0-0

Git Clone URL: https://aur.archlinux.org/esphomeyaml.git (read-only, click to copy)
Package Base: esphomeyaml
Description: Solution for your ESP8266/ESP32 projects with Home Assistant
Upstream URL: https://github.com/esphome/ESPHome
Keywords: ESP32 ESP8266 HomeAssistant
Licenses: MIT
Replaces: esphomeyaml
Submitter: sgar
Maintainer: sgar (jesserockz, esphome)
Last Packager: sgar
Votes: 16
Popularity: 0.92
First Submitted: 2019-02-06 12:02 (UTC)
Last Updated: 2024-04-18 06:56 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 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 'platformio.commands.run'.

The solution can be found here: https://github.com/esphome/esphome/pull/3566/files
Also see this issue: https://github.com/esphome/issues/issues/3396

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

pkgver=2022.6.2
sha256sums=('7a68cb53bb5cfa818356225f6c89bfc22ebd2815a551971169dda533c119f312')

edit /usr/lib/python3.10/site-packages/esphome/platformio_api.py:
In line 23 replace from platformio.commands.run import helpers, command with from platformio.run 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 https://github.com/esphome/issues/issues/2604 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

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

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

Please add python-esphome-dashboard (https://aur.archlinux.org/python-esphome-dashboard.git) 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:

panel_iframe:
  esphome:
    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 setup.py patch in prepare doesn't work:

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

This patch works: https://paste.rs/GR1.patch

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:

voluptuous==0.11.7
PyYAML==5.3
paho-mqtt==1.5.0
colorlog==4.1.0
tornado==6.0.4
protobuf==3.11.4
tzlocal==2.0.0
pytz==2019.3
pyserial==3.4
ifaddr==0.1.6
platformio==4.2.1
esptool==2.8

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/__init__.py", line 584, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", 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/__init__.py", line 3254, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3237, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3266, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 586, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 599, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", 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 "esphome.py", line 575, in <module>
    sys.exit(main())
  File "esphome.py", line 566, in main
    return run_esphome(sys.argv)
  File "esphome.py", line 553, in run_esphome
    rc = POST_CONFIG_ACTIONS[args.command](args, config)
  File "esphome.py", line 293, in command_compile
    exit_code = compile_program(args, config)
  File "esphome.py", 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/platformio_api.py", line 93, in run_compile
    return run_platformio_cli_run(config, verbose)
  File "/home/user/.cache/yay/esphomeyaml/src/esphome-1.14.3/esphome/platformio_api.py", 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/platformio_api.py", 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!