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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter Midea Dimstal Klimaanlagen v0.0.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                    • Thomas Braun
                                      Thomas Braun Most Active @ARaS last edited by

                                      @aras

                                      Stretch ist seit zwei Jahren tot:

                                      27f1aaba-b155-4418-9eb3-293677a946eb-image.png

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

                                        Dann erst mal danke für die Info. Heißt für mich; einmal alles neu machen, oder? Also den Raspberry "platt" machen, neues OS drauf und dann den iobroker wieder drauf packen?

                                        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:

                                          Also den Raspberry "platt" machen, neues OS drauf und dann den iobroker wieder drauf packen?

                                          Geht vermutlich am schnellsten und komplikationslosesten. Backup (mindestens vom ioBroker) haben ist schwer von Vorteil bei der ganzen Aktion.

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

                                            Wird dann wohl doch eher ne Aufgabe für den Winter... Meinst du, ich könnte den ioBroker mit Backup dann direkt wieder einspielen? So ne Zwischenidee, damit ich den Midea Adapter mal installiert bekomme hast du nicht zufällig, oder?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            826
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            dimstal midea nethome nethome plus
                                            63
                                            363
                                            62953
                                            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