Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [Frage] Xiaomi Vacuum cleaner

NEWS

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    6
    1
    83

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    843

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.4k

[Frage] Xiaomi Vacuum cleaner

Scheduled Pinned Locked Moved ioBroker Allgemein
2.2k Posts 204 Posters 1.0m Views 39 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • bahnuhrB Online
    bahnuhrB Online
    bahnuhr
    Forum Testing Most Active
    wrote on last edited by
    #197

    gst66:

    Teste doch bitte mal, ob es sich ändert, wenn Du ausdrücklich die IP des Robot angibst (mit -ip x.x.x.x).
    

    Ergebnis:
    filename="bild1.jpg" index="0">~~

    Fazit:

    gleicher Fehler wie oben


    Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
    Danke.
    gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
    ScreenToGif :https://www.screentogif.com/downloads.html

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gst666
      wrote on last edited by
      #198

      @bahnuhr:

      @Meistertr:

      ACHTUNG: Wer Nachrichten encodieren will: Habe gerade auf meinem Handy die die Gesendeten Datenpakete nachgeschaut. wo vor wenigen Tagen noch die UDP Nachrichten gesendet wurden, werden nun nur noch verschlüsselte Nachrichten an den xiaomi Server geschickt, ich glaube die haben die UDP verbindung von der App gekappt also nicht die app updaten… Was meinst du denn jetzt?

      Meinst Du die Kommunikation App<->Roboter oder wirklich App<->Xiaomi Server? Soweit ich mir die Kommunikation App<->Xiaomi Server anschauen konnte war die auch früher verschlüsselt. Nicht aber UDP sonder per SSL/HTTP. Da gab es keinen Klartext.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gst666
        wrote on last edited by
        #199

        @Kayle:

        Ja funktioniert. Aber nur wenn ich in der xpn.py die IP Adresse des Saugers manuell eintrage. Mache ich das nicht, startet zwar die xpn.py aber es kommt einfach nichts / hängt sich auf.

        Hier die Ausgabe mit eingetragener IP: … `

        OK, das ist schon mal gut zu wissen. Anscheinend geht unter Windows der Multicast so nicht. Muss mal sehen, ob ich auf einen Windows Rechner das mal aufsetze. Spannend ist auch, warum das Programm nicht per timeout einfach abbricht.

        Prima ist, das -info mit der IP geht. Warum dann der Rest nicht ist komisch. Mal sehen, werde wohl Morgen daran rumbauen. Eigentlich wollte ich ja an der Portierung Javascript arbeiten …

        1 Reply Last reply
        0
        • S Offline
          S Offline
          skorpil
          wrote on last edited by
          #200

          Und um mal eine Bemerkung zur Qualität zu machen: ich habe bisher drei Geräte getestet, eine. Roomba 780, einen Roomba 650 sowie einen LG Hombot. Im Vergleich zu unserem Xiaomi können die alle nix. Der Xiaomi ist denen hinsichtlich Saugleistung, Userfreundlichkeit, Lautstärke und vor allem der Qualität, Technik und Intelligenz haushoch überlegen. Die Chinesen können was!

          Und jetzt müssen wir ihn nur noch "einfach" in den iobroker kriegen!

          So, das war mein Wort zum Sonntag!

          Liebe Grüße

          Bernd

          1 Reply Last reply
          0
          • MeistertrM Offline
            MeistertrM Offline
            Meistertr
            Developer
            wrote on last edited by
            #201

            @gst666:

            Meinst Du die Kommunikation App<->Roboter oder wirklich App<->Xiaomi Server? Soweit ich mir die Kommunikation App<->Xiaomi Server anschauen konnte war die auch früher verschlüsselt. Nicht aber UDP sonder per SSL/HTTP. Da gab es keinen Klartext. `

            ich Dachte eigentlich App –> Roboter aber es wahr ein fehlalarm. Die App hatte kein wlan, deswegen wurden keine udp nachrichten gesendet..

            Leider muss ich mich in sachen überführung in js ergeben. Ich bekomme es einfach nicht hin.. bleibe aber dran..

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gst666
              wrote on last edited by
              #202

              Ich arbeite gerade an der Umsetzung nach Javascript.

              Habe erfahren, dass jemand an einer Python Bibliothek arbeitet. Es gibt also auf jeden Fall Bewegung.

              1 Reply Last reply
              0
              • KnallochseK Offline
                KnallochseK Offline
                Knallochse
                wrote on last edited by
                #203

                Ich kann leider hier nichts zur Entwicklung des Adapters beitragen (keine programmierkenntnisse),

                aber sollte jemand mit dem Gedanken spielen, den Vakuum Cleaner zu kaufen, bei Gearbest mit dem

                Promocode : XMSDJDE gibt es das Teil für 329,63€ incl. Germany Express Transport (ca. 14 Tage)

                HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  e-p-s
                  wrote on last edited by
                  #204

                  @Knallochse:

                  Ich kann leider hier nichts zur Entwicklung des Adapters beitragen (keine programmierkenntnisse),

                  aber sollte jemand mit dem Gedanken spielen, den Vakuum Cleaner zu kaufen, bei Gearbest mit dem

                  Promocode : XMSDJDE gibt es das Teil für 329,63€ incl. Germany Express Transport (ca. 14 Tage) `

                  Bestellt. Ganze Thema durchgelesen. Nichts verstanden :)

                  aber ich bin optimistisch das was passiert.

                  Zumal Bluefox im Youtube Video den Staubi schon per Sprache steuert. Die Tochter ist cool.

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tpr
                    wrote on last edited by
                    #205

                    Das Python-Skript von mir ist jetzt da zu haben: https://github.com/rytilahti/python-mirobo - dank zu gst666 (für krypto) und Meistertr (kommandos). Bis jetzt es ist nur mit meinem Robo gestetet, soweit ist die IP + das Token vorhanden sollte es einfach zu nutzen sein. Wer mehrere Kommandos weiß, bitte Bescheid (am liebsten als github issue) sagen / PR erzeugen. :-)

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      skorpil
                      wrote on last edited by
                      #206

                      Tpr,

                      Danke.

                      Nur kurze Frage: was tut das Skript? Ich, als Laie, brauche da noch etwas Info. Danke!

                      Bernd

                      ///////////////

                      Nachtrag: in den Github Beschreibung ist ja alles drin. Danke. Muss man halt nur jeden. Ich bin ein Dummy

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tpr
                        wrote on last edited by
                        #207

                        @skorpil:

                        Nur kurze Frage: was tut das Skript? Ich, als Laie, brauche da noch etwas Info. Danke! `
                        Es lässt das Gerät einfach vom Terminal betreiben sobald man dieses Token zuvor extrahiert hat, also ist nicht so super Laiefreundlich, ich habe aber ein paar Beispiele hinzugefügt zu zeigen was es jetzt kann: https://github.com/rytilahti/python-mir … e-examples . Zurzeit alle Grundfunktionalität ist schon da außer Fernbedienung (links fahren, rechts fahren usw.), Einstellung von Putzplanungen, u.ä. Kleinigkeiten.

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          skorpil
                          wrote on last edited by
                          #208

                          Den Token und die ip habe ich. Werde ich in den kommenden Tagen testen.

                          Noch eine Frage: wie wäre der prinzipielle Weg, um das Skript über iobroker auszuführen. Den da gibt es ja nur Java Skript. Ich habe auf dem Raspi aber Python und iobroker laufen. Kann ich von iobroker aus über ein Java Skript das Python Skript auslösen?

                          1 Reply Last reply
                          0
                          • T Offline
                            T Offline
                            tpr
                            wrote on last edited by
                            #209

                            @skorpil:

                            Den Token und die ip habe ich. Werde ich in den kommenden Tagen testen.

                            Noch eine Frage: wie wäre der prinzipielle Weg, um das Skript über iobroker auszuführen. Den da gibt es ja nur Java Skript. Ich habe auf dem Raspi aber Python und iobroker laufen. Kann ich von iobroker aus über ein Java Skript das Python Skript auslösen? `
                            gst666 arbeitet dran und mein Skript basiert auf seine Arbeit, wenn ich Du wäre, würde ich auf das iobroker-version warten, ist so einfacher :) leider kann ich nicht damit helfen, da ich kein iobroker benutze.

                            1 Reply Last reply
                            0
                            • bahnuhrB Online
                              bahnuhrB Online
                              bahnuhr
                              Forum Testing Most Active
                              wrote on last edited by
                              #210

                              @tpr

                              ! Es lässt das Gerät einfach vom Terminal betreiben sobald man dieses Token zuvor extrahiert hat, also ist nicht so super Laiefreundlich, ich habe aber ein paar Beispiele hinzugefügt zu zeigen was es jetzt kann: https://github.com/rytilahti/python-mir … e-examples . Zurzeit alle Grundfunktionalität ist schon da außer Fernbedienung (links fahren, rechts fahren usw.), Einstellung von Putzplanungen, u.ä. Kleinigkeiten.

                              Hab es unter win7 nicht zum Laufen gebracht.

                              mfg


                              Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                              Danke.
                              gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                              ScreenToGif :https://www.screentogif.com/downloads.html

                              1 Reply Last reply
                              0
                              • bahnuhrB Online
                                bahnuhrB Online
                                bahnuhr
                                Forum Testing Most Active
                                wrote on last edited by
                                #211

                                @skorpil:

                                Den Token und die ip habe ich. Werde ich in den kommenden Tagen testen. `

                                Hast du den robo denn mit dem python Befehl zum starten gebracht.

                                Der Start Befehl hat bei mir keine Wirkung (siehe oben).

                                mfg


                                Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                                Danke.
                                gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                                ScreenToGif :https://www.screentogif.com/downloads.html

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  skorpil
                                  wrote on last edited by
                                  #212

                                  Bei mir hat die Installation von Python-mirobo auf einem Raspi 3 NICHT geklappt. Hier der Fehlerbericht.

                                  622_img_2632.jpg

                                  Liebe Grüße

                                  Bernd

                                  1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    tpr
                                    wrote on last edited by
                                    #213

                                    @skorpil:

                                    Bei mir hat die Installation von Python-mirobo auf einem Raspi 3 NICHT geklappt. Hier der Fehlerbericht. `
                                    Du brauchst python3 für das Skript, ich glaube das ist das Problem. Wenn aber nicht, das steht die Fehlermeldung irgendwo höher als was im Bild zu stehen ist.

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      skorpil
                                      wrote on last edited by
                                      #214

                                      Ahhhh, ich dachte Python 2. alles klar!

                                      1 Reply Last reply
                                      0
                                      • T Offline
                                        T Offline
                                        tpr
                                        wrote on last edited by
                                        #215

                                        @bahnuhr:

                                        Hab es unter win7 nicht zum Laufen gebracht. `
                                        Gibt es eine Fehlermeldung dazu? Probier mal mit -d wie "mirobo -d start" um mehrere Information zu sehen was wird vermitteln.

                                        1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          skorpil
                                          wrote on last edited by
                                          #216

                                          Leider auch Fehlermeldung bei Python 3:

                                            Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 100%  389  Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB):            Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 389kB downloaded
                                          Downloading/unpacking cffi>=1.4.1 (from cryptography->python-mirobo)
                                            Downloading cffi-1.9.1.tar.gz (407kB): 407kB downloaded
                                            Running setup.py (path:/tmp/pip-build-vmqvaiw6/cffi/setup.py) egg_info for package cffi
                                              Package libffi was not found in the pkg-config search path.
                                              Perhaps you should add the directory containing `libffi.pc'
                                              to the PKG_CONFIG_PATH environment variable
                                              No package 'libffi' found
                                              Package libffi was not found in the pkg-config search path.
                                              Perhaps you should add the directory containing `libffi.pc'
                                              to the PKG_CONFIG_PATH environment variable
                                              No package 'libffi' found
                                              Package libffi was not found in the pkg-config search path.
                                              Perhaps you should add the directory containing `libffi.pc'
                                              to the PKG_CONFIG_PATH environment variable
                                              No package 'libffi' found
                                              Package libffi was not found in the pkg-config search path.
                                              Perhaps you should add the directory containing `libffi.pc'
                                              to the PKG_CONFIG_PATH environment variable
                                              No package 'libffi' found
                                              Package libffi was not found in the pkg-config search path.
                                              Perhaps you should add the directory containing `libffi.pc'
                                              to the PKG_CONFIG_PATH environment variable
                                              No package 'libffi' found
                                          
                                          Downloading/unpacking appdirs>=1.4.0 (from setuptools>=11.3->cryptography->python-mirobo)
                                            Downloading appdirs-1.4.2-py2.py3-none-any.whl
                                          Downloading/unpacking packaging>=16.8 (from setuptools>=11.3->cryptography->python-mirobo)
                                            Downloading packaging-16.8-py2.py3-none-any.whl
                                          Downloading/unpacking pycparser (from cffi>=1.4.1->cryptography->python-mirobo)
                                            Downloading pycparser-2.17.tar.gz (231kB): 231kB downloaded
                                            Running setup.py (path:/tmp/pip-build-vmqvaiw6/pycparser/setup.py) egg_info for package pycparser
                                          
                                              warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
                                              warning: no previously-included files matching 'lextab.*' found under directory 'tests'
                                              warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
                                              warning: no previously-included files matching 'lextab.*' found under directory 'examples'
                                          Downloading/unpacking pyparsing (from packaging>=16.8->setuptools>=11.3->cryptography->python-mirobo)
                                            Downloading pyparsing-2.1.10-py2.py3-none-any.whl (56kB): 56kB downloaded
                                          Installing collected packages: python-mirobo, click, pretty-cron, construct, cryptography, idna, pyasn1, setuptools, cffi, appdirs, packaging, pycparser, pyparsing
                                            Running setup.py install for cryptography
                                              Package libffi was not found in the pkg-config search path.
                                              Perhaps you should add the directory containing `libffi.pc'
                                              to the PKG_CONFIG_PATH environment variable
                                              No package 'libffi' found
                                              Package libffi was not found in the pkg-config search path.
                                              Perhaps you should add the directory containing `libffi.pc'
                                              to the PKG_CONFIG_PATH environment variable
                                              No package 'libffi' found
                                              Package libffi was not found in the pkg-config search path.
                                              Perhaps you should add the directory containing `libffi.pc'
                                              to the PKG_CONFIG_PATH environment variable
                                              No package 'libffi' found
                                              Package libffi was not found in the pkg-config search path.
                                              Perhaps you should add the directory containing `libffi.pc'
                                              to the PKG_CONFIG_PATH environment variable
                                              No package 'libffi' found
                                              Package libffi was not found in the pkg-config search path.
                                              Perhaps you should add the directory containing `libffi.pc'
                                              to the PKG_CONFIG_PATH environment variable
                                              No package 'libffi' found
                                              c/_cffi_backend.c:15:17: fatal error: ffi.h: Datei oder Verzeichnis nicht gefunden
                                               #include <ffi.h>^
                                              compilation terminated.
                                              Traceback (most recent call last):
                                                File "/usr/lib/python3.4/distutils/unixccompiler.py", line 116, in _compile
                                                  extra_postargs)
                                                File "/usr/lib/python3.4/distutils/ccompiler.py", line 909, in spawn
                                                  spawn(cmd, dry_run=self.dry_run)
                                                File "/usr/lib/python3.4/distutils/spawn.py", line 36, in spawn
                                                  _spawn_posix(cmd, search_path, dry_run=dry_run)
                                                File "/usr/lib/python3.4/distutils/spawn.py", line 162, in _spawn_posix
                                                  % (cmd, exit_status))
                                              distutils.errors.DistutilsExecError: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
                                          
                                              During handling of the above exception, another exception occurred:    
                                              Traceback (most recent call last):
                                                File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
                                                  dist.run_commands()
                                                File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
                                                  self.run_command(cmd)
                                                File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
                                                  cmd_obj.run()
                                                File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 161, in run
                                                  cmd = self.call_command('install_lib', warn_dir=0)
                                                File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 147, in call_command
                                                  self.run_command(cmdname)
                                                File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
                                                  self.distribution.run_command(command)
                                                File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
                                                  cmd_obj.run()
                                                File "/usr/lib/python3/dist-packages/setuptools/command/install_lib.py", line 22, in run
                                                  self.build()
                                                File "/usr/lib/python3.4/distutils/command/install_lib.py", line 109, in build
                                                  self.run_command('build_ext')
                                                File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
                                                  self.distribution.run_command(command)
                                                File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
                                                  cmd_obj.run()
                                                File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 54, in run
                                                  _build_ext.run(self)
                                                File "/usr/lib/python3.4/distutils/command/build_ext.py", line 339, in run
                                                  self.build_extensions()
                                                File "/usr/lib/python3.4/distutils/command/build_ext.py", line 448, in build_extensions
                                                  self.build_extension(ext)
                                                File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 187, in build_extension
                                                  _build_ext.build_extension(self, ext)
                                                File "/usr/lib/python3.4/distutils/command/build_ext.py", line 503, in build_extension
                                                  depends=ext.depends)
                                                File "/usr/lib/python3.4/distutils/ccompiler.py", line 574, in compile
                                                  self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
                                                File "/usr/lib/python3.4/distutils/unixccompiler.py", line 118, in _compile
                                                  raise CompileError(msg)
                                              distutils.errors.CompileError: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
                                          
                                              During handling of the above exception, another exception occurred:    
                                              Traceback (most recent call last):
                                                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1063, in run_setup
                                                  run_setup(setup_script, args)
                                                File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 68, in run_setup
                                                  DirectorySandbox(setup_dir).run(runner)
                                                File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 114, in run
                                                  return func()
                                                File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 67, in runner
                                                  _execfile(setup_script, ns)
                                                File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 43, in _execfile
                                                  exec(code, globals, locals)
                                                File "/tmp/easy_install-xhimgt7q/cffi-1.9.1/setup.py", line 202, in <module>for i in range(1, len(argv))):
                                                File "/usr/lib/python3.4/distutils/core.py", line 163, in setup
                                                  raise SystemExit("error: " + str(msg))
                                              SystemExit: error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
                                          
                                              During handling of the above exception, another exception occurred:    
                                              Traceback (most recent call last):
                                                File "<string>", line 1, in <module>File "/tmp/pip-build-vmqvaiw6/cryptography/setup.py", line 334, in <module>**keywords_with_side_effects(sys.argv)
                                                File "/usr/lib/python3.4/distutils/core.py", line 108, in setup
                                                  _setup_distribution = dist = klass(attrs)
                                                File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 262, in __init__
                                                  self.fetch_build_eggs(attrs['setup_requires'])
                                                File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 287, in fetch_build_eggs
                                                  replace_conflicting=True,
                                                File "/usr/lib/python3/dist-packages/pkg_resources.py", line 631, in resolve
                                                  dist = best[req.key] = env.best_match(req, ws, installer)
                                                File "/usr/lib/python3/dist-packages/pkg_resources.py", line 874, in best_match
                                                  return self.obtain(req, installer)
                                                File "/usr/lib/python3/dist-packages/pkg_resources.py", line 886, in obtain
                                                  return installer(requirement)
                                                File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 338, in fetch_build_egg
                                                  return cmd.easy_install(req)
                                                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 636, in easy_install
                                                  return self.install_item(spec, dist.location, tmpdir, deps)
                                                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 666, in install_item
                                                  dists = self.install_eggs(spec, download, tmpdir)
                                                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 856, in install_eggs
                                                  return self.build_and_install(setup_script, setup_base)
                                                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1078, in build_and_install
                                                  self.run_setup(setup_script, setup_base, args)
                                                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1066, in run_setup
                                                  raise DistutilsError("Setup script exited with %s" % (v.args[0],))
                                              distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
                                              Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-vmqvaiw6/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-d2rx3x4n-record/install-record.txt --single-version-externally-managed --compile:
                                              Package libffi was not found in the pkg-config search path.
                                          
                                          Perhaps you should add the directory containing `libffi.pc'
                                          
                                          to the PKG_CONFIG_PATH environment variable
                                          
                                          No package 'libffi' found
                                          
                                          Package libffi was not found in the pkg-config search path.
                                          
                                          Perhaps you should add the directory containing `libffi.pc'
                                          
                                          to the PKG_CONFIG_PATH environment variable
                                          
                                          No package 'libffi' found
                                          
                                          Package libffi was not found in the pkg-config search path.
                                          
                                          Perhaps you should add the directory containing `libffi.pc'
                                          
                                          to the PKG_CONFIG_PATH environment variable
                                          
                                          No package 'libffi' found
                                          
                                          Package libffi was not found in the pkg-config search path.
                                          
                                          Perhaps you should add the directory containing `libffi.pc'
                                          
                                          to the PKG_CONFIG_PATH environment variable
                                          
                                          No package 'libffi' found
                                          
                                          Package libffi was not found in the pkg-config search path.
                                          
                                          Perhaps you should add the directory containing `libffi.pc'
                                          
                                          to the PKG_CONFIG_PATH environment variable
                                          
                                          No package 'libffi' found
                                          
                                          c/_cffi_backend.c:15:17: fatal error: ffi.h: Datei oder Verzeichnis nicht gefunden
                                          
                                           #include <ffi.h>^
                                          
                                          compilation terminated.
                                          
                                          Traceback (most recent call last):
                                          
                                            File "/usr/lib/python3.4/distutils/unixccompiler.py", line 116, in _compile
                                          
                                              extra_postargs)
                                          
                                            File "/usr/lib/python3.4/distutils/ccompiler.py", line 909, in spawn
                                          
                                              spawn(cmd, dry_run=self.dry_run)
                                          
                                            File "/usr/lib/python3.4/distutils/spawn.py", line 36, in spawn
                                          
                                              _spawn_posix(cmd, search_path, dry_run=dry_run)
                                          
                                            File "/usr/lib/python3.4/distutils/spawn.py", line 162, in _spawn_posix
                                          
                                              % (cmd, exit_status))
                                          
                                          distutils.errors.DistutilsExecError: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
                                          
                                          During handling of the above exception, another exception occurred:
                                          
                                          Traceback (most recent call last):
                                          
                                            File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
                                          
                                              dist.run_commands()
                                          
                                            File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
                                          
                                              self.run_command(cmd)
                                          
                                            File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
                                              cmd_obj.run()
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 161, in run
                                          
                                              cmd = self.call_command('install_lib', warn_dir=0)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 147, in call_command
                                          
                                              self.run_command(cmdname)
                                          
                                            File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
                                          
                                              self.distribution.run_command(command)
                                          
                                            File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
                                              cmd_obj.run()
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/install_lib.py", line 22, in run
                                          
                                              self.build()
                                          
                                            File "/usr/lib/python3.4/distutils/command/install_lib.py", line 109, in build
                                          
                                              self.run_command('build_ext')
                                          
                                            File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
                                          
                                              self.distribution.run_command(command)
                                          
                                            File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
                                              cmd_obj.run()
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 54, in run
                                          
                                              _build_ext.run(self)
                                          
                                            File "/usr/lib/python3.4/distutils/command/build_ext.py", line 339, in run
                                          
                                              self.build_extensions()
                                          
                                            File "/usr/lib/python3.4/distutils/command/build_ext.py", line 448, in build_extensions
                                          
                                              self.build_extension(ext)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 187, in build_extension
                                          
                                              _build_ext.build_extension(self, ext)
                                          
                                            File "/usr/lib/python3.4/distutils/command/build_ext.py", line 503, in build_extension
                                          
                                              depends=ext.depends)
                                          
                                            File "/usr/lib/python3.4/distutils/ccompiler.py", line 574, in compile
                                          
                                              self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
                                          
                                            File "/usr/lib/python3.4/distutils/unixccompiler.py", line 118, in _compile
                                          
                                              raise CompileError(msg)
                                          
                                          distutils.errors.CompileError: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
                                          
                                          During handling of the above exception, another exception occurred:
                                          
                                          Traceback (most recent call last):
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1063, in run_setup
                                          
                                              run_setup(setup_script, args)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 68, in run_setup
                                          
                                              DirectorySandbox(setup_dir).run(runner)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 114, in run
                                          
                                              return func()
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 67, in runner
                                          
                                              _execfile(setup_script, ns)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 43, in _execfile
                                          
                                              exec(code, globals, locals)
                                          
                                            File "/tmp/easy_install-xhimgt7q/cffi-1.9.1/setup.py", line 202, in <module>for i in range(1, len(argv))):
                                          
                                            File "/usr/lib/python3.4/distutils/core.py", line 163, in setup
                                          
                                              raise SystemExit("error: " + str(msg))
                                          
                                          SystemExit: error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
                                          
                                          During handling of the above exception, another exception occurred:
                                          
                                          Traceback (most recent call last):
                                          
                                            File "<string>", line 1, in <module>File "/tmp/pip-build-vmqvaiw6/cryptography/setup.py", line 334, in <module>**keywords_with_side_effects(sys.argv)
                                          
                                            File "/usr/lib/python3.4/distutils/core.py", line 108, in setup
                                          
                                              _setup_distribution = dist = klass(attrs)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 262, in __init__
                                          
                                              self.fetch_build_eggs(attrs['setup_requires'])
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 287, in fetch_build_eggs
                                          
                                              replace_conflicting=True,
                                          
                                            File "/usr/lib/python3/dist-packages/pkg_resources.py", line 631, in resolve
                                          
                                              dist = best[req.key] = env.best_match(req, ws, installer)
                                          
                                            File "/usr/lib/python3/dist-packages/pkg_resources.py", line 874, in best_match
                                          
                                              return self.obtain(req, installer)
                                          
                                            File "/usr/lib/python3/dist-packages/pkg_resources.py", line 886, in obtain
                                          
                                              return installer(requirement)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 338, in fetch_build_egg
                                          
                                              return cmd.easy_install(req)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 636, in easy_install
                                          
                                              return self.install_item(spec, dist.location, tmpdir, deps)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 666, in install_item
                                          
                                              dists = self.install_eggs(spec, download, tmpdir)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 856, in install_eggs
                                          
                                              return self.build_and_install(setup_script, setup_base)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1078, in build_and_install
                                          
                                              self.run_setup(setup_script, setup_base, args)
                                          
                                            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1066, in run_setup
                                          
                                              raise DistutilsError("Setup script exited with %s" % (v.args[0],))
                                          
                                          distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
                                          
                                          ----------------------------------------
                                          Cleaning up...
                                          Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-vmqvaiw6/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-d2rx3x4n-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-vmqvaiw6/cryptography
                                          Storing debug log for failure in /root/.pip/pip.log
                                          root@raspberrypi:~#</module></module></string></module></ffi.h></module></module></string></module></ffi.h> 
                                          
                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          386

                                          Online

                                          32.8k

                                          Users

                                          82.7k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe