Hallo,
ich habe in fhem_pythonbinding nun noch ein EPSHome Module integriert. Es ist ein simples Modul welches dennoch für den ein oder anderen hilfreich sein kann.
Das Modul installiert esphome und startet das Dashboard über welches jegliche Installation/Konfiguration/Updates von ESPHome Devices durchgeführt werden können. Das Dashboad wird dann als iFrame in FHEM angezeigt.
Installationsvoraussetzung:
https://github.com/fhempy/fhempy#installation
Nutzung:
https://github.com/fhempy/fhempy/blob/master/FHEM/bindings/python/fhempy/lib/esphome/README.md
Hi Dominik
Darf ich dich fragen, wie du danach die ESPHome Geräte einbindest? Benutze ESPHome auch recht intensiv, scheitere aber noch an einer eleganten MQTT-Einbindung, da die Device-Topics halt schon etwas verschieden sind zu z.B. Zigbee2MQTT oder so. Speziell bin ich interessiert, ob du einen Bridge-Regexp benutzt.
LG Boris
Ja, ich binde es über MQTT ein. Gefällt mir aber noch nicht so gut, da man da ziemlich viel selbst konfigurieren muss damit alles passt. Ich definiere da die setList und readingsList von Hand.
Bin noch am Überlegen da ein esphome_device Modul zu bauen um die Devices automatisch erkannt und schön angelegt zu bekommen.
Hallo gibt es hier bezüglich des ESPhome device Moduls??
Ich würde gerne einige ESP mit ESPhome flashen um dort verschiedene Sensoren etc abzuschließen da da die Unterstützung höher ist als bei EasyESP.
Hi,
ich verwende auch nur mehr esphome statt easy. Dieses Modul ist nur für das esphome dashboard gedacht. Die Integration von esphome Devices selbst läuft dann über MQTT2.
Hallo,
ich habe mich jetzt mit esphome befasst. Vielleicht kann mir jemand den iFrame für die Einbindung als Dashboard zur Verfügung stellen.
Da ich esphome Dashboard auch außerhalb FHEM nutze habe ich ein Konflik dass der Port 6052 schon belegt ist. Kann man den Port auf dem esphome Dashboard horcht spezifizieren/ändern?
Kann man den Pfad zu den YAML Kofigurationsdateien ändern?
Vielen Dank und viele Grüße
Berni
Hi,
ja, geht generell in dem man den --port Parameter bei esphome nutzt. Ich kann das gerne als Attribut mit einbauen, damit man diesen setzen kann.
Ist nun integriert. Es gibt nun ein Attribut port_dashboard, da kannst du die Portnummer eingeben. Default ist 6052.
Nach dem Setzen bitte esphome neu starten, dann sollte es klappen.
Hy nach langen hin und her habe ich fhempy nun zum laufen bekommen, habe nun ESPHome definiert aber er zeigt mir "127.0.0.1 Verbindung verweigert" an jemand ne idee?
Verbose steht schon auf 5 aber keine hilfreiche Einträge vorhanden.
Hi,
wo kommt diese Fehlermeldung? Kannst du mit IP_FHEM:6052 darauf zugreifen?
HY problem Gelöst, Grund war kein PLatz mehr auf dem System :-\
Hallo,
würde das auch gern nutzen, weil esphome irgendwie sehr cool ist.
leider gibts bei dem link zur nutzung ein 404. und klar sagt fhem nach definition von esp_home, dass der server offline ist...
@dominik: könntest du bitte die nutzungs-anleitung aktualisieren oder hier rein posten?
danke und cheers,
Pula
Hi,
welchen Link meinst du?
Die Anleitung ist ziemlich kurz gehalten :)
https://github.com/fhempy/fhempy/tree/master/FHEM/bindings/python/fhempy/lib/esphome
Poste sonst mal das Log von fhempy und beschreibe was du bisher gemacht hast.
Hi!
Danke für die rasche Antwort!
ich hab den gemeint aus dem ersten post:
Nutzung:
https://github.com/dominikkarall/fhem_pythonbinding/blob/master/FHEM/bindings/python/lib/esphome/README.md
Die Anleitung ist wirklich SEHR knackig :-)
hab nur das device installiert, ich nehme an, ich sollte vorher noch esphome installieren ^^
falls man das in einem docker-container laufen lässt, kann man in dem modul irgendwie die ip einstellen?
cheers,
Pula
ESPHome musst du nicht installieren, das passiert automatisch im Hintergrund.
Danke für den Hinweis im 1. Post, das werde ich anpassen.
Du kannst fhempy auch im Docker laufen lassen, das sollte kein Problem sein.
omg. sorry. das fhempy-device war hängengeblieben beim update :o
hat sich nach einem fhem-restart eingekriegt, das esphome-dashboard ist jetzt auf port 6052 erreichbar :-)
allerdings nur mit fhem-ip:6052
das iframe tut nicht, weil es meint dass es keine verbindung zu 127.0.1.1:6052 (sic!) aufbauen kann?!
hab die def von dem esphome_dashboard angepasst, bleibt allerdings schwarz.
sehe ich jetzt aber nicht als grosses problem, weil dank des moduls das esphome-dashboard auf der fhem-maschine erreichbar ist ohne klimmzüge!
danke dafür!
Wenn du die IP der FHEM Maschine bei esphome_dashboard im iframe hinterlegst, sollte es funktionieren.
nö. leider nicht. aber wie gesagt, is egal, weil im eigenen browser-fenster ist es voll funktional, das reicht mir eigentlich :-)
Hallo und Guten Abend zusammen,
ich hatte mich vorgestern hin gesetzt und versucht diese ESP Geschichte zum laufen zu bekommen.
Leider läuft die ganze Sache nach wie vor nicht. Vielleicht hat jemand eine Idee wo ich noch hin greifen muss.
fhempy_local und fhempyserver sind beide angleget und "grün" allerdings wird im fhempy_local:
prev_error -> 127.0.0.1: Verbindungsaufbau abgelehnt (111)
angezeigt.
ESPHome mit der IPAdresse und dem Port, wie bereits vorgeschlagen, aufzurufen funktioniert nicht (Seite nicht gefunden).
Das esphome Gerät bleibt mit der Meldung:
Installation finished. Please wait...
stehen.
Viele Grüße
Poste bitte das fhempy Log.
Ich hoffe das hilft weiter :-\
2022-09-18 19:11:15,310 - INFO - fhempy.lib.fhem_pythonbinding: Start update...
2022-09-18 19:11:15,312 - INFO - fhempy.lib.pkg_installer: Attempting install of fhempy
2022-09-18 19:11:28,076 - INFO - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2022-09-18 19:11:28,140 - INFO - fhempy.lib.fhem_pythonbinding: Restart initiated...
2022-09-18 19:11:28,146 - INFO - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2022-09-18 19:11:28,149 - INFO - websockets.server: server closing
2022-09-18 19:11:38,183 - INFO - websockets.server: connection closed
2022-09-18 19:11:38,186 - INFO - websockets.server: server closed
2022-09-18 19:11:38,189 - INFO - fhempy.lib.fhem_pythonbinding: Exit 1
2022-09-18 19:11:40,289 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.463...
2022-09-18 19:11:40,299 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-09-18 19:11:40,359 - INFO - websockets.server: server listening on 0.0.0.0:15733
2022-09-18 19:11:48,923 - INFO - websockets.server: connection open
2022-09-18 19:11:48,928 - INFO - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2022-09-18 19:11:50,049 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:11:50,051 - WARNING - asyncio: Executing <Handle <TaskWakeupMethWrapper object at 0x73ec0290>(<Future finis...events.py:396>) created at /usr/lib/python3.7/asyncio/tasks.py:368> took 0.479 seconds
2022-09-18 19:11:59,297 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:11:59,300 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:12:09,062 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:12:09,066 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:12:18,841 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:12:22,415 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
2022-09-18 19:12:22,429 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 60, in start_process
self.proc = subprocess.Popen(self._esphomeargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'esphome': 'esphome'
2022-09-18 19:14:14,556 - INFO - fhempy.lib.fhem_pythonbinding: Start update...
2022-09-18 19:14:14,558 - INFO - fhempy.lib.pkg_installer: Attempting install of fhempy
2022-09-18 19:14:26,836 - INFO - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2022-09-18 19:14:26,925 - INFO - fhempy.lib.fhem_pythonbinding: Restart initiated...
2022-09-18 19:14:26,932 - INFO - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2022-09-18 19:14:26,934 - INFO - websockets.server: server closing
2022-09-18 19:14:36,981 - INFO - websockets.server: connection closed
2022-09-18 19:14:36,985 - INFO - websockets.server: server closed
2022-09-18 19:14:36,989 - INFO - fhempy.lib.fhem_pythonbinding: Exit 1
2022-09-18 19:14:39,282 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.463...
2022-09-18 19:14:39,293 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-09-18 19:14:39,357 - INFO - websockets.server: server listening on 0.0.0.0:15733
2022-09-18 19:14:47,397 - INFO - websockets.server: connection open
2022-09-18 19:14:47,404 - INFO - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2022-09-18 19:14:48,567 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:14:48,580 - WARNING - asyncio: Executing <Handle <TaskWakeupMethWrapper object at 0x73e99390>(<Future finis...events.py:396>) created at /usr/lib/python3.7/asyncio/tasks.py:368> took 0.494 seconds
2022-09-18 19:14:59,149 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:14:59,152 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:15:08,808 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:15:08,812 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:15:18,919 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:15:22,543 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
2022-09-18 19:15:22,559 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 60, in start_process
self.proc = subprocess.Popen(self._esphomeargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'esphome': 'esphome'
2022-09-18 19:15:25,662 - INFO - fhempy.lib.fhem_pythonbinding: Shutdown initiated...
2022-09-18 19:15:25,676 - INFO - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2022-09-18 19:15:25,678 - INFO - websockets.server: server closing
2022-09-18 19:16:42,875 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.463...
2022-09-18 19:16:42,886 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-09-18 19:16:42,949 - INFO - websockets.server: server listening on 0.0.0.0:15733
2022-09-18 19:16:47,265 - INFO - websockets.server: connection open
2022-09-18 19:16:47,271 - INFO - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2022-09-18 19:16:48,281 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:16:48,292 - WARNING - asyncio: Executing <Handle <TaskWakeupMethWrapper object at 0x73ee7270>(<Future finis...events.py:396>) created at /usr/lib/python3.7/asyncio/tasks.py:368> took 0.480 seconds
2022-09-18 19:16:57,698 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:16:57,701 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:17:07,037 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:17:07,041 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:17:16,545 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:17:20,062 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
2022-09-18 19:17:20,077 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 60, in start_process
self.proc = subprocess.Popen(self._esphomeargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'esphome': 'esphome'
2022-09-18 19:28:15,217 - ERROR - fhempy.lib.fhem_pythonbinding: Connection closed error
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/legacy/protocol.py", line 945, in transfer_data
message = await self.read_message()
File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/legacy/protocol.py", line 1015, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/legacy/protocol.py", line 1090, in read_data_frame
frame = await self.read_frame(max_size)
File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/legacy/protocol.py", line 1149, in read_frame
extensions=self.extensions,
File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/legacy/framing.py", line 70, in read
data = await reader(2)
File "/usr/lib/python3.7/asyncio/streams.py", line 677, in readexactly
raise IncompleteReadError(incomplete, n)
asyncio.streams.IncompleteReadError: 0 bytes read on a total of 2 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 78, in pybinding
async for message in websocket:
File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/legacy/protocol.py", line 482, in __aiter__
yield await self.recv()
File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/legacy/protocol.py", line 553, in recv
await self.ensure_open()
File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/legacy/protocol.py", line 921, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: no close frame received or sent
2022-09-18 19:28:15,220 - INFO - fhempy.lib.fhem_pythonbinding: Restart fhempy
2022-09-18 19:28:15,226 - INFO - websockets.server: server closing
2022-09-18 19:28:15,244 - INFO - websockets.server: connection closed
2022-09-18 19:28:15,251 - INFO - websockets.server: server closed
2022-09-18 19:28:15,255 - INFO - fhempy.lib.fhem_pythonbinding: Exit 1
2022-09-18 19:28:17,572 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.463...
2022-09-18 19:28:17,583 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-09-18 19:28:17,661 - INFO - websockets.server: server listening on 0.0.0.0:15733
2022-09-18 19:32:41,323 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.463...
2022-09-18 19:32:41,337 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-09-18 19:32:41,420 - INFO - websockets.server: server listening on 0.0.0.0:15733
2022-09-18 19:36:09,308 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.463...
2022-09-18 19:36:09,321 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-09-18 19:36:09,399 - INFO - websockets.server: server listening on 0.0.0.0:15733
2022-09-18 19:36:21,713 - INFO - websockets.server: connection open
2022-09-18 19:36:21,722 - INFO - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2022-09-18 19:37:49,851 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:37:49,864 - WARNING - asyncio: Executing <Handle <TaskWakeupMethWrapper object at 0x7464bbb0>(<Future finis...events.py:396>) created at /usr/lib/python3.7/asyncio/tasks.py:368> took 0.514 seconds
2022-09-18 19:37:59,895 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:37:59,899 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:38:09,108 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:38:09,112 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 19:38:18,643 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 19:38:22,519 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
2022-09-18 19:38:22,541 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 60, in start_process
self.proc = subprocess.Popen(self._esphomeargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'esphome': 'esphome'
2022-09-18 20:21:32,780 - WARNING - asyncio: Executing <Handle _SelectorDatagramTransport._read_ready() created at /usr/lib/python3.7/asyncio/selector_events.py:249> took 0.274 seconds
2022-09-18 20:53:06,955 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
2022-09-18 20:53:06,970 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 60, in start_process
self.proc = subprocess.Popen(self._esphomeargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'esphome': 'esphome'
2022-09-18 21:15:15,369 - INFO - fhempy.lib.fhem_pythonbinding: Shutdown initiated...
2022-09-18 21:15:15,375 - INFO - websockets.server: server closing
2022-09-18 21:52:19,832 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.463...
2022-09-18 21:52:19,844 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-09-18 21:52:19,961 - WARNING - asyncio: Executing <Task pending coro=<async_main() running at /opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py:610> wait_for=<_GatheringFuture pending cb=[<TaskWakeupMethWrapper object at 0x75171d90>()] created at /usr/lib/python3.7/asyncio/tasks.py:615> cb=[_run_until_complete_cb() at /usr/lib/python3.7/asyncio/base_events.py:158] created at /usr/lib/python3.7/asyncio/base_events.py:563> took 0.129 seconds
2022-09-18 21:52:19,965 - INFO - websockets.server: server listening on 0.0.0.0:15733
2022-09-18 21:52:30,311 - INFO - websockets.server: connection open
2022-09-18 21:52:30,317 - INFO - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2022-09-18 21:56:46,865 - INFO - fhempy.lib.fhem_pythonbinding: Start update...
2022-09-18 21:56:46,867 - INFO - fhempy.lib.pkg_installer: Attempting install of fhempy
2022-09-18 21:57:13,398 - INFO - fhempy.lib.pkg_installer: Successfully installed fhempy update!
2022-09-18 21:57:15,440 - INFO - fhempy.lib.fhem_pythonbinding: Restart initiated...
2022-09-18 21:57:15,443 - INFO - websockets.server: server closing
2022-09-18 21:57:25,483 - INFO - websockets.server: connection closed
2022-09-18 21:57:25,485 - INFO - websockets.server: server closed
2022-09-18 21:57:25,497 - INFO - fhempy.lib.fhem_pythonbinding: Exit 1
2022-09-18 21:57:27,624 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.464...
2022-09-18 21:57:27,634 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-09-18 21:57:27,694 - INFO - websockets.server: server listening on 0.0.0.0:15733
2022-09-18 21:57:35,924 - INFO - websockets.server: connection open
2022-09-18 21:57:35,929 - INFO - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2022-09-18 22:22:03,997 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 22:22:04,001 - WARNING - asyncio: Executing <Handle <TaskWakeupMethWrapper object at 0x745e8350>(<Future finis...events.py:396>) created at /usr/lib/python3.7/asyncio/tasks.py:368> took 0.507 seconds
2022-09-18 22:22:13,636 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 22:22:13,641 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 22:22:22,839 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 22:22:22,842 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.6.3
2022-09-18 22:22:32,119 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.6.3: /opt/fhem/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/x509.py:17: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
utils.DeprecatedIn35,
Could not find a version that satisfies the requirement esphome==2022.6.3 (from versions: 1.10.1, 1.11.0b1, 1.11.0b2, 1.11.0b3, 1.11.0, 1.11.1, 1.11.2, 1.12.0b1, 1.12.0b2, 1.12.0b3, 1.12.0b4, 1.12.0, 1.12.1, 1.12.2, 1.13.0b1, 1.13.0b2, 1.13.0b3, 1.13.0b4, 1.13.0b5, 1.13.0b6, 1.13.0b7, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0b1, 1.14.0b2, 1.14.0b3, 1.14.0b4, 1.14.0b5, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.15.0b1, 1.15.0b2, 1.15.0b3, 1.15.0b4, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0b1, 1.16.0b2, 1.16.0b3, 1.16.0b4, 1.16.0b5, 1.16.0b6, 1.16.0b7, 1.16.0b8, 1.16.0, 1.16.1, 1.16.2, 1.17.0b1, 1.17.0, 1.17.1, 1.17.2, 1.18.0b1, 1.18.0b2, 1.18.0b3, 1.18.0b4, 1.18.0, 1.19.0b1, 1.19.0b2, 1.19.0b3, 1.19.0b4, 1.19.0b5, 1.19.0b6, 1.19.0b7, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.0b1, 1.20.0b2, 1.20.0b3, 1.20.0b4, 1.20.0b5, 1.20.0b6, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.0b1, 1.21.0b2, 1.21.0b3, 2021.8.0, 2021.8.1, 2021.8.2, 2021.9.0b1, 2021.9.0b2, 2021.9.0b3, 2021.9.0b4, 2021.9.0b5, 2021.9.0, 2021.9.1, 2021.9.2, 2021.9.3, 2021.10.0b1, 2021.10.0b2, 2021.10.0b3, 2021.10.0b4, 2021.10.0b5, 2021.10.0b6, 2021.10.0b7, 2021.10.0b8, 2021.10.0b9, 2021.10.0b10, 2021.10.0b11, 2021.10.0, 2021.10.1, 2021.10.2, 2021.10.3, 2021.11.0b1, 2021.11.0b2, 2021.11.0b3, 2021.11.0b4, 2021.11.0b5, 2021.11.0b6, 2021.11.0b7, 2021.11.0b8, 2021.11.0b9, 2021.11.0, 2021.11.1, 2021.11.2, 2021.11.3, 2021.11.4, 2021.12.0b1, 2021.12.0b2, 2021.12.0b3, 2021.12.0b4, 2021.12.0b5, 2021.12.0b6, 2021.12.0, 2021.12.1, 2021.12.2, 2021.12.3, 2022.1.0b1, 2022.1.0b2, 2022.1.0b3, 2022.1.0b4, 2022.1.0, 2022.1.1, 2022.1.2, 2022.1.3, 2022.1.4, 2022.2.0b1, 2022.2.0b2, 2022.2.0b3, 2022.2.0, 2022.2.1, 2022.2.2, 2022.2.3, 2022.2.4, 2022.2.5, 2022.2.6)
No matching distribution found for esphome==2022.6.3
2022-09-18 22:22:35,697 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
2022-09-18 22:22:35,715 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 49, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome': '/opt/fhem/.local/bin/esphome'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/esphome/esphome.py", line 60, in start_process
self.proc = subprocess.Popen(self._esphomeargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'esphome': 'esphome'
musste es etwas einkürzen am Anfang, hat nicht in den "Code" Tag gepasst.
Ah, du hast Python 3.7. esphome erfordert mittlerweile Python 3.8 oder höher.
Mach bitte ein Update auf bullseye, dann hast du Python 3.9 im Standard. Ein manuelles Update auf Python 3.9 empfehle ich nicht, das macht meistens nur Probleme.
also deine Antworten sind ja super schnell :-) Danke dafür.
das mit dem Python hat mich schon einen Tag gekostet weil ich noch das strech hatte und das manuelle Python update versuchte (wie du schon sagst, nicht zu empfehlen). :o :o :o
dann kümmere ich mich mal um das bullseye und werde mich wieder melden.
Vielen Dank soweit. ;-)
Guten Tag,
du hattest natürlich recht. es lag an der Python Version. Nachdem ich Bullseye drauf hatte (gingen 1000 andere dinge nicht mehr ::) -> laufen jetzt aber auch wieder) funktionierte es dann wie in deiner Anleitung beschrieben. :D
Der Hinweis im Git auf die benötigte Version:
Python >=3.7 is required, Python 2 won't work!
könnte dann auf die Version 3.8 angepasst werden.
Ich Danke dir für deine Tolle Arbeit und schnelle Hilfe.
eigentlich hat bei der Installation alles prima geklappt, und normaler weise stelle ich mich auch nicht ganz blöd an.
Nur heute stehe ich auf dem Schlauch. Wie gesagt, Installation OK, nur: auf dem Port 6052 läuft nichts.
Was kann ich übersehen haben?
Doch zu blöd angestellt: man sollte dann als nächsten Schritt schon ein esphome device anlegen! ::)
Hallo zusammen,
ich wollte mich auch mit ESPHome beschäftigen. Da pybinding und fhempy bereits installiert waren, habe ich nur ein
define esp_home fhempy esphome
abgesetzt.
auch nach mehreren Neustarts des pybinding und fhem steht im State: Installation finished. Please wait...
Hier das fhempy-log:
2023-02-20 16:31:01,627 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.599...
2023-02-20 16:31:01,631 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2023-02-20 16:31:01,664 - INFO - websockets.server: server listening on 0.0.0.0:15733
2023-02-20 16:31:10,911 - INFO - websockets.server: connection open
2023-02-20 16:31:10,912 - INFO - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2023-02-20 16:31:11,825 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.12.5
2023-02-20 16:31:55,357 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.12.5: ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmpmjfwpuya_in_process.py build_wheel /tmp/tmpvuv6uf7w
cwd: /tmp/pip-install-ql785n9g/cryptography_d2b4bba3e045471ea95b4c92c4787556
Complete output (190 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat
creating build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '*' found under directory 'vectors'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'ci-constraints-requirements.txt'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'mypy.ini'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
adding license file 'LICENSE.PSF'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
/tmp/pip-build-env-jntldi2o/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
running build_ext
running build_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation/ for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq/
4) Ensure you have a recent Rust toolchain installed:
https://cryptography.io/en/latest/installation/#rust
Python: 3.9.2
platform: Linux-5.15.84-v7l+-armv7l-with-glibc2.31
pip: n/a
setuptools: 67.3.2
setuptools_rust: 1.5.2
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.48.0.
----------------------------------------
ERROR: Failed building wheel for cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
2023-02-20 16:31:55,359 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.12.5
2023-02-20 16:32:38,619 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.12.5: ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmpcq1g43aq_in_process.py build_wheel /tmp/tmpyp5c0bih
cwd: /tmp/pip-install-rlp4lnay/cryptography_dbdc4ce061b44c858635fdd82113e968
Complete output (190 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat
creating build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '*' found under directory 'vectors'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'ci-constraints-requirements.txt'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'mypy.ini'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
adding license file 'LICENSE.PSF'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
/tmp/pip-build-env-rser_0ds/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
running build_ext
running build_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation/ for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq/
4) Ensure you have a recent Rust toolchain installed:
https://cryptography.io/en/latest/installation/#rust
Python: 3.9.2
platform: Linux-5.15.84-v7l+-armv7l-with-glibc2.31
pip: n/a
setuptools: 67.3.2
setuptools_rust: 1.5.2
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.48.0.
----------------------------------------
ERROR: Failed building wheel for cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
2023-02-20 16:32:38,620 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2022.12.5
2023-02-20 16:33:21,821 - ERROR - fhempy.lib.pkg_installer: Unable to install package esphome==2022.12.5: ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmp_34czr0u_in_process.py build_wheel /tmp/tmpsbv8mkut
cwd: /tmp/pip-install-jisodz73/cryptography_068cf664b8244cdb8c8fd6e686df91e7
Complete output (190 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat
creating build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '*' found under directory 'vectors'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'ci-constraints-requirements.txt'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'mypy.ini'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
adding license file 'LICENSE.PSF'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
/tmp/pip-build-env-3onb0ep1/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
running build_ext
running build_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation/ for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq/
4) Ensure you have a recent Rust toolchain installed:
https://cryptography.io/en/latest/installation/#rust
Python: 3.9.2
platform: Linux-5.15.84-v7l+-armv7l-with-glibc2.31
pip: n/a
setuptools: 67.3.2
setuptools_rust: 1.5.2
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.48.0.
----------------------------------------
ERROR: Failed building wheel for cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
2023-02-20 16:33:24,941 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/esphome/esphome.py", line 50, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome'
2023-02-20 16:33:24,965 - ERROR - esp_home: Failed to execute esphome
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/esphome/esphome.py", line 50, in start_process
self.proc = subprocess.Popen(self._esphomeargs, env=my_env)
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/fhem/.local/bin/esphome'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.9/site-packages/fhempy/lib/esphome/esphome.py", line 61, in start_process
self.proc = subprocess.Popen(self._esphomeargs)
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'esphome'
Was muss ich tun?
Grüße
Rainer
Das ist die cryptography Abhängigkeit die Probleme macht. Versuch mal...
sudo -u fhem bash
pip3 install --upgrade pip
pip3 install cryptography
Hier bleibe ich jetzt genauso wie Rainer hängen.
Zitat von: dominik am 20 Februar 2023, 20:15:09
Das ist die cryptography Abhängigkeit die Probleme macht. Versuch mal...
sudo -u fhem bash
pip3 install --upgrade pip
pip3 install cryptography
Beim manuellen Installieren von cryptography bekomme ich die gleiche Fehlermeldung ... ???
Stefan
ZitatBeim manuellen Installieren von cryptography bekomme ich die gleiche Fehlermeldung ...
Desgleichen bei mir
Grüße
Rainer
Ich hatte dazu schon mal einen Bug Report eröffnet, siehe hier:
https://github.com/pyca/cryptography/issues/7636
Da gibt's auch ein paar Lösungsideen.
ZitatIch hatte dazu schon mal einen Bug Report eröffnet, siehe hier:
Sorry, das ist mir zu hoch. Ich muss ESPHome nicht unbedingt in fhem haben, bin daher raus.
Trotzdem Danke!
Grüße
Raner
Funktioniert denn esphome bei dir überhaupt? Würde mich wundern, weil die Installation mit fhempy die gleiche ist, wie die normale.
Ich habe da so einen Verdacht!
Zitat von: dominik am 20 Februar 2023, 23:39:29
Funktioniert denn esphome bei dir überhaupt? Würde mich wundern, weil die Installation mit fhempy die gleiche ist, wie die normale.
Angeschoben durch diese Frage habe ich heute versucht auf einem neu aufgesetzten System esphome von der Kommandozeile aus zu installieren.
Das hat "zwar" geklappt, aber nicht auf dem System auf dem ich gestern mit fhempy experimentiert habe. Wie gesagt, jeweils ein neues System (bullseye ohne fhem) und nur esphome über die Kommandozeile installiert.
Fazit: auf einem 32 Bit System (Banana M2 Zero) scheitere ich eben wieder an cryptography.
Auf einem 64 Bit System (Raspi 3B+) komme ich mit der Installation sauber durch.
Daher mein Verdacht: einige der notwendigen Pakete werden für 32 Bit Systeme nicht mehr gepflegt. Damit bin ich letzten Sommer schon beim Aufsetzen einer Zigbee2MQTT Bridge gescheitert die auch erst auf dem 3B+ zu installieren war.
Nächste Schritte bei mir: auf dem 3B+ wieder eine fhem Instanz installieren mit der ich dann auch über esphome Sensoren integrieren kann.
Stefan
Hallo,
bei mir läuft fhem auf einer vm (proxmox) unter debian.
bis jetzt unter debian 11, hab heute ein upgrade auf debian 12 gemacht.
ich nutze seit recht langer zeit esphome mit fhempy und habe schon etliche devices am laufen. mich begeistert das ziemlich, weil es mir das doch ein wenig mühsame selberschreiben der sketches erspart.
jedenfalls hab ich jetzt debian auf 12 gehoben und jetzt läuft dieses esphome-dashboard auf port 6052 nicht mehr.
es läuft zwar fhempy:
pula@fhem:~$ ps aux | grep fhempy
pula 3588 0.2 0.1 20204 12472 pts/0 S 20:26 0:00 python3 FHEM/bindings/python/bin/fhempy --local
aber im fhem-log sehe ich folgendes:
2023.09.26 20:23:10 1: fhempy_local: Can't connect to ws:127.0.0.1:15733: 127.0.0.1: Connection refused (111)
2023.09.26 20:23:10 1: BindingsIo (fhempy_local): ERROR during connection setup: 127.0.0.1: Connection refused (111)
und laut netstat hört tatsächlich nichts auf port 15733.
soweit ich das jetzt im kopf habe, laufen python-sachen ab debian 12 in virtenvs. im fhempy log sehe ich jetzt folgendes:
Traceback (most recent call last):
File "/opt/fhem/FHEM/bindings/python/bin/fhempy", line 139, in <module>
import fhempy.lib.fhem_pythonbinding as fpb
ModuleNotFoundError: No module named 'fhempy'
2023-09-26 20:33:04,768 - INFO - __main__: Attempting install of fhempy>=0.1.462
2023-09-26 20:33:05,272 - ERROR - __main__: Unable to install package fhempy>=0.1.462: error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
2023-09-26 20:33:05,273 - ERROR - __main__: Failed to install fhempy, exit now...
ich bin jetzt absolut kein experte für diese virtuellen environments. leider.
weiss jemand, wie man fhempy mit virtenv wieder zum laufen bekommt?
wenn ich bei pip den parameter --break-system-packages verwende, tuts auch nicht, weil:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
fhempy 0.1.665 requires zeroconf==0.64.1, but you have zeroconf 0.80.0 which is incompatible.
aber fhempy will genau die version 0.64.1 von zeroconf. zum haare raufen...
werde vorerst wieder auf debian 11 zurücksteigen (hab zum glück einen snapshot gemacht).
wenn das schon jemand gemacht hat und rat weiss, wäre ich dankbar...
mein hauptgrund für das upgrade ist, daß in debian 11 irgendwie der bluetooth-stack gebrochen ist anscheinend und ich einen usb-dongle für die anwesenheitserkennung nutze. das funktioniert unter debian 12 wieder. aber fhempy/esphome nicht. notfalls kann man das natürlich verschmerzen (indem man die anwesenheitserkennung zb auf eine andere vm auslagert). aber ich würde trotzdem gern mein fhem-system möglichst aktuell halten....
Cheers,
Pula
Hat noch niemand fhem/fhempy unter debian 12 laufen? :-(
Ich verwende einen Raspi4 mit 64 Bit RaspiOS und habe das gleich Problem:
FileNotFoundError: [Errno 2] No such file or directory: 'esphome_config/'
Aber bei mir kann ich cryptography installieren
[codefhem@raspi4b:/home/pi$ pip3 install --break-system-packages cryptography
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (38.0.4)
]
Ich habe auch die fehlenden Pfade mal angelegt und auch die Recht auf fhem:dialout gesetzt
Python ist bei mit 3.11. und ich bekomme in FHEM auch keine Fehlermeldung
So langsam weiss ich nicht mehr weiter
Die Ursache des Problems ist mir klar. Seit debian 12 ist es für python nötig, jeweils ein eigenes environment anzulegen, das ist nicht mehr systemweit.
Aber wie das zu lösen ist, konnte ich noch nicht rausfinden, bin wieder auf debian 11 zurück gestiegen...
Cheers,
Pula
Aber man kann das Systemweite doch mit --break-system-packages erweitern.
Das scheint dann auch zu funktionieren.
Mir ist allerdings nicht klar, wie man bei einem Aufruf eines python programms aus der Shell
#
!/usr/bin/python3
# -*- coding:utf-8 -*-
da dann ein eigenes environment mit einbindet?
Oder könnte man das irgendwie an den user fhem binden?
Hallo.
Habt Ihr diese Posts/ Issues schon gesehen?
https://forum.fhem.de/index.php?topic=127441.msg1292459#msg1292459
https://github.com/fhempy/fhempy/issues/218
https://github.com/fhempy/fhempy/issues/248
https://github.com/fhempy/fhempy#attention-122023
Hab selber keine Ahnung von, aber vielleicht hilft Euch da trotzdem was weiter. Oder im Zweifel ein neues Issue im Repository aufmachen, weil der Entwickler vielleicht eher dort schaut, als hier im Forum.
Viel Erfolg :)
rob
Zitat von: Elektronikus am 04 Januar 2024, 10:04:08Aber man kann das Systemweite doch mit --break-system-packages erweitern.
Das scheint dann auch zu funktionieren.
Mir ist allerdings nicht klar, wie man bei einem Aufruf eines python programms aus der Shell
#
!/usr/bin/python3
# -*- coding:utf-8 -*-
da dann ein eigenes environment mit einbindet?
Oder könnte man das irgendwie an den user fhem binden?
Normalerweise funktioniert das so, daß man ein environment erstellt. Das legt dann eine Verzeichnis-Struktur an unterhalb des home-Verzeichnisses des jeweiligen users.
Wenn man dann ein Skript in diesem env aufrufen möchte, ruft man nicht mehr /usr/bin/python3 auf, sondern ein python, das innerhalb dieser Verzeichnis-Struktur liegt.
Aber mit fhem hab ich das bisher noch nicht gemacht. Ein python-skript aufzurufen, sollte damit eigentlich kein Problem sein.
Aber fhempy innerhalb eines env laufen zu lassen - dafür fehlt mir das Wissen um fhempy.
Cheers,
Pula
Hi Dominik,
auch bei mir kommt die Fehlermeldung
Firefox kann keine Verbindung zu dem Server unter 127.0.1.1:6052 aufbauen.
Direkter Aufruf per FF ergibt auch keine Verbindung.
Ich bin etwas ratlos, deshalb auch hier die fhempy.log. FHEM läuft auf Ubuntu 22.04.4 LTS, nicht Debian
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
Creating fhempy virtual environment...OK
Activating virtual environment...OK
2024-07-20 12:34:45,462 - ERROR - __main__: Failed to load fhempy
Traceback (most recent call last):
File "/opt/fhem/FHEM/bindings/python/bin/start_fhempy.py", line 141, in <module>
import fhempy.lib.fhem_pythonbinding as fpb
ModuleNotFoundError: No module named 'fhempy'
2024-07-20 12:34:45,463 - INFO - __main__: Attempting install of fhempy>=0.1.462
2024-07-20 12:35:14,787 - INFO - __main__: Successfully installed fhempy>=0.1.462
2024-07-20 12:35:15,271 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.742...
2024-07-20 12:35:15,272 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2024-07-20 12:35:15,291 - INFO - websockets.server: server listening on 0.0.0.0:15733
2024-07-20 12:35:21,610 - INFO - websockets.server: connection open
2024-07-20 12:35:21,611 - INFO - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2024-07-20 12:36:36,206 - INFO - fhempy.lib.pkg_installer: Attempting install of esphome==2024.4.2
2024-07-20 12:38:25,399 - INFO - fhempy.lib.pkg_installer: Successfully installed esphome==2024.4.2 update!
2024-07-20 12:38:28,965 INFO Starting dashboard web server on http://0.0.0.0:6052 and configuration dir esphome_config/...
Traceback (most recent call last):
File "/opt/fhem/.fhempy/fhempy_venv/bin/esphome", line 8, in <module>
sys.exit(main())
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/__main__.py", line 1061, in main
return run_esphome(sys.argv)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/__main__.py", line 1024, in run_esphome
return PRE_CONFIG_ACTIONS[args.command](args)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/__main__.py", line 538, in command_dashboard
return dashboard.start_dashboard(args)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/dashboard.py", line 129, in start_dashboard
asyncio.run(async_start(args))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/dashboard.py", line 150, in async_start
await dashboard.async_run()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/core.py", line 104, in async_run
await self.entries.async_update_entries()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/entries.py", line 144, in async_update_entries
await self._async_update_entries()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/entries.py", line 163, in _async_update_entries
path_to_cache_key = await self._loop.run_in_executor(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/entries.py", line 220, in _get_path_to_cache_key
for file in util.list_yaml_files([self._config_dir]):
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/util.py", line 266, in list_yaml_files
[os.path.join(folder, p) for folder in folders for p in os.listdir(folder)]
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/util.py", line 266, in <listcomp>
[os.path.join(folder, p) for folder in folders for p in os.listdir(folder)]
FileNotFoundError: [Errno 2] No such file or directory: 'esphome_config/'
2024-07-20 12:40:53,755 - INFO - fhempy.lib.fhem_pythonbinding: Restart initiated...
2024-07-20 12:40:56,768 - INFO - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
2024-07-20 12:40:56,769 - INFO - websockets.server: server closing
2024-07-20 12:41:06,773 - INFO - websockets.server: connection closed
2024-07-20 12:41:06,773 - INFO - websockets.server: server closed
2024-07-20 12:41:06,776 - INFO - fhempy.lib.fhem_pythonbinding: Exit 1
Activating virtual environment...OK
2024-07-20 12:41:07,357 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.742...
2024-07-20 12:41:07,357 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2024-07-20 12:41:07,376 - INFO - websockets.server: server listening on 0.0.0.0:15733
2024-07-20 12:41:16,796 - INFO - websockets.server: connection open
2024-07-20 12:41:16,796 - INFO - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2024-07-20 12:41:17,299 INFO Starting dashboard web server on http://0.0.0.0:6052 and configuration dir esphome_config/...
Traceback (most recent call last):
File "/opt/fhem/.fhempy/fhempy_venv/bin/esphome", line 8, in <module>
sys.exit(main())
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/__main__.py", line 1061, in main
return run_esphome(sys.argv)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/__main__.py", line 1024, in run_esphome
return PRE_CONFIG_ACTIONS[args.command](args)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/__main__.py", line 538, in command_dashboard
return dashboard.start_dashboard(args)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/dashboard.py", line 129, in start_dashboard
asyncio.run(async_start(args))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/dashboard.py", line 150, in async_start
await dashboard.async_run()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/core.py", line 104, in async_run
await self.entries.async_update_entries()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/entries.py", line 144, in async_update_entries
await self._async_update_entries()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/entries.py", line 163, in _async_update_entries
path_to_cache_key = await self._loop.run_in_executor(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/entries.py", line 220, in _get_path_to_cache_key
for file in util.list_yaml_files([self._config_dir]):
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/util.py", line 266, in list_yaml_files
[os.path.join(folder, p) for folder in folders for p in os.listdir(folder)]
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/util.py", line 266, in <listcomp>
[os.path.join(folder, p) for folder in folders for p in os.listdir(folder)]
FileNotFoundError: [Errno 2] No such file or directory: 'esphome_config/'
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
Activating virtual environment...OK
2024-07-20 12:48:25,522 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.742...
2024-07-20 12:48:25,522 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2024-07-20 12:48:25,541 - INFO - websockets.server: server listening on 0.0.0.0:15733
2024-07-20 12:48:27,957 - INFO - websockets.server: connection open
2024-07-20 12:48:27,957 - INFO - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2024-07-20 12:49:08,633 INFO Starting dashboard web server on http://0.0.0.0:6052 and configuration dir esphome_config/...
Traceback (most recent call last):
File "/opt/fhem/.fhempy/fhempy_venv/bin/esphome", line 8, in <module>
sys.exit(main())
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/__main__.py", line 1061, in main
return run_esphome(sys.argv)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/__main__.py", line 1024, in run_esphome
return PRE_CONFIG_ACTIONS[args.command](args)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/__main__.py", line 538, in command_dashboard
return dashboard.start_dashboard(args)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/dashboard.py", line 129, in start_dashboard
asyncio.run(async_start(args))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/dashboard.py", line 150, in async_start
await dashboard.async_run()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/core.py", line 104, in async_run
await self.entries.async_update_entries()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/entries.py", line 144, in async_update_entries
await self._async_update_entries()
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/entries.py", line 163, in _async_update_entries
path_to_cache_key = await self._loop.run_in_executor(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/dashboard/entries.py", line 220, in _get_path_to_cache_key
for file in util.list_yaml_files([self._config_dir]):
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/util.py", line 266, in list_yaml_files
[os.path.join(folder, p) for folder in folders for p in os.listdir(folder)]
File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.10/site-packages/esphome/util.py", line 266, in <listcomp>
[os.path.join(folder, p) for folder in folders for p in os.listdir(folder)]
FileNotFoundError: [Errno 2] No such file or directory: 'esphome_config/'
Edit: den als fehlend bezeichneten Ordner "esphome_config" gibt es tatsächlich nicht. Aber auch nach manuellem Erstellen bleibt der Fehler, trotz Neustart des Moduls
Hallo Dominik,
ich habe ein virtuelles environment mit der Bezeichnung uhr
In einem Shell Script kann das Environment über den Aufruf
/home/pi/.virtualenvs/uhr/bin/python -u /home/pi/uhr.py
gleich mit aktivieren.
Ich hoffe, das hilft.
Viele Grüße