Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

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

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    324

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.5k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.5k

[Frage] Xiaomi Vacuum cleaner

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
2.2k Beiträge 204 Kommentatoren 987.8k Aufrufe 39 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • T Offline
    T Offline
    tpr
    schrieb am zuletzt editiert von
    #234

    @skorpil:

    tpr,

    erstmal wieder ein DD (=dickes Dankeschön :D )

    Wenn das wohl an "zu alten" pip und setuptool liegt, dann müssen diese sich doch irgendwie auf den neuesten Stand bringen lassen können. Ich habe den Raspi im übrigen erst vor ca. 3 Wochen neu aufgesetzt. Und er läuft mit Jessie, ist geupdated und geupgraded. So richtig kapieren tue ich das nicht. `
    Kein Problem. In "pip install -U pip" -U steht für upgrade -> das sollte es aktualisieren. Ebenso für setuptools.

    1 Antwort Letzte Antwort
    0
    • S Offline
      S Offline
      skorpil
      schrieb am zuletzt editiert von
      #235

      Jetzt! Erfolgsmeldung! Hier

      ! root@raspberrypi:~# pip install -U pip
      ! Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
      ! root@raspberrypi:~# pip install -U setuptools
      ! Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages
      ! Requirement already up-to-date: six>=1.6.0 in /usr/local/lib/python2.7/dist-packages (from setuptools)
      ! Requirement already up-to-date: packaging>=16.8 in /usr/local/lib/python2.7/dist-packages (from setuptools)
      ! Requirement already up-to-date: appdirs>=1.4.0 in /usr/local/lib/python2.7/dist-packages (from setuptools)
      ! Requirement already up-to-date: pyparsing in /usr/local/lib/python2.7/dist-packages (from packaging>=16.8->setuptools)
      ! root@raspberrypi:~# pip install python-mirobo
      ! Collecting python-mirobo
      ! Downloading python-mirobo-0.0.3.tar.gz
      ! Requirement already satisfied: construct in /usr/local/lib/python2.7/dist-packages (from python-mirobo)
      ! Requirement already satisfied: click in /usr/local/lib/python2.7/dist-packages (from python-mirobo)
      ! Requirement already satisfied: cryptography in /usr/local/lib/python2.7/dist-packages (from python-mirobo)
      ! Collecting pretty_cron (from python-mirobo)
      ! Downloading pretty_cron-1.0.2-py2.py3-none-any.whl
      ! Requirement already satisfied: idna>=2.0 in /usr/local/lib/python2.7/dist-packages (from cryptography->python-mirobo)
      ! Requirement already satisfied: pyasn1>=0.1.8 in /usr/local/lib/python2.7/dist-packages (from cryptography->python-mirobo)
      ! Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from cryptography->python-mirobo)
      ! Requirement already satisfied: setuptools>=11.3 in /usr/local/lib/python2.7/dist-packages (from cryptography->python-mirobo)
      ! Requirement already satisfied: enum34 in /usr/local/lib/python2.7/dist-packages (from cryptography->python-mirobo)
      ! Requirement already satisfied: ipaddress in /usr/local/lib/python2.7/dist-packages (from cryptography->python-mirobo)
      ! Requirement already satisfied: cffi>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from cryptography->python-mirobo)
      ! Requirement already satisfied: packaging>=16.8 in /usr/local/lib/python2.7/dist-packages (from setuptools>=11.3->cryptography->python-mirobo)
      ! Requirement already satisfied: appdirs>=1.4.0 in /usr/local/lib/python2.7/dist-packages (from setuptools>=11.3->cryptography->python-mirobo)
      ! Requirement already satisfied: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.4.1->cryptography->python-mirobo)
      ! Requirement already satisfied: pyparsing in /usr/local/lib/python2.7/dist-packages (from packaging>=16.8->setuptools>=11.3->cryptography->python-mirobo)
      ! Building wheels for collected packages: python-mirobo
      ! Running setup.py bdist_wheel for python-mirobo … done
      ! Stored in directory: /root/.cache/pip/wheels/37/86/43/172c8c98b369bb0f4ef439ea412e014626a3ce9e6a0210c1bd
      ! Successfully built python-mirobo
      ! Installing collected packages: pretty-cron, python-mirobo
      ! Successfully installed pretty-cron-1.0.2 python-mirobo-0.0.3
      ! root@raspberrypi:~#

      Danke! Bis hierhin. Und morgen teste ich dann weiter…

      1 Antwort Letzte Antwort
      0
      • S Offline
        S Offline
        skorpil
        schrieb am zuletzt editiert von
        #236

        So, doch schon getestet. Leider erfolglos:

        > After that verify that the connection is working by running the command withour parameters, you should be presented a status report from the vacuum.

        Die Eingabe von mirobo bringt folgendes

        ! root@raspberrypi:~# mirobo
        ! Traceback (most recent call last):
        ! File "/usr/local/bin/mirobo", line 11, in <module>sys.exit(cli())
        ! File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in call
        ! return self.main(*args, **kwargs)
        ! File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
        ! rv = self.invoke(ctx)
        ! File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1043, in invoke
        ! return Command.invoke(self, ctx)
        ! File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
        ! return ctx.invoke(self.callback, **ctx.params)
        ! File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
        ! return callback(*args, **kwargs)
        ! File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 17, in new_func
        ! return f(get_current_context(), *args, **kwargs)
        ! File "/usr/local/lib/python2.7/dist-packages/mirobo/cli.py", line 29, in cli
        ! vac = mirobo.Vacuum(ip, token)
        ! File "/usr/local/lib/python2.7/dist-packages/mirobo/vacuum.py", line 14, in init
        ! self.token = bytes.fromhex(token)
        ! AttributeError: type object 'str' has no attribute 'fromhex'</module>

        Was will uns das sagen?

        1 Antwort Letzte Antwort
        0
        • T Offline
          T Offline
          tpr
          schrieb am zuletzt editiert von
          #237

          @skorpil:

          File "/usr/local/lib/python2.7/dist-packages/mirobo/vacuum.py", line 14, in init

          self.token = bytes.fromhex(token)

          AttributeError: type object 'str' has no attribute 'fromhex'

          Was will uns das sagen? `
          Es soll mit python/pip3 installiert und benutzt werden, da es nur python3 unterstützt. Hier nochmal Schritt zu Schritt wie ich es gerade mit virtualenv auf Raspberry Pi 3 mit Raspbian Jessie getestet habe:

          ! homeassistant@rasputin:~ $ virtualenv test_environment -p python3 Already using interpreter /usr/bin/python3 Using base prefix '/usr' New python executable in test_environment/bin/python3 Also creating executable in test_environment/bin/python Installing setuptools, pip...done. homeassistant@rasputin:~ $ source test_environment/bin/activate (test_environment)homeassistant@rasputin:~ $ pip install -U pip setuptools Downloading/unpacking pip from https://pypi.python.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.0.1-py2.py3-none-any.whl#md5=297dbd16ef53bcef0447d245815f5144 Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB): 1.3MB downloaded Downloading/unpacking setuptools from https://pypi.python.org/packages/49/09/68b43c68492a9d437c137892d11427ac45a1497812c8a8ce2cd17649a27c/setuptools-34.3.1-py2.py3-none-any.whl#md5=ea9c9c51767f5037754dc6228cdeb607 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 389kB downloaded Downloading/unpacking packaging>=16.8 (from setuptools) Downloading packaging-16.8-py2.py3-none-any.whl Downloading/unpacking six>=1.6.0 (from setuptools) Downloading six-1.10.0-py2.py3-none-any.whl Downloading/unpacking appdirs>=1.4.0 (from setuptools) Downloading appdirs-1.4.3-py2.py3-none-any.whl Downloading/unpacking pyparsing (from packaging>=16.8->setuptools) Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB): 56kB downloaded Installing collected packages: pip, setuptools, packaging, six, appdirs, pyparsing Found existing installation: pip 1.5.6 Uninstalling pip: Successfully uninstalled pip Found existing installation: setuptools 5.5.1 Uninstalling setuptools: Successfully uninstalled setuptools Successfully installed pip setuptools packaging six appdirs pyparsing Cleaning up... (test_environment)homeassistant@rasputin:~ $ pip install python-mirobo Collecting python-mirobo Using cached python_mirobo-0.0.3-py3-none-any.whl Collecting cryptography (from python-mirobo) Using cached cryptography-1.7.2.tar.gz Collecting pretty-cron (from python-mirobo) Using cached pretty_cron-1.0.2-py2.py3-none-any.whl Collecting click (from python-mirobo) Using cached click-6.7-py2.py3-none-any.whl Collecting construct (from python-mirobo) Using cached construct-2.8.10-py2.py3-none-any.whl Collecting idna>=2.0 (from cryptography->python-mirobo) Downloading idna-2.5-py2.py3-none-any.whl (55kB) 100% |████████████████████████████████| 61kB 1.6MB/s Collecting pyasn1>=0.1.8 (from cryptography->python-mirobo) Using cached pyasn1-0.2.3-py2.py3-none-any.whl Requirement already satisfied: six>=1.4.1 in ./test_environment/lib/python3.4/site-packages (from cryptography->python-mirobo) Requirement already satisfied: setuptools>=11.3 in ./test_environment/lib/python3.4/site-packages (from cryptography->python-mirobo) Collecting cffi>=1.4.1 (from cryptography->python-mirobo) Using cached cffi-1.9.1.tar.gz Requirement already satisfied: appdirs>=1.4.0 in ./test_environment/lib/python3.4/site-packages (from setuptools>=11.3->cryptography->python-mirobo) Requirement already satisfied: packaging>=16.8 in ./test_environment/lib/python3.4/site-packages (from setuptools>=11.3->cryptography->python-mirobo) Collecting pycparser (from cffi>=1.4.1->cryptography->python-mirobo) Using cached pycparser-2.17.tar.gz Requirement already satisfied: pyparsing in ./test_environment/lib/python3.4/site-packages (from packaging>=16.8->setuptools>=11.3->cryptography->python-mirobo) Installing collected packages: idna, pyasn1, pycparser, cffi, cryptography, pretty-cron, click, construct, python-mirobo Running setup.py install for pycparser ... done Running setup.py install for cffi ... done Running setup.py install for cryptography ... done Successfully installed cffi-1.9.1 click-6.7 construct-2.8.10 cryptography-1.7.2 idna-2.5 pretty-cron-1.0.2 pyasn1-0.2.3 pycparser-2.17 python-mirobo-0.0.3 (test_environment)homeassistant@rasputin:~ $ mirobo State: Charging Battery: 100 Fanspeed: 30 Cleaning since: 0:26:44 Cleaned area: 21.3275 m² DND enabled: 0 Map present: 1 in_cleaning: 0 !
          ! Zuvor hatte ich schon MIROBO_TOKEN und MIROBO_IP mit export gesetzt wie in README.md gezeigt ist.

          1 Antwort Letzte Antwort
          0
          • S Offline
            S Offline
            skorpil
            schrieb am zuletzt editiert von
            #238

            Dankeschön. Das ist nun Arbeit für mich für morgen. Ich werde berichten. Gute Nacht!

            1 Antwort Letzte Antwort
            0
            • MeistertrM Offline
              MeistertrM Offline
              Meistertr
              Developer
              schrieb am zuletzt editiert von
              #239

              @gst666 wenn du noch Hilfe brauchst, sag bescheid…

              1 Antwort Letzte Antwort
              0
              • S Offline
                S Offline
                skorpil
                schrieb am zuletzt editiert von
                #240

                tpr,

                guten Abend. Nach Deinen zuletzt geposteten Anweisungen bin ich vorgegangen. Ergebis:

                ! Using username "root".
                ! The programs included with the Debian GNU/Linux system are free software;
                ! the exact distribution terms for each program are described in the
                ! individual files in /usr/share/doc/*/copyright.
                ! Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                ! permitted by applicable law.
                ! Last login: Wed Mar 8 19:27:02 2017 from server.fritz.box
                ! root@raspberrypi:~# virtualenv test_environment -p python3
                ! Running virtualenv with interpreter /usr/bin/python3
                ! Using base prefix '/usr'
                ! New python executable in /root/test_environment/bin/python3
                ! Not overwriting existing python script /root/test_environment/bin/python (you must use /root/test_environment/bin/python3)
                ! Installing setuptools, pip, wheel…done.
                ! root@raspberrypi:~# source test_environment/bin/activate
                ! (test_environment) root@raspberrypi:~# pip install -U pip setuptools
                ! Requirement already up-to-date: pip in ./test_environment/lib/python3.4/site-packages
                ! Requirement already up-to-date: setuptools in ./test_environment/lib/python3.4/site-packages
                ! Requirement already up-to-date: six>=1.6.0 in ./test_environment/lib/python3.4/site-packages (from setuptools)
                ! Requirement already up-to-date: packaging>=16.8 in ./test_environment/lib/python3.4/site-packages (from setuptools)
                ! Requirement already up-to-date: appdirs>=1.4.0 in ./test_environment/lib/python3.4/site-packages (from setuptools)
                ! Requirement already up-to-date: pyparsing in ./test_environment/lib/python3.4/site-packages (from packaging>=16.8->setuptools)
                ! (test_environment) root@raspberrypi:~# pip install python-mirobo
                ! Requirement already satisfied: python-mirobo in ./test_environment/lib/python3.4/site-packages
                ! Requirement already satisfied: pretty-cron in ./test_environment/lib/python3.4/site-packages (from python-mirobo)
                ! Requirement already satisfied: cryptography in ./test_environment/lib/python3.4/site-packages (from python-mirobo)
                ! Requirement already satisfied: construct in ./test_environment/lib/python3.4/site-packages (from python-mirobo)
                ! Requirement already satisfied: click in ./test_environment/lib/python3.4/site-packages (from python-mirobo)
                ! Requirement already satisfied: six>=1.4.1 in ./test_environment/lib/python3.4/site-packages (from cryptography->python-mirobo)
                ! Requirement already satisfied: pyasn1>=0.1.8 in ./test_environment/lib/python3.4/site-packages (from cryptography->python-mirobo)
                ! Requirement already satisfied: cffi>=1.4.1 in ./test_environment/lib/python3.4/site-packages (from cryptography->python-mirobo)
                ! Requirement already satisfied: idna>=2.0 in ./test_environment/lib/python3.4/site-packages (from cryptography->python-mirobo)
                ! Requirement already satisfied: setuptools>=11.3 in ./test_environment/lib/python3.4/site-packages (from cryptography->python-mirobo)
                ! Requirement already satisfied: pycparser in ./test_environment/lib/python3.4/site-packages (from cffi>=1.4.1->cryptography->python-mirobo)
                ! Requirement already satisfied: packaging>=16.8 in ./test_environment/lib/python3.4/site-packages (from setuptools>=11.3->cryptography->python-mirobo)
                ! Requirement already satisfied: appdirs>=1.4.0 in ./test_environment/lib/python3.4/site-packages (from setuptools>=11.3->cryptography->python-mirobo)
                ! Requirement already satisfied: pyparsing in ./test_environment/lib/python3.4/site-packages (from packaging>=16.8->setuptools>=11.3->cryptography->python-mirobo)
                ! (test_environment) root@raspberrypi:~# mirobo
                ! Usage: mirobo [OPTIONS] COMMAND [ARGS]…
                ! Error: Missing option "--ip".
                ! (test_environment) root@raspberrypi:~# export MIROBO_IP=192.168.X.X
                ! (test_environment) root@raspberrypi:~# export MIROBO_TOKEN=XXXXXXXXXXXXXXXXXX
                ! (test_environment) root@raspberrypi:~# mirobo
                ! ERROR:mirobo.vacuum:got error when receiving: timed out
                ! Traceback (most recent call last):
                ! File "/root/test_environment/bin/mirobo", line 11, in <module>sys.exit(cli())
                ! File "/root/test_environment/lib/python3.4/site-packages/click/core.py", line 722, in call
                ! return self.main(*args, **kwargs)
                ! File "/root/test_environment/lib/python3.4/site-packages/click/core.py", line 697, in main
                ! rv = self.invoke(ctx)
                ! File "/root/test_environment/lib/python3.4/site-packages/click/core.py", line 1043, in invoke
                ! return Command.invoke(self, ctx)
                ! File "/root/test_environment/lib/python3.4/site-packages/click/core.py", line 895, in invoke
                ! return ctx.invoke(self.callback, **ctx.params)
                ! File "/root/test_environment/lib/python3.4/site-packages/click/core.py", line 535, in invoke
                ! return callback(*args, **kwargs)
                ! File "/root/test_environment/lib/python3.4/site-packages/click/decorators.py", line 17, in new_func
                ! return f(get_current_context(), *args, **kwargs)
                ! File "/root/test_environment/lib/python3.4/site-packages/mirobo/cli.py", line 39, in cli
                ! ctx.invoke(status)
                ! File "/root/test_environment/lib/python3.4/site-packages/click/core.py", line 535, in invoke
                ! return callback(*args, **kwargs)
                ! File "/root/test_environment/lib/python3.4/site-packages/click/decorators.py", line 64, in new_func
                ! return ctx.invoke(f, obj, *args[1:], **kwargs)
                ! File "/root/test_environment/lib/python3.4/site-packages/click/core.py", line 535, in invoke
                ! return callback(*args, **kwargs)
                ! File "/root/test_environment/lib/python3.4/site-packages/mirobo/cli.py", line 51, in status
                ! res = vac.status()
                ! File "/root/test_environment/lib/python3.4/site-packages/mirobo/vacuum.py", line 106, in status
                ! return VacuumStatus(self.send("get_status")[0])
                ! File "/root/test_environment/lib/python3.4/site-packages/mirobo/vacuum.py", line 79, in send
                ! data, addr = s.recvfrom(1024)
                ! socket.timeout: timed out
                ! (test_environment) root@raspberrypi:~#</module>

                Fazit: es klappt leider nicht. Hinweis: nach der Installation habe ich einmal bewußt nur mirobo eingegeben, um zu testen. Dann fordert mirobo ja die ip und den token an. Di habe ich danach mit Export eingegeben. Die ip ist richtig. das zeigt die Antwort auf Discover:

                ` > (test_environment) root@raspberrypi:~# mirobo discover

                INFO:mirobo.vacuum:Sending discovery packet to broadcast address..

                WARNING:mirobo.protocol:Unable to decrypt, returning raw bytes.

                INFO:mirobo.vacuum: IP 192.168.X.X: 844 - token: b'ffffffffffffffffffffffffffffffff'

                WARNING:mirobo.vacuum:error while reading discover results: timed out

                (test_environment) root@raspberrypi:~# `

                Etwas irritiert bin ich über den timeout. Denn mit der regulären IOS App komme ich drauf und sehe die Daten.

                Es ist doch zu dumm, daß ich Dein Programm hier nicht ans Laufen bekomme. Hast Du noch eine Idee?

                lg

                Bernd

                1 Antwort Letzte Antwort
                0
                • G Offline
                  G Offline
                  gst666
                  schrieb am zuletzt editiert von
                  #241

                  @Meistertr:

                  @gst666 wenn du noch Hilfe brauchst, sag bescheid… `
                  Zur Zeit nicht. Zum aktuellen Stand: Habe die Bibliothek in den Adapter von Bluefox integriert. Auch das Admin Interface habe ich angepasst. Zum Wochenende werde ich die Dateien wohl hochladen. Der Adapter wird keine weitergehende Funktionalität haben.

                  Wofür ist eigentlich die Find-Funktion?

                  1 Antwort Letzte Antwort
                  0
                  • G Offline
                    G Offline
                    gst666
                    schrieb am zuletzt editiert von
                    #242

                    Bei der Implemetierung ist mir aufgefallen, dass die Werte für den Lüfter-Level offensichtlich nicht die Level 1-3 darstellen. Ich vermute, dass stattdessen an den Roboter ein Wert in Prozent gesendet wird.

                    Vielleicht könnte jemand mal mit xpn die folgenden Kommandos absetzen:

                    {"id":20,"method":"set_custom_mode","params":[10]}
                    {"id":21,"method":"set_custom_mode","params":[50]}
                    {"id":22,"method":"set_custom_mode","params":[90]}
                    
                    

                    Die Auswirkung wird man wohl nur während des Saugvorgang erkennen. Schon blöd, wenn man etwas für ein Gerät entwickelt, dass man (noch?) nicht hat.

                    1 Antwort Letzte Antwort
                    0
                    • S Offline
                      S Offline
                      skorpil
                      schrieb am zuletzt editiert von
                      #243

                      Das muss man erst mal können: ohne das Gerät zu haben, zu entwickeln. Großes Kompliment. Ich stehe als Tester jederzeit gerne zur Verfügung. Als Helfer auch. Sagt, was ich machen soll.

                      1 Antwort Letzte Antwort
                      0
                      • MeistertrM Offline
                        MeistertrM Offline
                        Meistertr
                        Developer
                        schrieb am zuletzt editiert von
                        #244

                        Ja als Lüfter ist 0 bis 100 Prozent möglich. Mit der miapp ist jedoch nur bis 70 drin

                        Gesendet von meinem E5823 mit Tapatalk

                        1 Antwort Letzte Antwort
                        0
                        • M Offline
                          M Offline
                          mc-hollin
                          schrieb am zuletzt editiert von
                          #245

                          @gst666:

                          Vielleicht könnte jemand mal mit xpn die folgenden Kommandos absetzen `
                          Kannst du mal die portierte Javascript Version von XPN bereit stellen? Ich würde brennend gerne auch mal ein paar Tests machen.

                          1 Antwort Letzte Antwort
                          0
                          • T Offline
                            T Offline
                            tpr
                            schrieb am zuletzt editiert von
                            #246

                            @skorpil:

                            Fazit: es klappt leider nicht. Hinweis: nach der Installation habe ich einmal bewußt nur mirobo eingegeben, um zu testen. Dann fordert mirobo ja die ip und den token an. Di habe ich danach mit Export eingegeben. Die ip ist richtig. das zeigt die Antwort auf Discover:

                            ` > (test_environment) root@raspberrypi:~# mirobo discover

                            INFO:mirobo.vacuum:Sending discovery packet to broadcast address..

                            WARNING:mirobo.protocol:Unable to decrypt, returning raw bytes.

                            INFO:mirobo.vacuum: IP 192.168.X.X: 844 - token: b'ffffffffffffffffffffffffffffffff'

                            WARNING:mirobo.vacuum:error while reading discover results: timed out

                            (test_environment) root@raspberrypi:~# `

                            Etwas irritiert bin ich über den timeout. Denn mit der regulären IOS App komme ich drauf und sehe die Daten.

                            Es ist doch zu dumm, daß ich Dein Programm hier nicht ans Laufen bekomme. Hast Du noch eine Idee? `

                            Ok, jetzt läuft das Skript mindestens, ist schon eine Fortschritt! Wie sieht dein Token aus, das Du exportiert hast? Das mit nur 'f's zeigt nur, dass der Robo ist schon mit dem App verbunden und gibt den Token nicht mehr. Seit spät gestern soll das Timeout 5s sein, manchmal (insb. wenn er saugt) kriegt man die Timeouts. Dabei hilft eine Neuausführung des Kommandos.

                            1 Antwort Letzte Antwort
                            0
                            • S Offline
                              S Offline
                              skorpil
                              schrieb am zuletzt editiert von
                              #247

                              @tpr:

                              @skorpil:

                              Fazit: es klappt leider nicht. Hinweis: nach der Installation habe ich einmal bewußt nur mirobo eingegeben, um zu testen. Dann fordert mirobo ja die ip und den token an. Di habe ich danach mit Export eingegeben. Die ip ist richtig. das zeigt die Antwort auf Discover:

                              ` > (test_environment) root@raspberrypi:~# mirobo discover

                              INFO:mirobo.vacuum:Sending discovery packet to broadcast address..

                              WARNING:mirobo.protocol:Unable to decrypt, returning raw bytes.

                              INFO:mirobo.vacuum: IP 192.168.X.X: 844 - token: b'ffffffffffffffffffffffffffffffff'

                              WARNING:mirobo.vacuum:error while reading discover results: timed out

                              (test_environment) root@raspberrypi:~# `

                              Etwas irritiert bin ich über den timeout. Denn mit der regulären IOS App komme ich drauf und sehe die Daten.

                              Es ist doch zu dumm, daß ich Dein Programm hier nicht ans Laufen bekomme. Hast Du noch eine Idee? `

                              Ok, jetzt läuft das Skript mindestens, ist schon eine Fortschritt! Wie sieht dein Token aus, das Du exportiert hast? Das mit nur 'f's zeigt nur, dass der Robo ist schon mit dem App verbunden und gibt den Token nicht mehr. Seit spät gestern soll das Timeout 5s sein, manchmal (insb. wenn er saugt) kriegt man die Timeouts. Dabei hilft eine Neuausführung des Kommandos. `

                              tpr,

                              Danke für Deine Antwort. Er saugt aber nicht! Ich werde nachher noch mal versuchen, kurz hintereinander das Kommando zweimal zu senden. Kommt der Fehler mit dem timeout auch, wenn der Token nicht stimmt? Ich habe ihn bei der Ersteinrichtung generiert. Allerdings hat sich das Gerät später zweimal neue Softwareaktualisierungen geholt. Und ich bin daher nicht mehr sicher, ob der Token noch richtig ist.

                              1 Antwort Letzte Antwort
                              0
                              • T Offline
                                T Offline
                                tpr
                                schrieb am zuletzt editiert von
                                #248

                                @gst666:

                                @Meistertr:

                                @gst666 wenn du noch Hilfe brauchst, sag bescheid… Wofür ist eigentlich die Find-Funktion?
                                Sie lässt der Robot nur etwas auf Chinesisch aussprechen, eventuell ist nur nützlich für die Lokatierung wenn er verloren gegangen ist.

                                (Und fanspeed ist ja 0-100, steht für die Luftabsaugung statt Lüfter, wird aber in Status als fanspeed genannt. Hier ein komplettes Beispiel: {'id': 1, 'result': [{'state': 6, 'error_code': 0, 'msg_ver': 4, 'fan_power': 70, 'clean_time': 1580, 'clean_area': 20935000, 'battery': 100, 'map_present': 1, 'msg_seq': 164, 'in_cleaning': 0, 'dnd_enabled': 0}]}, die State- und Fehlernummer sind hier zu sehen: https://github.com/rytilahti/python-mir … ers.py#L30)

                                1 Antwort Letzte Antwort
                                0
                                • T Offline
                                  T Offline
                                  tpr
                                  schrieb am zuletzt editiert von
                                  #249

                                  @skorpil:

                                  tpr,

                                  Danke für Deine Antwort. Er saugt aber nicht! Ich werde nachher noch mal versuchen, kurz hintereinander das Kommando zweimal zu senden. Kommt der Fehler mit dem timeout auch, wenn der Token nicht stimmt? Ich habe ihn bei der Ersteinrichtung generiert. Allerdings hat sich das Gerät später zweimal neue Softwareaktualisierungen geholt. Und ich bin daher nicht mehr sicher, ob der Token noch richtig ist. `
                                  Das Timeout kommt auch wenn der Token falsch ist, da der Robot nämlich dann nichts geantwortet hat. Wegen Softwareaktualisierungen sollte es nicht verloren gehen, soweit man es nicht erneut mit Wifi verbunden muss. Also mag sein, dass Dein Token Falsch ist. Hier ist wie ich es bei mir aussieht: MIROBO_TOKEN=476e6b70343055483230644c53707a42

                                  1 Antwort Letzte Antwort
                                  0
                                  • S Offline
                                    S Offline
                                    skorpil
                                    schrieb am zuletzt editiert von
                                    #250

                                    Mein Token, natürlich ohne die Leerstellen, sieht so aus:78 4F 70 57 6B 65 53 79 30 4E 44 44 75 7A 33 75

                                    1 Antwort Letzte Antwort
                                    0
                                    • S Offline
                                      S Offline
                                      skorpil
                                      schrieb am zuletzt editiert von
                                      #251

                                      Ich denke, ich warte jetzt mal ab, was Meistertr und gst666 mit dem Adapter anstellen. Denn irgendwie bin ja jetzt zur Untätigkeit verdammt. Mirobo läuft, aber ich kann es nicht nutzen, weil vlt. der Token nicht stimmt oder timeout oder …?

                                      Jedenfalls 100000 Dank an alle, due sich hier engagieren. Und wie gesagt, wenn ich helfen kann, dann lasst es mich wissen.

                                      Bernd

                                      1 Antwort Letzte Antwort
                                      0
                                      • T Offline
                                        T Offline
                                        tpr
                                        schrieb am zuletzt editiert von
                                        #252

                                        @skorpil:

                                        Ich denke, ich warte jetzt mal ab, was Meistertr und gst666 mit dem Adapter anstellen. Denn irgendwie bin ja jetzt zur Untätigkeit verdammt. Mirobo läuft, aber ich kann es nicht nutzen, weil vlt. der Token nicht stimmt oder timeout oder …?

                                        Jedenfalls 100000 Dank an alle, due sich hier engagieren. Und wie gesagt, wenn ich helfen kann, dann lasst es mich wissen. `
                                        Der Token sieht gut aus, damit sollte es klappen (ohne leerzeihnen usw.). Wenn nicht, kann man ja leider nicht so viel damit machen.. Und ja, es lohnt sich auf den Adapter zu warten, insb. als er wird direkt mit ioBroker integriert. Jedoch danke für das Testen, es hat mir geholfen! Wenn es nicht mit dem Adapter geht, ist die Ursache der Token.

                                        1 Antwort Letzte Antwort
                                        0
                                        • S Offline
                                          S Offline
                                          skorpil
                                          schrieb am zuletzt editiert von
                                          #253

                                          @tpr:

                                          @skorpil:

                                          Ich denke, ich warte jetzt mal ab, was Meistertr und gst666 mit dem Adapter anstellen. Denn irgendwie bin ja jetzt zur Untätigkeit verdammt. Mirobo läuft, aber ich kann es nicht nutzen, weil vlt. der Token nicht stimmt oder timeout oder …?

                                          Jedenfalls 100000 Dank an alle, due sich hier engagieren. Und wie gesagt, wenn ich helfen kann, dann lasst es mich wissen. Der Token sieht gut aus, damit sollte es klappen (ohne leerzeihnen usw.). Wenn nicht, kann man ja leider nicht so viel damit machen.. Und ja, es lohnt sich auf den Adapter zu warten, insb. als er wird direkt mit ioBroker integriert. Jedoch danke für das Testen, es hat mir geholfen! Wenn es nicht mit dem Adapter geht, ist die Ursache der Token.

                                          Das würde ich gerne hier mal anmerken: ich finde den Umgang der Forenmitglieder hier sehr, sehr toll. Wirklich bemerkenswert.

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          548

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe