Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Cryptography Modul Updaten

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Cryptography Modul Updaten

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maxpd last edited by

      Hi,

      ich wollte den ESP Adapter Installieren, scheitere aber an den Abhängigkeiten des Cryptography Moduls.
      Gibt es eine Möglichkeit dieses gesondert oder mit Python upzudaten?

      $ iobroker url https://github.com/DrozmotiX/ioBroker.esphome.git --host iobroker
      
      install DrozmotiX/ioBroker.esphome#86201d5e87abede6071e84b38299bb72f699fef0
      
      NPM version: 6.14.15
      
      Installing DrozmotiX/ioBroker.esphome#86201d5e87abede6071e84b38299bb72f699fef0... (System call)
      
      > iobroker.esphome@0.2.4 install /opt/iobroker/node_modules/iobroker.esphome> npip install
      
      No python_modules directory; installing pip locally if needed.
      
      Successfully completed pip check.
      
      Collecting esphome>=2021.8
      
      Using cached esphome-2022.2.6-py2.py3-none-any.whl (2.1 MB)
      
      Collecting tornado>=3.2
      
      Using cached tornado-6.1.tar.gz (497 kB)
      
      Preparing metadata (setup.py): started
      
      Preparing metadata (setup.py): finished with status 'done'
      
      Collecting colorama==0.4.4
      
      Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
      
      Collecting click==8.0.3
      
      Using cached click-8.0.3-py3-none-any.whl (97 kB)
      
      Collecting esphome-dashboard==20220209.0
      
      Using cached esphome_dashboard-20220209.0-py3-none-any.whl (592 kB)
      
      Collecting paho-mqtt==1.6.1
      
      Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
      
      Preparing metadata (setup.py): started
      
      Preparing metadata (setup.py): finished with status 'done'
      
      Collecting aioesphomeapi==10.8.2
      
      Using cached aioesphomeapi-10.8.2-py2.py3-none-any.whl (49 kB)
      
      Collecting zeroconf==0.38.3
      
      Using cached zeroconf-0.38.3-py3-none-any.whl (106 kB)
      
      Collecting tzdata>=2021.1
      
      Using cached tzdata-2021.5-py2.py3-none-any.whl (339 kB)
      
      Collecting voluptuous==0.12.2
      
      Using cached voluptuous-0.12.2.tar.gz (48 kB)
      
      Preparing metadata (setup.py): started
      
      Preparing metadata (setup.py): finished with status 'done'
      
      Collecting esptool==3.2
      
      Using cached esptool-3.2.tar.gz (206 kB)
      
      Preparing metadata (setup.py): started
      
      Preparing metadata (setup.py): finished with status 'done'
      
      Collecting kconfiglib==13.7.1
      
      Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
      
      Collecting PyYAML==6.0
      
      Using cached PyYAML-6.0.tar.gz (124 kB)
      
      Installing build dependencies: started
      
      Installing build dependencies: finished with status 'done'
      
      Getting requirements to build wheel: started
      
      Getting requirements to build wheel: finished with status 'done'
      
      Preparing metadata (pyproject.toml): started
      
      Preparing metadata (pyproject.toml): finished with status 'done'
      
      Collecting platformio==5.2.5
      
      Using cached platformio-5.2.5.tar.gz (218 kB)
      
      Preparing metadata (setup.py): started
      
      Preparing metadata (setup.py): finished with status 'done'
      
      Collecting pyserial==3.5
      
      Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
      
      Collecting tzlocal==4.1
      
      Using cached tzlocal-4.1-py3-none-any.whl (19 kB)
      
      Collecting protobuf<4.0,>=3.12.2
      
      Using cached protobuf-3.19.4-py2.py3-none-any.whl (162 kB)
      
      Collecting noiseprotocol<1.0,>=0.3.1
      
      Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)
      
      Collecting importlib-metadata
      
      Using cached importlib_metadata-4.11.2-py3-none-any.whl (17 kB)
      
      Collecting bitstring>=3.1.6
      
      Using cached bitstring-3.1.9-py3-none-any.whl (38 kB)
      
      Collecting cryptography>=2.1.4
      
      Using cached cryptography-36.0.1.tar.gz (572 kB)
      
      Installing build dependencies: started
      
      Installing build dependencies: finished with status 'error'
      
      host.iobroker Cannot install DrozmotiX/ioBroker.esphome#86201d5e87abede6071e84b38299bb72f699fef0: 1
      
      ERROR: Process exited with code 25`
      

      Python Version is 3.7
      NodeJS 14.18

      Bisher durchgeführt:

      sudo apt update
      iobroker upgrade
      iobroker upgrade self

      Soll ich auch mal folgendes probieren? Oder mach ich mir dann was kaputt?

      sudo apt-get python3-pil
      sudo apt-get install python3-pil.imagetk
      sudo apt-get install libopenjp2-7-dev

      Gruß
      maxpd

      AlCalzone 1 Reply Last reply Reply Quote 0
      • AlCalzone
        AlCalzone Developer @maxpd last edited by

        @Dutchman

        M 1 Reply Last reply Reply Quote 0
        • M
          maxpd @AlCalzone last edited by

          @alcalzone Dutchman weiß schon Bescheid 😉 hab im github ein Issue dazu auf. Aber ich weiß dass er sehr busy ist und wollte das Schwarmwissen mal befragen, da hier superviel fähige Leute sind, die natürlich nicht in jeden github Adapter schauen um issues zu prüfen.

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @maxpd last edited by Thomas Braun

            @maxpd

            Die Version aus dem Repo wird hier sauber installiert:

            2022-03-11 10:00:34.338  - info: host.chet iobroker add esphome auto --host chet
            2022-03-11 10:00:37.910  - info: host.chet iobroker NPM version: 8.5.2
            2022-03-11 10:00:37.914  - info: host.chet iobroker Installing iobroker.esphome@0.2.4... (System call)
            2022-03-11 10:03:29.158  - info: host.chet iobroker
            2022-03-11 10:03:29.160  - info: host.chet iobroker added 82 packages in 3m
            2022-03-11 10:03:29.161  - info: host.chet iobroker 64 packages are looking for funding
            2022-03-11 10:03:29.163  - info: host.chet iobroker   run `npm fund` for details
            2022-03-11 10:03:29.221  - info: host.chet iobroker host.chet install adapter esphome
            2022-03-11 10:03:29.275  - info: host.chet iobroker upload [5] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/admin.d.ts admin.d.ts video/mp2t
            2022-03-11 10:03:29.342  - info: host.chet iobroker upload [4] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/esphome.png esphome.png image/png
            2022-03-11 10:03:29.355  - info: host.chet iobroker upload [3] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/img/dashboard.png img/dashboard.png image/png
            2022-03-11 10:03:29.379  - info: host.chet iobroker upload [2] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/index_m.html index_m.html text/html
            2022-03-11 10:03:29.392  - info: host.chet iobroker upload [1] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/style.css style.css text/css
            2022-03-11 10:03:29.404  - info: host.chet iobroker upload [0] esphome.admin /opt/iobroker/node_modules/iobroker.esphome/admin/words.js words.js application/javascript
            2022-03-11 10:03:29.537  - info: host.chet iobroker host.chet object system.adapter.esphome created/updated
            2022-03-11 10:03:29.615  - info: host.chet iobroker host.chet create instance esphome
            2022-03-11 10:03:29.637  - info: host.chet iobroker host.chet object system.adapter.esphome.0.alive created
            2022-03-11 10:03:29.655  - info: host.chet iobroker host.chet object system.adapter.esphome.0.connected created
            2022-03-11 10:03:29.669  - info: host.chet iobroker host.chet object system.adapter.esphome.0.compactMode created
            2022-03-11 10:03:29.682  - info: host.chet iobroker host.chet object system.adapter.esphome.0.cpu created
            2022-03-11 10:03:29.695  - info: host.chet iobroker host.chet object system.adapter.esphome.0.cputime created
            2022-03-11 10:03:29.712  - info: host.chet iobroker host.chet object system.adapter.esphome.0.memHeapUsed created
            2022-03-11 10:03:29.730  - info: host.chet iobroker host.chet object system.adapter.esphome.0.memHeapTotal created
            2022-03-11 10:03:29.745  - info: host.chet iobroker host.chet object system.adapter.esphome.0.memRss created
            2022-03-11 10:03:29.761  - info: host.chet iobroker host.chet object system.adapter.esphome.0.uptime created
            2022-03-11 10:03:29.773  - info: host.chet iobroker host.chet object system.adapter.esphome.0.inputCount created
            2022-03-11 10:03:29.786  - info: host.chet iobroker host.chet object system.adapter.esphome.0.outputCount created
            2022-03-11 10:03:29.798  - info: host.chet iobroker host.chet object system.adapter.esphome.0.eventLoopLag created
            2022-03-11 10:03:29.810  - info: host.chet iobroker host.chet object system.adapter.esphome.0.sigKill created
            2022-03-11 10:03:29.823  - info: host.chet iobroker host.chet object system.adapter.esphome.0.logLevel created
            2022-03-11 10:03:29.832  - info: host.chet iobroker host.chet object esphome.0.info created
            2022-03-11 10:03:29.844  - info: host.chet iobroker host.chet object esphome.0.info.connection created
            2022-03-11 10:03:29.850  - info: host.chet iobroker host.chet Set default value of esphome.0.info.connection: false
            2022-03-11 10:03:29.868  - info: host.chet iobroker host.chet object system.adapter.esphome.0 created
            2022-03-11 10:03:30.900  - info: host.chet iobroker exit 0
            2022-03-11 10:03:33.017  - info: host.chet instance system.adapter.esphome.0 started with pid 30887
            2022-03-11 10:03:34.922  - info: esphome.0 (30887) starting. Version 0.2.4 in /opt/iobroker/node_modules/iobroker.esphome, node: v17.7.0, js-controller: 4.0.19
            2022-03-11 10:03:35.005  - info: esphome.0 (30887) Auto Discovery startet, new devices (or IP changes) will be detected automatically
            2022-03-11 10:03:35.011  - info: esphome.0 (30887) Native Integration of ESPHome Dashboard enabled
            2022-03-11 10:03:36.814  - info: esphome.0 (30887) [ESPHome - Console] 2022-03-11 10:03:36,812 INFO Starting dashboard web server on http://0.0.0.0:6052 and configuration dir /opt/iobroker/iobroker-data/esphome.0...
            
            esphome
            github:	0.2.4
            latest:	0.2.4 for 6 months
            stable:	-.-.-
            
            1 Reply Last reply Reply Quote 0
            • M
              maxpd last edited by maxpd

              deleted.

              M 1 Reply Last reply Reply Quote 0
              • M
                maxpd @maxpd last edited by

                @Thomas-Braun wie meinst du das?

                Ich habe es über npm und github versucht. Die Ausgabe ist immer die gleiche.

                Dutchman 1 Reply Last reply Reply Quote 0
                • Dutchman
                  Dutchman Developer Most Active Administrators @maxpd last edited by Dutchman

                  @maxpd sagte in Cryptography Modul Updaten:

                  @Thomas-Braun wie meinst du das?

                  Ich habe es über npm und github versucht. Die Ausgabe ist immer die gleiche.

                  habe das issue gesehen stimmt aber selber auch. noch keie Lösung gesehen 🙂
                  Habe local meter vers the durchgespielt und bei jedem wird es sauber installiert ich vermute dan auch irgend einen Fehler in der python/pip Installation (was immer so ne schwierige Sache ist in der analyse da es nix mit dem adapter selber oder NodeJS zu tun hat :/)

                  @maxpd sagte in Cryptography Modul Updaten:

                  Python Version is 3.7
                  NodeJS 14.18

                  Passt !

                  @maxpd sagte in Cryptography Modul Updaten:

                  sudo apt update
                  iobroker upgrade
                  iobroker upgrade self

                  hier fehlt sudo apt upgrade? hast du das ausgefuert ? (apt update erneuert nur den cache, upgrade macht system updates)

                  @maxpd sagte in Cryptography Modul Updaten:

                  Soll ich auch mal folgendes probieren? Oder mach ich mir dann was kaputt?
                  sudo apt-get python3-pil
                  sudo apt-get install python3-pil.imagetk
                  sudo apt-get install libopenjp2-7-dev

                  sollte unnötig sein da pip die python Abhängigkeiten selber installiert

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    maxpd @Dutchman last edited by

                    @dutchman

                    Danke. Den Befehl habe ich nun auch ausgeführt. Aber der Fehler bleibt schlussendlich der gleiche.

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @maxpd last edited by

                      @maxpd

                      sudo apt update
                      apt policy python3 python3-pip
                      

                      Vollständige Ein- wie Ausgaben in CodeTags setzen.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        maxpd @Thomas Braun last edited by

                        @thomas-braun

                        pi@iobroker:~ $ sudo apt update
                        Holen:1 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
                        Holen:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
                        OK:3 https://deb.nodesource.com/node_14.x buster InRelease
                        OK:4 https://www.pivccu.de/piVCCU stable InRelease
                        Holen:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13,0 MB]
                        Holen:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB]
                        Es wurden 13,5 MB in 9 s geholt (1.476 kB/s).
                        Paketlisten werden gelesen... Fertig
                        Abhängigkeitsbaum wird aufgebaut.
                        Statusinformationen werden eingelesen.... Fertig
                        Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                        
                        
                        pi@iobroker:~ $ apt policy python3 python3-pip
                        python3:
                          Installiert:           3.7.3-1
                          Installationskandidat: 3.7.3-1
                          Versionstabelle:
                         *** 3.7.3-1 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                100 /var/lib/dpkg/status
                        python3-pip:
                          Installiert:           (keine)
                          Installationskandidat: 18.1-5+rpt1
                          Versionstabelle:
                             18.1-5+rpt1 500
                                500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                             18.1-5 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                        
                        
                        M 1 Reply Last reply Reply Quote 0
                        • M
                          maxpd @maxpd last edited by

                          @Thomas-Braun ist das das was du sehen wolltest?

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @maxpd last edited by

                            @maxpd
                            Ja.
                            Sieht aber gut aus.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              maxpd @Thomas Braun last edited by

                              @thomas-braun wie kann ich Python mal auf die aktuellste 3er Version updaten? hab gesehen, da gibt es auch eine 3.8.
                              oder mach ich mir dann aktuell laufende Adapter kaputt?

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @maxpd last edited by

                                @maxpd

                                3.10 ist das aktuelle upstream release vom Project.
                                Debian Bullseye hat 3.9 dabei.
                                Dein Buster hat 3.7. dabei.

                                Das würde ich auch nicht singulär updaten.

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  maxpd @Thomas Braun last edited by

                                  @thomas-braun ok, dann bleib ich von @Dutchman oder einem zukünftigen esp release abhängig, weil andere Ideen habe ich keine

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @maxpd last edited by

                                    @maxpd

                                    Du kannst ja die 'große Lösung' mal andenken. Upgrade auf 'Bullseye'. Das Thema steht dir eh in nächster Zeit ins Haus. Buster erreicht bald sein End-of-Life.

                                    M 1 Reply Last reply Reply Quote 1
                                    • M
                                      maxpd @Thomas Braun last edited by maxpd

                                      @thomas-braun

                                      Ich wollte nach dieser Anleitung

                                      https://schroederdennis.de/tutorial-howto/debian-10-buster-auf-debian-11-bullseye-linux-updaten-anleitung/

                                      vorgehen, habe aber ein Problem mit den Schreibrechten:

                                      0c44f046-3352-4541-8619-88703f8a8120-image.png

                                      Natürlich ist WinSCP auch nicht der saubere Weg die Datei anzupassen, aber mein einziges KnowHow.

                                      Über den vi Editor macht der bei mir nur Quatsch und funktioniert nicht gemäß dieser Anleitung: https://www.strato.de/faq/server/wie-kann-ich-dateien-mit-dem-editor-vi-editieren/

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @maxpd last edited by Thomas Braun

                                        @maxpd

                                        vi ist auch für Einsteiger nicht das geeignete Werkzeug.
                                        Mach es mit nano im Terminal.
                                        Was hast du denn jetzt genau vor?

                                        https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          maxpd @Thomas Braun last edited by maxpd

                                          @thomas-braun ah fantastisch. dann geh ich nach deiner anleitung. merci. hatte hier 2 topics mit anleitungen offen, bin dann aber schlussendlich zu der verlinkten seite gekommen. Dein Topic ist mir nicht untergekommen.

                                          ich update jetzt mal debian von 10 auf 11 und gucke ob dann die abhängigkeiten des esphome adapters ohne probleme gesetzt werden.

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            maxpd @maxpd last edited by maxpd

                                            @Dutchman jetzt steigen wir interessant früh aus:

                                            $ iobroker url DrozmotiX/ioBroker.esphome --host iobroker
                                            
                                            install DrozmotiX/ioBroker.esphome
                                            
                                            NPM version: 6.14.16
                                            
                                            Installing DrozmotiX/ioBroker.esphome... (System call)
                                            
                                            > iobroker.esphome@0.2.4 install /opt/iobroker/node_modules/iobroker.esphome> npip install
                                            
                                            No python_modules directory; installing pip locally if needed.
                                            
                                            host.iobroker Cannot install DrozmotiX/ioBroker.esphome: 1
                                            
                                            ERROR: Process exited with code 25
                                            

                                            gefährlich scheint mir:

                                            pi@iobroker:~ $ python --version
                                            -bash: python: Kommando nicht gefunden.
                                            
                                            

                                            Auch manuell installiert funktioniert es nicht:

                                            pi@iobroker:~ $ python --version
                                            -bash: python: Kommando nicht gefunden.
                                            pi@iobroker:~ $ sudo apt-get install python3-pip
                                            Paketlisten werden gelesen… Fertig
                                            Abhängigkeitsbaum wird aufgebaut… Fertig
                                            Statusinformationen werden eingelesen… Fertig
                                            python3-pip ist schon die neueste Version (20.3.4-4+rpt1).
                                            Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
                                              bsdmainutils g++-8 geoip-database libbind9-161 libbison-dev libcroco3 libdns1104 libdns1110 libevent-2.1-6 libfl2 libgdk-pixbuf2.0-0 libgeoip1 libicu63 libisc1100 libisc1105 libisccc161
                                              libisccfg163 libisl19 libjim0.77 libjsoncpp1 liblwres161 libmpdec2 libncursesw5 libperl5.28 libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal
                                              libpython2.7-stdlib libpython3.7 libpython3.7-minimal libpython3.7-stdlib libstdc++-8-dev libusb-0.1-4 perl-modules-5.28 python2 python2-dev python2-minimal python2.7 python2.7-dev
                                              python2.7-minimal python3.7-minimal rpi-eeprom-images rpi.gpio-common usb.ids
                                            Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
                                            0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                            
                                            
                                            Thomas Braun Dutchman 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            932
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            29
                                            1094
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo