Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Midea Dimstal Klimaanlagen v0.0.x

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Midea Dimstal Klimaanlagen v0.0.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tombox @ARaS last edited by

      @aras Korrekt der Adapter benötigt mindestens python 3.8

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

        @aras

        Aktuelle Debian-Releases kommen mit python 3.9 daher.
        Vielleicht die Gelegenheit das sinkende Schiff deiner bisherigen Distribution zu verlassen.

        1 Reply Last reply Reply Quote 0
        • T
          toralt @Thomas Braun last edited by

          @thomas-braun
          Danke für die Info. Ich habe davon leider wenig Ahnung, daher verstehe ich zwar theoretisch was Du mir sagen willst, aber mir stellt sich dann wiederum die Frage, warum es jetzt nicht geht aber vorher ging? Wenn ich das richtig sehe, dann hat sich die Python Version geändert? D.h. es gab mal eine "Brücke" aber die braucht ein update?

          Und noch eine Frage, also es ist aktuell korrekt, dass der Adapter "läuft" aber nichts aktualisiert? Oder sollte er aktualisieren aber ich hab da irgendwo einen Bock?
          Ich hatte bzw habe meine Klimaanlagen via Yahka und diesem Adapter in Homekit, was wunderbar zu bedienen ging. Die MSmarthome App empfinde ich als mittlere Katastrophe, sehr langsam und man muss sich ständig neu anmelden.

          Thomas Braun T 3 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @toralt last edited by

            @toralt

            Der Adapter wurde weiterentwickelt und fußt jetzt auf Python 3.8 oder neuer. Das musst du dem System zur Verfügung stellen.
            Das aktuelle stable Release von Debian names 'Bullseye' würde das von Haus aus mitbringen. Was auch immer du da bewegst vielleicht nicht.

            1 Reply Last reply Reply Quote 0
            • T
              tombox @toralt last edited by

              @toralt Entweder distribution updaten oder python3 oder eine
              alte version vom adapter nehmen
              Unter Adapter
              Expertenmodus aktivieren
              und dann das letzte Icon auswählen
              b4b7c501-97a8-44a6-94a8-7c105c560550-image.png

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

                @toralt sagte in Test Adapter Midea Dimstal Klimaanlagen v0.0.x:

                D.h. es gab mal eine "Brücke" aber die braucht ein update?

                Jein, mit der alten midea API / App funktioniert das im Moment noch, aber mit der neuen API / App muss noch eine Brücke vom ioBroker-Adapter zur python library geschlagen werden.

                T 1 Reply Last reply Reply Quote 0
                • T
                  toralt @Thomas Braun last edited by

                  @thomas-braun
                  Ahh, ok, dass ist das Problem. Ich hatte nachdem der Adapter nicht mehr funktionierte auf die neue App umgestellt.
                  Python 3.9 läuft auf meinem Docker Image soweit ich das gesehen habe.

                  @tombox and @thomas-braun
                  Danke Euch beiden, jetzt hab ich das Problem verstanden. MSmarthome und der Adpater geht aktuell nicht, midea App und Adapter funktioniert nach wie vor.

                  1 Reply Last reply Reply Quote 0
                  • A
                    ARaS last edited by

                    Ich habe nun Python 3.9 am laufen. Aber leider bekomme ich immer noch die Fehlermeldung, dass ich mind. Python 3.8 brauche, damit ich den Adapter installieren kann. Jemand ne Idee was da noch hängt? 🤷‍♂️

                    T Thomas Braun 2 Replies Last reply Reply Quote 0
                    • T
                      tombox @ARaS last edited by

                      @aras Wie ist die genaue debug ausgäbe beim installieren

                      was kommt bei

                      python -V
                      python3 -V
                      
                      sudo su iobroker
                      python3 -V
                      
                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @ARaS last edited by

                        @aras

                        Wo/wie bist du denn da unterwegs?

                        sudo ln -s /usr/bin/node /usr/bin/nodejs
                        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        python --version
                        

                        Ist zwar eigentlich für was anderes, aber liefert auch sonst einen guten Anhaltspunkt...

                        1 Reply Last reply Reply Quote 0
                        • A
                          ARaS last edited by

                          Also unter python -V habe ich nun die neu installierte Python Version 3.9.12. Python3 hab ich da jetzt nicht mehr verknüpft.

                          Beim installieren kommt folgende Meldung:

                          npm ERR! code 1
                          npm ERR! git dep preparation failed
                          npm ERR! command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/iobroker/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
                          npm ERR! > iobroker.midea@0.1.0 postinstallnpm ERR! > node ./pythonPackages.jsnpm ERR! npm ERR! npm ERR! Start Python package installationnpm ERR! npm ERR! Python 3 not found. Please install minimum python 3.8npm ERR! npm WARN using --force Recommended protections disabled.npm ERR! /bin/sh: 1: python3: not foundnpm ERR! npm ERR! code 1npm ERR! npm ERR! path /home/iobroker/.npm/_cacache/tmp/git-clonenZK3zUnpm ERR! npm ERR! command failednpm ERR! npm ERR! command sh -c node ./pythonPackages.jsnpm ERR! npm ERR! npm ERR! A complete log of this run can be found in:npm ERR! npm ERR! /home/iobroker/.npm/_logs/2022-07-25T14_49_37_774Z-debug-0.log
                          npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-07-25T14_49_22_118Z-debug-0.log
                          host.raspberrypi Cannot install TA2k/ioBroker.midea#6e0c2b5bf9a3f7f19b7827bf20bc2b48c0281d96: 1
                          ERROR: Process exited with code 25
                          
                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tombox @ARaS last edited by

                            @aras die symlinks für python3 werden eigentlich automatisch angelegt. Wie hast du es genau installiert

                            1 Reply Last reply Reply Quote 0
                            • A
                              ARaS last edited by

                              Ich hab das nach der Vorlage hier gemacht https://allurcode.com/install-latest-version-of-python-on-raspberry-pi/
                              Da es aber erst mal nicht funktioniert hat, habe ich die Verknüpfung anstatt auf Python3 direkt auf Python gesetzt.

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

                                @aras

                                Macht man nicht so.
                                Was hast du denn da nun für ein System?

                                1 Reply Last reply Reply Quote 0
                                • A
                                  ARaS last edited by

                                  Ok... Naja, so wirklich kenne ich mich da halt nicht aus... Sorry. Ich hab nen Raspberry PI 3 mit Rasbian drauf, da läuft der ioBroker. Bis jetzt auch ohne größere Probleme. Die Anbindung meiner Midea Klimaanlagen wäre halt jetzt noch ne schöne Sache.

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

                                    @aras sagte in Test Adapter Midea Dimstal Klimaanlagen v0.0.x:

                                    Die Anbindung meiner Midea Klimaanlagen wäre halt jetzt noch ne schöne Sache.

                                    Über die python-Schnittstelle (für die neue API) funktioniert das momentan eh noch nicht.

                                    Was kommt auf

                                    sudo ln -s /usr/bin/node /usr/bin/nodejs
                                    uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                    python --version
                                    

                                    denn nun zurück?

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      ARaS last edited by

                                      Da kommt das hier zurück:

                                      /usr/bin/nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      v16.16.0
                                      v16.16.0
                                      8.11.0
                                      pi
                                      /home/pi
                                      OK:1 http://archive.raspberrypi.org/debian stretch InRelease
                                      OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                                      OK:3 https://deb.nodesource.com/node_16.x stretch InRelease
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Aktualisierung für 100 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                      nodejs:
                                        Installiert:           16.16.0-1nodesource1
                                        Installationskandidat: 16.16.0-1nodesource1
                                        Versionstabelle:
                                       *** 16.16.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_16.x stretch/main armhf Packages
                                              100 /var/lib/dpkg/status
                                           8.11.1~dfsg-2~bpo9+1 500
                                              500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
                                           4.8.2~dfsg-1 500
                                              500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @ARaS last edited by

                                        @aras

                                        Achdujeh...

                                        Steinalt, ausgestorben.

                                        Installier da was lebendiges.

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          ARaS last edited by

                                          Mit was "lebendigem" meinst du jetzt in Form des gesamten Raspberry's?

                                          Thomas Braun 2 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @ARaS last edited by Thomas Braun

                                            @aras

                                            Ja. 'Lebendig' ist das aktuelle Release 'Bullseye'. Selbst der Nachfolger ('Buster') zu deinem 'Stretch' steht kurz vor seinem End of Life.

                                            Das kommt dann auch mit python 3 daher und du musst da nicht so ein herumgeturne auf einem längst toten Pferd machen.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            896
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            dimstal midea nethome nethome plus
                                            60
                                            346
                                            55970
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo