Plugin: MiRobot2Lox / Xiaomi Vacuum Robot mit MiniServer steuern

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Citibroker
    Dumb Home'r
    • 15.11.2015
    • 18

    #31
    Habe die Version 0.2.2 deinstalliert, Loxberry neu gestartet und danach die 0.2.3 installiert. Beim Install gab es ein paar Fehlermeldungen (siehe Log). Sind das die Packages die nach der Erstinstallation automatisch nachgeladen werden oder muss ich hier aktiv werden?

    Habe unter dem Loxberry Port 7005 und in der LoxConfig ebenfalls 7005 (siehe Screenshot) - es regt sich immer noch nichts... Der Mi wird im Debug aufgeführt... kommen aber nach wie vor keine Daten vom oder zum Miniserver... bin echt ratlos....
    Angehängte Dateien

    Kommentar

    • hismastersvoice
      Supermoderator
      • 25.08.2015
      • 7318

      #32
      Warum deinstalliert?
      Das ganze würde auch als Update gehen.

      Nun zu deinen Problem, die Paket Datenbank ist korrupt und du musst als root den Befehl dpkg --configure -a ausführen.
      ​Du scheinst ja mit mehr als einem Plugin Probleme zu haben. Eines nach dem anderen machen. Sonst wird das meist nichts.
      Kein Support per PN!

      Kommentar


      • Citibroker
        Citibroker kommentierte
        Kommentar bearbeiten
        Hallo hismastersvoice

        habe gerade den Befehl ausgeführt und reboote den Loxberry mal - bitte Daumen drücken! Ja, bin gerade an 2 Fronten am kämpfen und fleissig am lernen. Die nächsten Projekte hab ich auch schon im Kopf (Sonos + AlexaLox), die müssen aber noch ein bisschen warten.

        hismastersvoice ich habe die Pakete nachinstalliert; leider hat das auch nicht den gewünschten Erfolg gebracht.

        Ich habe in der Loxberry Miniserver Konfiguration gesehen, dass ich dort den 'externen' Port auf 22325 gestellt habe (statt 80). Müsste so korrekt sein da beim Fritz.Lox Plugin ja Daten beim Miniserver ankommen.
        Zuletzt geändert von Citibroker; 20.10.2017, 11:29. Grund: Config läuft immer noch nicht erfolgreich
    • Citibroker
      Dumb Home'r
      • 15.11.2015
      • 18

      #33
      Hallo @hismastersvoice

      hier scheint irgendetwas nicht zu stimmen:

      loxberry@loxberry:~ $ mirobo --ip 192.168.178.XXX --token 515963567a3951316b4765614b316XXX

      Traceback (most recent call last):

      File "/usr/local/bin/mirobo", line 7, in <module>

      from miio.vacuum_cli import cli

      File "/usr/local/lib/python3.4/dist-packages/miio/__init__.py", line 2, in <module>

      from miio.protocol import Message, Utils

      File "/usr/local/lib/python3.4/dist-packages/miio/protocol.py", line 18, in <module>

      from cryptography.hazmat.primitives import padding

      File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/primitives/padding.py", line 13, in <module>

      from cryptography.hazmat.bindings._padding import lib

      ImportError: No module named '_cffi_backend'

      loxberry@loxberry:~ $
      Zuletzt geändert von Citibroker; 20.10.2017, 21:40.

      Kommentar


      • Chris8519
        Chris8519 kommentierte
        Kommentar bearbeiten
        melde dich mal mit putty auf dem loxberry an su - dann root passwort eingeben und noch pip3 install python-miio ausführen ... den fehler hatte ich anfangs auch anscheinend konnte das neue paket bei der plugin installation nicht installiert werden. Infos gibts auch auf https://github.com/rytilahti/python-miio
        Zuletzt geändert von Chris8519; 20.10.2017, 22:41.
    • Citibroker
      Dumb Home'r
      • 15.11.2015
      • 18

      #34
      Hallo hismastersvoice und @Chris8519

      herzlichen Dank für den entscheidenden Hinweise. Endlich läuft alles so wie es soll - der Saugroboter nimmt nun endlich Befehle vom Miniserver entgegen! Ich danke Euch ganz herzlich für die aufgebrachte Geduld - bin froh, dass es endlich läuft ;-)

      Kommentar

      • brau01ma
        Extension Master
        • 06.02.2017
        • 147

        #35
        Hallo,

        ich habe noch immer ein Problem mit dem Plugin. Den Status bekomme ich angezeigt, jedoch nimmt der Roboter keinerlei Befehle an.
        Config ist alles eingestellt, Token ist ausgelesen aber ich weiß nicht weiter. Wo soll ich anfangen um dem Problem auf die Schliche zu gehen?

        Installiert ist V0.2.3

        Hier mal der Code com debugging.
        Code:
        Oct 25 18:51:18 Service mirobo2lox wird beendet Oct 25 18:51:18 Service udp_receiver wird beendet Oct 25 18:51:22 Service mirobo2lox gestartet Oct 25 18:51:22 Service udp_receiver gestartet Oct 25 18:51:38 Setup-Check at boot --  setuptools already installed Oct 25 18:51:38 Setup-Check at boot --  Start uninstall old python-mirobo Oct 25 18:51:47 Service mirobo2lox wird beendet Oct 25 18:51:47 Service udp_receiver wird beendet Oct 25 18:51:52 Service mirobo2lox gestartet Oct 25 18:51:52 Service udp_receiver gestartet Oct 25 18:52:00 Setup-Check at boot --  setuptools already installed Oct 25 18:52:00 Setup-Check at boot --  Start installing python-miio Oct 25 18:52:00 Setup-Check at boot -- python-miio installed Oct 25 18:52:00 Setup-Check at boot --  zeroconf already installed Oct 25 18:52:00 MiRobo2Lox - Services installed Oct 25 18:56:08 Service mirobo2lox wird beendet Oct 25 18:56:08 Service udp_receiver wird beendet Oct 25 18:56:08 Service mirobo2lox gestartet Oct 25 18:56:08 Service udp_receiver gestartet Oct 25 18:52:00 Service mirobo2lox wurde durch Daemon gestartet ROBOT 1 ----------------------------- Oct 25 18:56:08 GSD Robot 1 wird ausgeführt Oct 25 18:56:09 Service mirobo2lox wird beendet Oct 25 18:56:09 Service udp_receiver wird beendet Oct 25 18:56:09 Service mirobo2lox gestartet Oct 25 18:56:09 Service udp_receiver gestartet Oct 25 18:52:00 Service udp_receiver wurde durch Daemon gestartet ROBOT 1 ----------------------------- Oct 25 18:56:09 GSD Robot 1 wird ausgeführt Oct 25 18:56:09 Robot reachable Oct 25 18:56:09 GET DATA STATUS: Sending cmd get_status with params [] [{'fan_power': 90, 'battery': 85, 'in_cleaning': 0, 'msg_ver': 5, 'msg_seq': 1902, 'state': 5, 'clean_area': 25405000, 'error_code': 0, 'dnd_enabled': 0, 'map_present': 1, 'clean_time': 1306}]  Oct 25 18:56:09 SEND ERROR (VTI:2): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VTI2/Keine Fehler" value="Keine Fehler" Code="200"/>   Oct 25 18:56:09 SEND ERROR_CODE (VI:46): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI46/0" value="0.000" Code="200"/>   Oct 25 18:56:09 SEND STATUS (VTI:1): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VTI1/Reinigung aktiv" value="Reinigung aktiv" Code="200"/>   Oct 25 18:56:09 SEND STATUS_CODE (VI:49): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI49/5" value="5.000" Code="200"/>   Oct 25 18:56:09 SEND BATTERY (VI:): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI36/85" value="85.000" Code="200"/>   Oct 25 18:56:09 SEND FANSPEED (VI:45): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI45/90" value="90.000" Code="200"/>   Oct 25 18:56:09 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/21" value="21.000" Code="200"/>   Oct 25 18:56:09 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/25" value="25.000" Code="200"/>   Oct 25 18:56:09 SEND DND (VI:44): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI44/0" value="0.000" Code="200"/>   Oct 25 18:56:09 Robot reachable Oct 25 18:56:09 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'side_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'filter_work_time': 183516, 'main_brush_work_time': 183516}]  Oct 25 18:56:09 SEND MAINBRUSH (VI:38): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI38/50" value="50.000" Code="200"/>   Oct 25 18:56:09 SEND SIDEBRUSH (VI:40): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI40/50" value="50.000" Code="200"/>   Oct 25 18:56:09 SEND FILTER (VI:37): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI37/50" value="50.000" Code="200"/>   Oct 25 18:56:09 SEND SENSOR (VI:39): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI39/19" value="19.000" Code="200"/>   Oct 25 18:56:09 Robot reachable Oct 25 18:56:09 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  Oct 25 18:56:09 SEND CH_COUNT (VI:41): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI41/141" value="141.000" Code="200"/>   Oct 25 18:56:09 SEND CH_TIME (VI:43): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI43/3056" value="3056.000" Code="200"/>   Oct 25 18:56:09 SEND CH_AREA (VI:42): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI42/3196" value="3196.000" Code="200"/>   ----------------------------- ROBOT 1 ----------------------------- Oct 25 18:56:40 GSD Robot 1 wird ausgeführt Oct 25 18:56:40 Robot reachable Oct 25 18:56:40 GET DATA STATUS: Sending cmd get_status with params [] [{'error_code': 0, 'msg_ver': 5, 'fan_power': 90, 'clean_time': 1351, 'map_present': 1, 'in_cleaning': 0, 'clean_area': 25612500, 'msg_seq': 1903, 'state': 5, 'dnd_enabled': 0, 'battery': 85}]  Oct 25 18:56:40 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/22" value="22.000" Code="200"/>   Oct 25 18:56:40 Robot reachable Oct 25 18:56:40 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'filter_work_time': 183516, 'main_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'side_brush_work_time': 183516}]  Oct 25 18:56:40 Robot reachable Oct 25 18:56:40 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 18:57:10 Robot reachable Oct 25 18:57:10 GSD Robot 1 wird ausgeführt Oct 25 18:57:10 GET DATA STATUS: Sending cmd get_status with params [] [{'clean_area': 25732500, 'clean_time': 1355, 'dnd_enabled': 0, 'battery': 85, 'msg_seq': 1904, 'in_cleaning': 0, 'error_code': 0, 'msg_ver': 5, 'fan_power': 90, 'map_present': 1, 'state': 5}]  Oct 25 18:57:10 Robot reachable Oct 25 18:57:10 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'side_brush_work_time': 183516, 'main_brush_work_time': 183516, 'filter_work_time': 183516, 'sensor_dirty_time': 69312}]  Oct 25 18:57:10 Robot reachable Oct 25 18:57:10 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 18:57:41 GSD Robot 1 wird ausgeführt Oct 25 18:57:41 Robot reachable Oct 25 18:57:41 GET DATA STATUS: Sending cmd get_status with params [] [{'battery': 84, 'clean_area': 25937500, 'msg_ver': 5, 'dnd_enabled': 0, 'state': 5, 'map_present': 1, 'msg_seq': 1906, 'error_code': 0, 'fan_power': 90, 'in_cleaning': 0, 'clean_time': 1407}]  Oct 25 18:57:41 SEND BATTERY (VI:): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI36/84" value="84.000" Code="200"/>   Oct 25 18:57:41 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/23" value="23.000" Code="200"/>   Oct 25 18:57:41 Robot reachable Oct 25 18:57:41 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'sensor_dirty_time': 69312, 'main_brush_work_time': 183516, 'side_brush_work_time': 183516, 'filter_work_time': 183516}]  Oct 25 18:57:41 Robot reachable Oct 25 18:57:41 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 18:58:11 GSD Robot 1 wird ausgeführt Oct 25 18:58:11 Robot reachable Oct 25 18:58:11 GET DATA STATUS: Sending cmd get_status with params [] [{'in_cleaning': 0, 'state': 5, 'fan_power': 90, 'msg_ver': 5, 'dnd_enabled': 0, 'msg_seq': 1907, 'battery': 84, 'map_present': 1, 'clean_time': 1446, 'clean_area': 26162500, 'error_code': 0}]  Oct 25 18:58:11 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/24" value="24.000" Code="200"/>   Oct 25 18:58:11 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/26" value="26.000" Code="200"/>   Oct 25 18:58:11 Robot reachable Oct 25 18:58:11 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'sensor_dirty_time': 69312, 'side_brush_work_time': 183516, 'filter_work_time': 183516, 'main_brush_work_time': 183516}]  Oct 25 18:58:11 Robot reachable Oct 25 18:58:11 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 18:58:42 GSD Robot 1 wird ausgeführt Oct 25 18:58:42 Robot reachable Oct 25 18:58:42 GET DATA STATUS: Sending cmd get_status with params [] [{'dnd_enabled': 0, 'in_cleaning': 0, 'map_present': 1, 'error_code': 0, 'fan_power': 90, 'msg_seq': 1908, 'clean_time': 1471, 'state': 5, 'msg_ver': 5, 'clean_area': 27017500, 'battery': 84}]  Oct 25 18:58:42 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/27" value="27.000" Code="200"/>   Oct 25 18:58:42 Robot reachable Oct 25 18:58:42 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'filter_work_time': 183516, 'main_brush_work_time': 183516, 'side_brush_work_time': 183516, 'sensor_dirty_time': 69312}]  Oct 25 18:58:42 Robot reachable Oct 25 18:58:42 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 18:59:12 Robot reachable Oct 25 18:59:12 GSD Robot 1 wird ausgeführt Oct 25 18:59:12 GET DATA STATUS: Sending cmd get_status with params [] [{'msg_seq': 1910, 'clean_time': 1471, 'dnd_enabled': 0, 'map_present': 1, 'fan_power': 90, 'in_cleaning': 0, 'error_code': 0, 'state': 5, 'clean_area': 27017500, 'battery': 83, 'msg_ver': 5}]  Oct 25 18:59:12 SEND BATTERY (VI:): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI36/83" value="83.000" Code="200"/>   Oct 25 18:59:12 Robot reachable Oct 25 18:59:12 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'main_brush_work_time': 183516, 'filter_work_time': 183516, 'sensor_dirty_time': 69312, 'side_brush_work_time': 183516}]  Oct 25 18:59:12 Robot reachable Oct 25 18:59:12 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 18:59:43 GSD Robot 1 wird ausgeführt Oct 25 18:59:43 Robot reachable Oct 25 18:59:43 GET DATA STATUS: Sending cmd get_status with params [] [{'dnd_enabled': 0, 'fan_power': 90, 'in_cleaning': 0, 'clean_time': 1507, 'msg_ver': 5, 'error_code': 0, 'state': 5, 'msg_seq': 1911, 'map_present': 1, 'battery': 83, 'clean_area': 27127500}]  Oct 25 18:59:43 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/25" value="25.000" Code="200"/>   Oct 25 18:59:43 Robot reachable Oct 25 18:59:43 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'main_brush_work_time': 183516, 'side_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'filter_work_time': 183516}]  Oct 25 18:59:43 Robot reachable Oct 25 18:59:43 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:00:13 GSD Robot 1 wird ausgeführt Oct 25 19:00:13 Robot reachable Oct 25 19:00:13 GET DATA STATUS: Sending cmd get_status with params [] [{'state': 5, 'fan_power': 90, 'map_present': 1, 'clean_time': 1561, 'msg_ver': 5, 'battery': 82, 'dnd_enabled': 0, 'msg_seq': 1913, 'error_code': 0, 'in_cleaning': 0, 'clean_area': 28115000}]  Oct 25 19:00:13 SEND BATTERY (VI:): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI36/82" value="82.000" Code="200"/>   Oct 25 19:00:13 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/26" value="26.000" Code="200"/>   Oct 25 19:00:13 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/28" value="28.000" Code="200"/>   Oct 25 19:00:13 Robot reachable Oct 25 19:00:13 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'main_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'filter_work_time': 183516, 'side_brush_work_time': 183516}]  Oct 25 19:00:13 Robot reachable Oct 25 19:00:13 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:00:44 Robot reachable Oct 25 19:00:44 GSD Robot 1 wird ausgeführt Oct 25 19:00:44 GET DATA STATUS: Sending cmd get_status with params [] [{'clean_area': 28810000, 'battery': 82, 'error_code': 0, 'map_present': 1, 'clean_time': 1595, 'dnd_enabled': 0, 'msg_seq': 1914, 'in_cleaning': 0, 'msg_ver': 5, 'state': 5, 'fan_power': 90}]  Oct 25 19:00:44 Robot reachable Oct 25 19:00:44 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'sensor_dirty_time': 69312, 'side_brush_work_time': 183516, 'main_brush_work_time': 183516, 'filter_work_time': 183516}]  Oct 25 19:00:44 Robot reachable Oct 25 19:00:44 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:01:14 GSD Robot 1 wird ausgeführt Oct 25 19:01:14 Robot reachable Oct 25 19:01:14 GET DATA STATUS: Sending cmd get_status with params [] [{'in_cleaning': 0, 'map_present': 1, 'error_code': 0, 'state': 5, 'msg_ver': 5, 'battery': 82, 'fan_power': 90, 'msg_seq': 1915, 'clean_area': 29635000, 'dnd_enabled': 0, 'clean_time': 1626}]  Oct 25 19:01:14 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/27" value="27.000" Code="200"/>   Oct 25 19:01:14 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/29" value="29.000" Code="200"/>   Oct 25 19:01:14 Robot reachable Oct 25 19:01:14 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'filter_work_time': 183516, 'side_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'main_brush_work_time': 183516}]  Oct 25 19:01:14 Robot reachable Oct 25 19:01:14 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params []  Oct 25 19:01:14 SEND CH_COUNT (VI:41): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI41/" value="141.0" Code="200"/>   Oct 25 19:01:14 SEND CH_TIME (VI:43): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI43/" value="3056.0" Code="200"/>   Oct 25 19:01:14 SEND CH_AREA (VI:42): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI42/" value="3196.0" Code="200"/>   ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:01:45 GSD Robot 1 wird ausgeführt Oct 25 19:01:45 Robot reachable Oct 25 19:01:45 GET DATA STATUS: Sending cmd get_status with params [] [{'dnd_enabled': 0, 'clean_area': 29955000, 'msg_ver': 5, 'map_present': 1, 'clean_time': 1656, 'msg_seq': 1917, 'in_cleaning': 0, 'battery': 81, 'error_code': 0, 'state': 5, 'fan_power': 90}]  Oct 25 19:01:45 SEND BATTERY (VI:): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI36/81" value="81.000" Code="200"/>   Oct 25 19:01:45 Robot reachable Oct 25 19:01:45 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'filter_work_time': 183516, 'sensor_dirty_time': 69312, 'main_brush_work_time': 183516, 'side_brush_work_time': 183516}]  Oct 25 19:01:45 Robot reachable Oct 25 19:01:45 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  Oct 25 19:01:45 SEND CH_COUNT (VI:41): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI41/141" value="141.000" Code="200"/>   Oct 25 19:01:45 SEND CH_TIME (VI:43): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI43/3056" value="3056.000" Code="200"/>   Oct 25 19:01:45 SEND CH_AREA (VI:42): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI42/3196" value="3196.000" Code="200"/>   ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:02:15 Robot reachable Oct 25 19:02:15 GSD Robot 1 wird ausgeführt Oct 25 19:02:15 GET DATA STATUS: Sending cmd get_status with params [] [{'msg_ver': 5, 'state': 5, 'dnd_enabled': 0, 'in_cleaning': 0, 'error_code': 0, 'clean_time': 1660, 'battery': 81, 'map_present': 1, 'clean_area': 30070000, 'fan_power': 90, 'msg_seq': 1918}]  Oct 25 19:02:15 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/30" value="30.000" Code="200"/>   Oct 25 19:02:15 Robot reachable Oct 25 19:02:15 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'filter_work_time': 183516, 'side_brush_work_time': 183516, 'main_brush_work_time': 183516, 'sensor_dirty_time': 69312}]  Oct 25 19:02:15 Robot reachable Oct 25 19:02:15 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:02:46 GSD Robot 1 wird ausgeführt Oct 25 19:02:46 Robot reachable Oct 25 19:02:46 GET DATA STATUS: Sending cmd get_status with params [] [{'msg_ver': 5, 'clean_time': 1714, 'battery': 81, 'dnd_enabled': 0, 'map_present': 1, 'state': 5, 'in_cleaning': 0, 'msg_seq': 1919, 'clean_area': 30655000, 'fan_power': 90, 'error_code': 0}]  Oct 25 19:02:46 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/28" value="28.000" Code="200"/>   Oct 25 19:02:46 Robot reachable Oct 25 19:02:46 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'filter_work_time': 183516, 'main_brush_work_time': 183516, 'side_brush_work_time': 183516, 'sensor_dirty_time': 69312}]  Oct 25 19:02:46 Robot reachable Oct 25 19:02:46 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:03:16 Robot reachable Oct 25 19:03:16 GSD Robot 1 wird ausgeführt Oct 25 19:03:16 GET DATA STATUS: Sending cmd get_status with params [] [{'dnd_enabled': 0, 'battery': 80, 'clean_time': 1745, 'state': 5, 'msg_ver': 5, 'clean_area': 31550000, 'error_code': 0, 'map_present': 1, 'msg_seq': 1921, 'in_cleaning': 0, 'fan_power': 90}]  Oct 25 19:03:16 SEND BATTERY (VI:): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI36/80" value="80.000" Code="200"/>   Oct 25 19:03:16 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/29" value="29.000" Code="200"/>   Oct 25 19:03:16 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/31" value="31.000" Code="200"/>   Oct 25 19:03:16 Robot reachable Oct 25 19:03:16 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'sensor_dirty_time': 69312, 'filter_work_time': 183516, 'main_brush_work_time': 183516, 'side_brush_work_time': 183516}]  Oct 25 19:03:16 Robot reachable Oct 25 19:03:16 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:03:47 GSD Robot 1 wird ausgeführt Oct 25 19:03:47 Robot reachable Oct 25 19:03:47 GET DATA STATUS: Sending cmd get_status with params [] [{'clean_area': 32320000, 'in_cleaning': 0, 'fan_power': 90, 'battery': 80, 'msg_ver': 5, 'dnd_enabled': 0, 'msg_seq': 1922, 'state': 5, 'map_present': 1, 'error_code': 0, 'clean_time': 1776}]  Oct 25 19:03:47 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/32" value="32.000" Code="200"/>   Oct 25 19:03:47 Robot reachable Oct 25 19:03:47 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'main_brush_work_time': 183516, 'side_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'filter_work_time': 183516}]  Oct 25 19:03:47 Robot reachable Oct 25 19:03:47 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:04:17 Robot reachable Oct 25 19:04:17 GSD Robot 1 wird ausgeführt Oct 25 19:04:17 GET DATA STATUS: Sending cmd get_status with params [] [{'fan_power': 90, 'msg_ver': 5, 'clean_area': 32422500, 'map_present': 1, 'battery': 80, 'state': 5, 'in_cleaning': 0, 'error_code': 0, 'dnd_enabled': 0, 'msg_seq': 1923, 'clean_time': 1783}]  Oct 25 19:04:17 Robot reachable Oct 25 19:04:17 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'side_brush_work_time': 183516, 'main_brush_work_time': 183516, 'filter_work_time': 183516, 'sensor_dirty_time': 69312}]  Oct 25 19:04:17 Robot reachable Oct 25 19:04:17 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:04:48 Robot reachable Oct 25 19:04:48 GSD Robot 1 wird ausgeführt Oct 25 19:04:48 GET DATA STATUS: Sending cmd get_status with params []  Oct 25 19:04:48 Robot reachable Oct 25 19:04:48 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'filter_work_time': 183516, 'main_brush_work_time': 183516, 'side_brush_work_time': 183516, 'sensor_dirty_time': 69312}]  Oct 25 19:04:48 Robot reachable Oct 25 19:04:48 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:05:18 GSD Robot 1 wird ausgeführt Oct 25 19:05:18 Robot reachable Oct 25 19:05:18 GET DATA STATUS: Sending cmd get_status with params [] [{'clean_time': 1856, 'msg_ver': 5, 'clean_area': 33397500, 'map_present': 1, 'dnd_enabled': 0, 'fan_power': 90, 'state': 5, 'battery': 79, 'error_code': 0, 'in_cleaning': 0, 'msg_seq': 1925}]  Oct 25 19:05:18 SEND BATTERY (VI:): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI36/79" value="79.000" Code="200"/>   Oct 25 19:05:18 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/30" value="30.000" Code="200"/>   Oct 25 19:05:18 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/33" value="33.000" Code="200"/>   Oct 25 19:05:18 Robot reachable Oct 25 19:05:18 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'filter_work_time': 183516, 'main_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'side_brush_work_time': 183516}]  Oct 25 19:05:18 Robot reachable Oct 25 19:05:18 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:05:49 Robot reachable Oct 25 19:05:49 GSD Robot 1 wird ausgeführt Oct 25 19:05:49 GET DATA STATUS: Sending cmd get_status with params [] [{'msg_ver': 5, 'fan_power': 90, 'map_present': 1, 'battery': 79, 'error_code': 0, 'clean_time': 1856, 'msg_seq': 1926, 'state': 5, 'clean_area': 33397500, 'in_cleaning': 0, 'dnd_enabled': 0}]  Oct 25 19:05:49 Robot reachable Oct 25 19:05:49 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'side_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'main_brush_work_time': 183516, 'filter_work_time': 183516}]  Oct 25 19:05:49 Robot reachable Oct 25 19:05:49 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:06:19 GSD Robot 1 wird ausgeführt Oct 25 19:06:19 Robot reachable Oct 25 19:06:19 GET DATA STATUS: Sending cmd get_status with params [] [{'clean_area': 33397500, 'error_code': 0, 'map_present': 1, 'in_cleaning': 0, 'msg_ver': 5, 'state': 5, 'fan_power': 90, 'msg_seq': 1928, 'dnd_enabled': 0, 'clean_time': 1856, 'battery': 78}]  Oct 25 19:06:19 SEND BATTERY (VI:): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI36/78" value="78.000" Code="200"/>   Oct 25 19:06:19 Robot reachable Oct 25 19:06:19 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'main_brush_work_time': 183516, 'side_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'filter_work_time': 183516}]  Oct 25 19:06:19 Robot reachable Oct 25 19:06:19 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:06:50 GSD Robot 1 wird ausgeführt Oct 25 19:06:50 Robot reachable Oct 25 19:06:50 GET DATA STATUS: Sending cmd get_status with params [] [{'clean_area': 33997500, 'clean_time': 1961, 'in_cleaning': 0, 'dnd_enabled': 0, 'msg_seq': 1929, 'battery': 78, 'fan_power': 90, 'map_present': 1, 'msg_ver': 5, 'error_code': 0, 'state': 5}]  Oct 25 19:06:50 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/32" value="32.000" Code="200"/>   Oct 25 19:06:50 Robot reachable Oct 25 19:06:50 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'sensor_dirty_time': 69312, 'main_brush_work_time': 183516, 'filter_work_time': 183516, 'side_brush_work_time': 183516}]  Oct 25 19:06:50 Robot reachable Oct 25 19:06:50 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:07:21 GSD Robot 1 wird ausgeführt Oct 25 19:07:21 Robot reachable Oct 25 19:07:21 GET DATA STATUS: Sending cmd get_status with params [] [{'in_cleaning': 0, 'clean_time': 1991, 'msg_seq': 1931, 'error_code': 0, 'clean_area': 35247500, 'fan_power': 90, 'msg_ver': 5, 'state': 5, 'dnd_enabled': 0, 'battery': 77, 'map_present': 1}]  Oct 25 19:07:21 SEND BATTERY (VI:): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI36/77" value="77.000" Code="200"/>   Oct 25 19:07:21 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/33" value="33.000" Code="200"/>   Oct 25 19:07:21 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/35" value="35.000" Code="200"/>   Oct 25 19:07:21 Robot reachable Oct 25 19:07:21 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'sensor_dirty_time': 69312, 'side_brush_work_time': 183516, 'main_brush_work_time': 183516, 'filter_work_time': 183516}]  Oct 25 19:07:21 Robot reachable Oct 25 19:07:21 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:07:51 Robot reachable Oct 25 19:07:51 GSD Robot 1 wird ausgeführt Oct 25 19:07:51 GET DATA STATUS: Sending cmd get_status with params [] [{'in_cleaning': 0, 'state': 5, 'msg_ver': 5, 'battery': 77, 'fan_power': 90, 'map_present': 1, 'msg_seq': 1932, 'clean_time': 2022, 'error_code': 0, 'clean_area': 36170000, 'dnd_enabled': 0}]  Oct 25 19:07:51 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/36" value="36.000" Code="200"/>   Oct 25 19:07:51 Robot reachable Oct 25 19:07:51 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'main_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'filter_work_time': 183516, 'side_brush_work_time': 183516}]  Oct 25 19:07:51 Robot reachable Oct 25 19:07:51 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  ----------------------------- ROBOT 1 ----------------------------- Oct 25 19:08:22 Robot reachable Oct 25 19:08:22 GSD Robot 1 wird ausgeführt Oct 25 19:08:22 GET DATA STATUS: Sending cmd get_status with params [] [{'battery': 77, 'dnd_enabled': 0, 'error_code': 0, 'clean_time': 2047, 'state': 5, 'fan_power': 90, 'clean_area': 37122500, 'map_present': 1, 'in_cleaning': 0, 'msg_ver': 5, 'msg_seq': 1933}]  Oct 25 19:08:22 SEND TIME (VI:48): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI48/34" value="34.000" Code="200"/>   Oct 25 19:08:22 SEND AREA (VI:47): <?xml version="1.0" encoding="utf-8"?> <LL control="dev/sps/io/VI47/37" value="37.000" Code="200"/>   Oct 25 19:08:22 Robot reachable Oct 25 19:08:22 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'side_brush_work_time': 183516, 'sensor_dirty_time': 69312, 'main_brush_work_time': 183516, 'filter_work_time': 183516}]  Oct 25 19:08:22 Robot reachable Oct 25 19:08:22 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [183366, 3196275000, 141, [1506751200, 1506232800]]  -----------------------------

        Kommentar

        • brau01ma
          Extension Master
          • 06.02.2017
          • 147

          #36
          Sagt mir das, dass mein Roboter nicht erreichbar ist?

          ERROR:miio.device:Unable to discover a device at address 192.168.172.21
          Traceback (most recent call last):
          File "/usr/local/bin/mirobo", line 11, in <module>
          sys.exit(cli())
          File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 722, in __call__
          return self.main(*args, **kwargs)
          File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 697, in main
          rv = self.invoke(ctx)
          File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 1043, in invoke
          return Command.invoke(self, ctx)
          File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 895, in invoke
          return ctx.invoke(self.callback, **ctx.params)
          File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 535, in invoke
          return callback(*args, **kwargs)
          File "/usr/local/lib/python3.4/dist-packages/click/decorators.py", line 17, in new_func
          return f(get_current_context(), *args, **kwargs)
          File "/usr/local/lib/python3.4/dist-packages/miio/vacuum_cli.py", line 86, in cli
          ctx.invoke(status)
          File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 535, in invoke
          return callback(*args, **kwargs)
          File "/usr/local/lib/python3.4/dist-packages/click/decorators.py", line 64, in new_func
          return ctx.invoke(f, obj, *args[1:], **kwargs)
          File "/usr/local/lib/python3.4/dist-packages/click/core.py", line 535, in invoke
          return callback(*args, **kwargs)
          File "/usr/local/lib/python3.4/dist-packages/miio/vacuum_cli.py", line 116, in status
          res = vac.status()
          File "/usr/local/lib/python3.4/dist-packages/miio/vacuum.py", line 97, in status
          return VacuumStatus(self.send("get_status")[0])
          File "/usr/local/lib/python3.4/dist-packages/miio/device.py", line 165, in send
          self.do_discover()
          File "/usr/local/lib/python3.4/dist-packages/miio/device.py", line 118, in do_discover
          raise DeviceException("Unable to discover the device %s" % self.ip)
          miio.device.DeviceException: Unable to discover the device 192.168.172.21

          Kommentar


          • brau01ma
            brau01ma kommentierte
            Kommentar bearbeiten
            Mein xiaomo hat eine feste IP und ein Neustart vom loxberry ändert leider auch nichts..

          • hismastersvoice
            hismastersvoice kommentierte
            Kommentar bearbeiten
            Ja das sagt das er den Roboter unter Adresse nicht findet.

          • brau01ma
            brau01ma kommentierte
            Kommentar bearbeiten
            und woran liegt das? Die Statusmeldungen bekomme ich alle...
        • brau01ma
          Extension Master
          • 06.02.2017
          • 147

          #37
          Ich kann den Roboter per Ping erreichen, dabei ein Screenshot des ausgelesenen Token. alles dementsprechend in der Loxconfig und auf dem Loxberry eingetragen.

          Kommentar


          • brau01ma
            brau01ma kommentierte
            Kommentar bearbeiten
            Im Debugger sagt er ja auch !Oct 26 17:35:17 Robot reachable" also erreichbar? warum nicht über Putty?
        • brau01ma
          Extension Master
          • 06.02.2017
          • 147

          #38
          So hallo, ich nochmal...

          ich hatte in der Loxconfig die IP-Adresse meines Roboters eingetragen. Als ich mir eben mal genauer Gedanken darüber gemacht habe, musste ich feststellen, dass das ja so garnicht funktionieren kann. Jetzt habe ich die IP des Loxberry in die LoxConfig eingetragen und siehe da, der Roboter lässt sich steuern!

          Trotzdem vielen Dank an alle die sich die mühe gemacht haben mich zu unterstützen!!

          Kommentar


          • Chris8519
            Chris8519 kommentierte
            Kommentar bearbeiten
            Versuche mal das aus post #34.1

          • brau01ma
            brau01ma kommentierte
            Kommentar bearbeiten
            Ich habe keine Probleme mehr, es funktioniert
        • hismastersvoice
          Supermoderator
          • 25.08.2015
          • 7318

          #39
          Auszug aus dem LoxWiki
          Ihr müsst die VTI uns VI anlegen und bei den Ausgängen die IP des Loxberry und den Port den ihr verwendet eintragen.
          Aber hat sich ja erledigt, viel Spaß damit.
          Kein Support per PN!

          Kommentar

          • tholle
            MS Profi
            • 26.08.2015
            • 830

            #40
            Hi hismastersvoice,

            gestern Abend kam endlich auch mein Sauger. Cooles Teil fuer den Preis. Definitiv!
            Das Ding hat zwei Vorteile. Zum einen saugt es Staub, was nicht weiter verwunderlich ist, aber zum Anderen, und das ist ein sehr geiler Nebeneffekt, bringt er meine beide Kinder dazu, ihre Zimmer mehr oder weniger aufzuraeumen, weil sie jetzt Angst haben, dass der Sauger alles einsaugt, was auf dem Boden liegt, wenn er drueber faehrt. Klasse!

            Jetzt aber zu deinem Plugin. Ich musste 'mirobo' manuell nach installieren. Dein Plugin hat es zwar installiert, allerdings, scheint beim Installieren ein Fehler aufgetreten zu sein, weshalb das tool von deinem Plugin nicht benutzbar war.

            Der Fehler aeusserte sich so:
            Code:
            tholle@loxberry:~ $ mirobo discover --handshake 1
            Traceback (most recent call last):
              File "/usr/local/bin/mirobo", line 7, in <module>
                from miio.vacuum_cli import cli
              File "/usr/local/lib/python3.4/dist-packages/miio/__init__.py", line 2, in <module>
                from miio.protocol import Message, Utils
              File "/usr/local/lib/python3.4/dist-packages/miio/protocol.py", line 18, in <module>
                from cryptography.hazmat.primitives import padding
              File "/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/primitives/padding.py", line 13, in <module>
                from cryptography.hazmat.bindings._padding import lib
            ImportError: No module named '_cffi_backend'
            Nach dem erneuten manuellen Installieren hat es dann funktioniert:
            Code:
            tholle@loxberry:~ $ sudo pip3 install python-miio
            Requirement already satisfied: python-miio in /usr/local/lib/python3.4/dist-packages
            Requirement already satisfied: typing in /usr/local/lib/python3.4/dist-packages (from python-miio)
            Requirement already satisfied: attrs in /usr/local/lib/python3.4/dist-packages (from python-miio)
            Requirement already satisfied: zeroconf in /usr/local/lib/python3.4/dist-packages (from python-miio)
            Requirement already satisfied: cryptography in /usr/local/lib/python3.4/dist-packages (from python-miio)
            Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages (from python-miio)
            Requirement already satisfied: click in /usr/local/lib/python3.4/dist-packages (from python-miio)
            Requirement already satisfied: construct in /usr/local/lib/python3.4/dist-packages (from python-miio)
            Requirement already satisfied: pretty-cron in /usr/local/lib/python3.4/dist-packages (from python-miio)
            Requirement already satisfied: netifaces!=0.10.5 in /usr/local/lib/python3.4/dist-packages (from zeroconf->python-miio)
            Requirement already satisfied: enum-compat in /usr/local/lib/python3.4/dist-packages (from zeroconf->python-miio)
            Requirement already satisfied: six in /root/.local/lib/python3.4/site-packages (from zeroconf->python-miio)
            Requirement already satisfied: idna>=2.1 in /usr/local/lib/python3.4/dist-packages (from cryptography->python-miio)
            Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python3.4/dist-packages (from cryptography->python-miio)
            Collecting cffi>=1.7 (from cryptography->python-miio)
              Downloading cffi-1.11.2.tar.gz (435kB)
                100% |████████████████████████████████| 440kB 284kB/s
            Collecting pycparser (from cffi>=1.7->cryptography->python-miio)
              Downloading pycparser-2.18.tar.gz (245kB)
                100% |████████████████████████████████| 256kB 498kB/s
            Building wheels for collected packages: cffi, pycparser
              Running setup.py bdist_wheel for cffi ... done
              Stored in directory: /root/.cache/pip/wheels/a8/75/48/61f9b541f643e50c17955a605a83e9ef63dec4f12ca8f234a6
              Running setup.py bdist_wheel for pycparser ... done
              Stored in directory: /root/.cache/pip/wheels/95/14/9a/5e7b9024459d2a6600aaa64e0ba485325aff7a9ac7489db1b6
            Successfully built cffi pycparser
            Installing collected packages: pycparser, cffi
            Successfully installed cffi-1.11.2 pycparser-2.18

            Hier der Test:
            Code:
            tholle@loxberry:~ $ sudo mirobo --ip 192.168.xxx.xxx --token dertokengehteuchnichtsan
            State: Charging
            Battery: 100 %
            Fanspeed: 60 %
            Cleaning since: 0:53:02
            Cleaned area: 49.5 m²
            Das nur so als Info.

            Jetzt zu meiner eigentlichen Frage:

            Ich habe in der LoxConfig mal die VIs und VTIs angelegt, bekomme aber bei einigen komische Werte, welche nicht passen/stimmen koennen:
            z.B: Battery ist eindeutig 100% (siehe Ausgabe von mirobo weiter oben) in der LoxConfig aber auf 16,0 (MI Robot Akku).
            Oder die Werte MI Robot Sate Messages, MI Robot Error Messages, MI Robot CHA (Cleaning History Area) und MI Robot CHT (Cleaning History Time) zeigen nichts oder 0 an. Kann auch nicht sein.

            Hast du eine Ahnung, woran das liegen kann?

            thx und Gruss,
            tholle

            Edit:// aktueller Logauszug:

            Code:
             
             ROBOT 1 ----------------------------- Okt 27 13:12:03 Robot reachable Okt 27 13:12:03 GSD Robot 1 wird ausgeführt Okt 27 13:12:03 GET DATA STATUS: Sending cmd get_status with params [] [{'error_code': 0, 'in_cleaning': 0, 'msg_ver': 5, 'dnd_enabled': 0, 'msg_seq': 1027, 'state': 8, 'map_present': 1, 'battery': 100, 'fan_power': 60, 'clean_area': 49500000, 'clean_time': 3182}]  Okt 27 13:12:03 Robot reachable Okt 27 13:12:03 GET DATA CONSUMABLES: Sending cmd get_consumable with params [] [{'filter_work_time': 9421, 'sensor_dirty_time': 9421, 'side_brush_work_time': 9421, 'main_brush_work_time': 9421}]  Okt 27 13:12:03 Robot reachable Okt 27 13:12:03 GET DATA CLEANING HISTORY: Sending cmd get_clean_summary with params [] [9421, 142885000, 6, [1509084000, 1509062400, 1508997600]]  ----------------------------- Okt 27 13:12:19 Service mirobo2lox wurde durch Config-Watchdog neu gestartet Okt 27 13:12:19 Service mirobo2lox wird beendet Okt 27 13:12:19 Service udp_receiver wird beendet Okt 27 13:12:19 Service mirobo2lox gestartet Okt 27 13:12:19 Service udp_receiver gestartet
            Zuletzt geändert von tholle; 27.10.2017, 12:40. Grund: Logauszug hinzugefuegt

            Kommentar

            • tholle
              MS Profi
              • 26.08.2015
              • 830

              #41

              Kommentar

              • hismastersvoice
                Supermoderator
                • 25.08.2015
                • 7318

                #42
                Ich werde das mal ansehen, CH wird bei mir wohl auch nicht mehr aktualisiert.
                Denke das sich das Format der Übergabe geändert hat.

                Batt wird bei mir aber sauber mit xx% angezeigt wie in der App

                Install wurde von mir geändert und wird ins nächste Update übernommen.

                Kein Support per PN!

                Kommentar

                • tholle
                  MS Profi
                  • 26.08.2015
                  • 830

                  #43
                  Akku/Batt stimmt bei mir jetzt auch. Lediglich die anderen Werte werden nicht oder mit 0 angezeigt.

                  Dont' worry!

                  Gruss,
                  tholle

                  EDIT://MI Robot CHA und MI Robot CHT passen jetzt auch. - Nur die beiden Messages-Werte gehen noch nicht. Liegt vielleicht am VTI.
                  Zuletzt geändert von tholle; 27.10.2017, 13:15.

                  Kommentar

                  • Buellpower
                    LoxBus Spammer
                    • 05.10.2015
                    • 223

                    #44
                    Mal noch ein kleiner Hinweis zu einem Stolperstein, der mich viel Zeit gekostet hat.
                    Einrichtung hat soweit geklappt, dass Daten zum Loxberry übertragen werden. Haben VI zum testen in Loxone angelegt. Im Plugin hatte ich alle Daten auf übertragen gestellt und NUR beim entsprechenden Datensatz die VI Nummer eingetragen. Resultat: keine Daten wurden an Loxone übertragen. Erst als ich einfach bei allen anderen Datensätzen im Plugin auch einfach (fiktive) VI Nummern eingetragen hatte (in Loxone selbst noch gar nicht angelegt), wurde auch mein "echter" Test VI übertragen. Also besser kein Feld leer lassen, auch wenn es laut Loxwiki eigentlich so gehen sollte.
                    http://www.projekt-stadthaus.blogspot.de/

                    Kommentar

                    • hismastersvoice
                      Supermoderator
                      • 25.08.2015
                      • 7318

                      #45
                      Danke für den Hinweis...

                      Ich habe einen Hinweis ins Wiki geschrieben.
                      Werde beim nächsten Update eine Prüfung aus "leere" Variablen einfügen.

                      Es steht im LoxWiki doch nirgends explizit das es ohne gehen sollte oder habe ich was übersehen?
                      Kein Support per PN!

                      Kommentar


                      • hismastersvoice
                        hismastersvoice kommentierte
                        Kommentar bearbeiten
                        Ich habe gerade den Code nochmal angeschaut, an und für sich passt das schon.
                        Was hast du genau leer gelassen?

                      • Buellpower
                        Buellpower kommentierte
                        Kommentar bearbeiten
                        Alle "Send-Schalter" auf "ON" und gleichzeitig aber alle VI und VTI Felder leer gelassen (bis halt die eine Nummer des in Loxone angelegten VI). Resultat, keine Daten sind angekommen. Erst als ich in die leeren Felder überall fiktive (nicht vergebene) Nummern eingetragen habe kamen Daten an. Als Test hatte ich den Batteriestatus genommen.

                      • hismastersvoice
                        hismastersvoice kommentierte
                        Kommentar bearbeiten
                        Danke... Werde ich versuchen nachzustellen
                    Lädt...