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.
    • G
      gosund @tombox last edited by gosund

      @tombox
      Leider funktioniert die 0.1.0 nicht bei mir:

      midea.0
      	2022-09-11 14:38:09.030	error	*** PY *** Python Error Call to 'appliance_state' failed: > appliance_state = await this.midea_beautiful.appliance_state$({ at async Midea.updateDevices (/opt/iobroker/node_modules/iobroker.midea/main.js:156:29) at async Midea.onReady (/opt/iobroker/node_modules/iobroker.midea/main.js:80:5) ... across the bridge ... > six.raise_from(e, None) at _make_request (/usr/lib/python3/dist-packages/urllib3/connectionpool.py:445) at raise_from (<string>:3) > httplib_response = conn.getresponse() at _make_request (/usr/lib/python3/dist-packages/urllib3/connectionpool.py:440) > response.begin() at getresponse (/usr/lib/python3.9/http/client.py:1347) > version, status, reason = self._read_status() at begin (/usr/lib/python3.9/http/client.py:307) > line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") at _read_status (/usr/lib/python3.9/http/client.py:268) > return self._sock.recv_into(b) at readinto (/usr/lib/python3.9/socket.py:704) > return self.read(nbytes, buffer) at recv_into (/usr/lib/python3.9/ssl.py:1241) > return self._sslobj.read(len, buffer) at read (/usr/lib/python3.9/ssl.py:1099) > resp = conn.urlopen( at send (/usr/lib/python3/dist-packages/requests/adapters.py:439) > retries = retries.increment( at urlopen (/usr/lib/python3/dist-packages/urllib3/connectionpool.py:755) > raise six.reraise(type(error), error, _stacktrace) at increment (/usr/lib/python3/dist-packages/urllib3/util/retry.py:532) > raise value at reraise (/usr/lib/python3/dist-packages/six.py:719) > httplib_response = self._make_request( at urlopen (/usr/lib/python3/dist-packages/urllib3/connectionpool.py:699) > self._raise_timeout(err=e, url=url, timeout_value=read_timeout) at _make_request (/usr/lib/python3/dist-packages/urllib3/connectionpool.py:447) > raise ReadTimeoutError( at _raise_timeout (/usr/lib/python3/dist-packages/urllib3/connectionpool.py:336) > response = requests.post( at api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:273) > return request('post', url, data=data, json=json, **kwargs) at post (/usr/lib/python3/dist-packages/requests/api.py:119) > return session.request(method=method, url=url, **kwargs) at request (/usr/lib/python3/dist-packages/requests/api.py:61) > resp = self.send(prep, **send_kwargs) at request (/usr/lib/python3/dist-packages/requests/sessions.py:542) > r = adapter.send(request, **kwargs) at send (/usr/lib/python3/dist-packages/requests/sessions.py:655) > raise ReadTimeout(e, request=request) at send (/usr/lib/python3/dist-packages/requests/adapters.py:529) > appliance.identify(cloud, use_cloud) at appliance_state (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:1046) > self.refresh(cloud if use_cloud else None) at identify (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:831) > responses = self._status(cmd, cloud) at refresh (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:381) > responses = cloud.appliance_transparent_send(self.appliance_id, data) at _status (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:538) > response = self.api_request( at appliance_transparent_send (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:526) > return self._retry_api_request( at api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:285) > return self.api_request( at _retry_api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:342) > return self._retry_api_request( at api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:285) > return self.api_request( at _retry_api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:342) > return self._retry_api_request( at api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:285) > self._retry_check(endpoint, cause) at _retry_api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:335) > raise CloudRequestError( at _retry_check (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:350) *** JS *** midea_beautiful.exceptions.CloudRequestError: Too many retries while calling /v1/appliance/transparent/send, last error HTTPSConnectionPool(host='mapp.appsmb.com', port=443): Read timed out. (read timeout=2)
      midea.0
      	2022-09-11 14:38:09.029	error	Error
      midea.0
      	2022-09-11 14:37:50.251	info	function () { [native code] }
      midea.0
      	2022-09-11 14:37:50.249	info	[{id=145135534918692, address=xx.xx.xx.xx, port=6444, version=3, name=KLIMAANLAGE_XXXX, online=True, type=0xac, subtype=0, flags=0, extra=1, reserved=0, mac=30b23748e50f, ssid=net_ac_E50F, udp_version=4000000, protocol=069fcd, version=3.0.8, sn=000000P0000000Q130B2XXXXXXXX0000, state=[Air conditioner]{id=14500000000****, type=0xac mode=4, running=False, turbo=False, fan_speed=102, turbo_fan=False, purifier=False, dryer=False, target_temperature=28.0, indoor_temperature=24.4, outdoor_temperature=2.2250738585072014e-308, vertical_swing=False horizontal_swing=False comfort_sleep=False, error_code=0, prompt=False, supports={'eco': 1, 'mode': 1, 'fan_swing': 1, 'electricity': 0, 'strong_fan': 1, 'fan_speed': 1, 'temperature0': 32, 'temperature1': 60, 'temperature2': 32, 'temperature3': 60, 'temperature4': 32, 'temperature5': 60, 'temperature6': 0}}}]
      midea.0
      	2022-09-11 14:37:50.246	info	Found 1 devices
      
      T 1 Reply Last reply Reply Quote 0
      • T
        tombox @gosund last edited by

        @gosund Das sieht aber nicht so schlecht aus. Ein Objekt müsste eigentlich geschrieben haben. Kommt der Fehler bei jedem Update oder unregelmäßig.

        G 1 Reply Last reply Reply Quote 0
        • G
          gosund @tombox last edited by

          @tombox
          Ist gerade etwas schwierig, da ich wieder auf meine alte Installation umgeschaltet habe. Soweit ich das sehe, kommt der Fehler, wenn ich versuche die Anlage über das Objekt einzuschalten.

          Welche App soll ich in den Einstellungen wählen?
          Kommuniziert Dein Adapter eigentlich über die Cloud oder direkt mit der Anlage im LAN?

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

            @gosund Über die cloud. App muss man wählen bei der man registriert bzw austesten

            reindeer-web S 2 Replies Last reply Reply Quote 0
            • reindeer-web
              reindeer-web @tombox last edited by

              @tombox
              Ich nutze den Entfeuchter Midea MDDF-20DEN7-WF.
              Mit der Version 0.1.0 ist es mir jetzt endlich gelungen, Datenpunkte zu erhalten, die ich in meiner Visualisierung anzeigen lassen kann.
              Leider kommen immer wieder (alle paar Stunden) diese beiden identischen Fehlermeldungen:

              SyntaxError: Unexpected token b in JSON at position 84 at JSON.parse (<anonymous>) at Midea.updateDevices (/opt/iobroker/node_modules/iobroker.midea/main.js:166:32) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
              
              SyntaxError: Unexpected token b in JSON at position 84
              
              1 Reply Last reply Reply Quote 0
              • S
                stefan-ohg @tombox last edited by stefan-ohg

                Post bitte ignorieren, habe meinen Fehler gefunden, kann den Post aber nicht löschen.
                Gruß Stefan

                1 Reply Last reply Reply Quote 0
                • M
                  Marc9025 last edited by

                  @tombox
                  Erstmal vielen dank für deine Mühe.
                  Ich habe 2 Fragen 😉
                  Leider bekomme ich den Adapter bei mir nicht installiert das steht im log :


                  host.raspberrypi
                  2022-10-06 10:03:41.408 info iobroker exit 0
                  host.raspberrypi
                  2022-10-06 10:03:40.307 info iobroker upload [0] midea.admin /opt/iobroker/node_modules/iobroker.midea/admin/midea.png midea.png image/png
                  host.raspberrypi
                  2022-10-06 10:03:40.295 info iobroker upload [1] midea.admin /opt/iobroker/node_modules/iobroker.midea/admin/jsonConfig.json jsonConfig.json application/json
                  host.raspberrypi
                  2022-10-06 10:03:40.193 info iobroker upload [2] midea.admin /opt/iobroker/node_modules/iobroker.midea/admin/index_m.html index_m.html text/html
                  host.raspberrypi
                  2022-10-06 10:03:40.074 info iobroker 143 packages are looking for funding run npm fund for details
                  host.raspberrypi
                  2022-10-06 10:03:37.088 info iobroker + iobroker.midea@0.1.0updated 1 package in 301.601s
                  host.raspberrypi
                  2022-10-06 10:03:37.086 info iobroker npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                  host.raspberrypi
                  2022-10-06 10:03:37.052 info iobroker npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                  host.raspberrypi
                  2022-10-06 10:03:37.011 info iobroker npm WARN pythonia@1.0.0 requires a peer of ws@^7.5.1 but none is installed. You must install peer dependencies yourself.
                  host.raspberrypi
                  2022-10-06 10:03:36.979 info iobroker npm WARN http-cookie-agent@4.0.1 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself.
                  host.raspberrypi
                  2022-10-06 10:03:36.949 info iobroker npm WARN crc@4.1.1 requires a peer of buffer@>=6.0.3 but none is installed. You must install peer dependencies yourself.
                  host.raspberrypi
                  2022-10-06 10:03:30.908 info iobroker Installing midea-beautiful-air
                  host.raspberrypi
                  2022-10-06 10:03:30.907 info iobroker pip 22.2.2 from /home/iobroker/.local/lib/python3.9/site-packages/pip (python 3.9)
                  host.raspberrypi
                  2022-10-06 10:03:24.788 info iobroker Python 3 found
                  host.raspberrypi
                  2022-10-06 10:03:24.787 info iobroker Python 3.9.2
                  host.raspberrypi
                  2022-10-06 10:03:24.763 info iobroker Start Python package installation
                  host.raspberrypi
                  2022-10-06 10:03:24.761 info iobroker
                  host.raspberrypi
                  2022-10-06 10:03:24.617 info iobroker > iobroker.midea@0.1.0 postinstall /opt/iobroker/node_modules/iobroker.midea> node ./pythonPackages.js
                  host.raspberrypi
                  2022-10-06 10:03:24.616 info iobroker

                  ist es vielleicht weil ich eine 64 Bit Version habe?

                  Ich habe eine Quick Connet Klimaanlage von Dimstal. Leider benutz diese eine andere app.
                  https://play.google.com/store/apps/details?id=com.broadlink.acfreedom&hl=de&gl=US
                  ist da die Einbindung auch möglich?

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

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

                    ist es vielleicht weil ich eine 64 Bit Version habe?

                    Nein, bei mir läuft der Adapter auch auf einem 64bit RaspberryOS.

                    Dein Log ist auch nicht vollständig. Der Anfang und das Ende fehlt vermutlich.

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

                      @marc9025 Installation sieht gut aus. Hast du manuell eine Instanz erstellt?

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Marc9025 @tombox last edited by

                        @tombox
                        ich habe jetzt noch mal installiert und das zeigt er mir an.
                        Unter Instanzen wird der Adapter mir nicht angezeigt aber unter Objekten gibt es einen Ordner midea. Da gibt es aber nur den Ordner admin


                        $ iobroker url https://github.com/TA2k/ioBroker.midea --host raspberrypi --debug

                        install TA2k/ioBroker.midea#6e0c2b5bf9a3f7f19b7827bf20bc2b48c0281d96

                        NPM version: 6.14.17

                        Installing TA2k/ioBroker.midea#6e0c2b5bf9a3f7f19b7827bf20bc2b48c0281d96... (System call)

                        iobroker.midea@0.1.0 postinstall /opt/iobroker/node_modules/iobroker.midea> node ./pythonPackages.js

                        Start Python package installation

                        Python 3.9.2Python 3 found

                        pip 22.2.2 from /home/iobroker/.local/lib/python3.9/site-packages/pip (python 3.9)Installing midea-beautiful-air

                        WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out. (read timeout=15)")': /simple/midea-beautiful-air/WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.piwheels.org', port=443): Read timed out. (read timeout=15)")': /simple/midea-beautiful-air/

                        npm WARN crc@4.1.1 requires a peer of buffer@>=6.0.3 but none is installed. You must install peer dependencies yourself.

                        npm WARN http-cookie-agent@4.0.1 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself.

                        npm WARN pythonia@1.0.0 requires a peer of ws@^7.5.1 but none is installed. You must install peer dependencies yourself.

                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):

                        • iobroker.midea@0.1.0updated 1 package in 356.909s

                        143 packages are looking for funding run npm fund for details

                        upload [2] midea.admin /opt/iobroker/node_modules/iobroker.midea/admin/index_m.html index_m.html text/html

                        upload [1] midea.admin /opt/iobroker/node_modules/iobroker.midea/admin/jsonConfig.json jsonConfig.json application/json

                        upload [0] midea.admin /opt/iobroker/node_modules/iobroker.midea/admin/midea.png midea.png image/png

                        Process exited with code 0

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

                          @marc9025 Python packages ist zur zeit sehr langsam probier in ein paar stunden nochmal

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            Marc9025 @tombox last edited by

                            @tombox
                            jetzt hat es funktioniert.

                            Jetzt aber zu meiner 2 Frage 🙂
                            ich habe ja nicht die midea app sondern die AC Freedom. Damit wird es nicht gehen oder ?

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

                              @marc9025 https://github.com/TA2k/ioBroker.midea/issues/154

                              DraycD created this issue in TA2k/ioBroker.midea

                              open New Dimstal AC not compatible? #154

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                Marc9025 @tombox last edited by

                                @tombox
                                aber ich gerade gesehen.
                                Braust du noch Zugansdaten zum testen ?

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

                                  @marc9025 Nein die Geräte können nicht in den adapter integriert werden

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    Marc9025 @tombox last edited by

                                    @tombox
                                    okay das ist schade, dann habe ich wohl Pech gehabt.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Marc9025 last edited by

                                      @tombox

                                      hallo noch mal,
                                      ich habe versucht die Klimaanlage von einem Kollegen hinzuzufügen (nethome app).
                                      Der Login hat geklappt und er übergibt auch den String mit den daten(im log)
                                      Aber er erstellt keine Datenpunkte und er gibt die Beiden Fehler aus:


                                      midea.0
                                      2022-10-06 15:27:32.344 error TypeError: objectString.replaceAll is not a function at Midea.pythonToJson (/opt/iobroker/node_modules/iobroker.midea/main.js:177:8) at Midea.getDeviceList (/opt/iobroker/node_modules/iobroker.midea/main.js:115:36) at processTicksAndRejections (internal/process/task_queues.js:95:5) at Midea.onReady (/opt/iobroker/node_modules/iobroker.midea/main.js:79:5)

                                      midea.0
                                      2022-10-06 15:27:32.338 error TypeError: objectString.replaceAll is not a function

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

                                        @marc9025 Sicher eine node 14 installation. Bitte nochmal installieren dann sollte es auch damit gehen

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          Marc9025 @tombox last edited by

                                          @tombox
                                          die ist schon drauf.


                                          PlatformBetriebssystem:linux
                                          Architektur:arm64
                                          CPUs:4
                                          Geschwindigkeit:1500 MHz
                                          Modell:unknown
                                          RAM:3.7 GB
                                          System-Betriebszeit:22:37:51
                                          Node.js:v14.20.1
                                          time:1665052542656
                                          timeOffset:-120
                                          Adapter-Anzahl:435
                                          NPM:6.14.17
                                          Datenträgergröße:117.1 GB
                                          Freier Festplattenspeicher:108.1 GB
                                          Betriebszeit:22:37:32
                                          Aktive Instanzen:17
                                          Pfad:/opt/iobroker/
                                          aktiv:true
                                          _nodeCurrent:14.20.1
                                          _nodeNewest:14.20.1
                                          _nodeNewestNext:16.17.1
                                          _npmCurrent:6.14.17
                                          _npmNewest:6.14.17
                                          _npmNewestNext:8.15.0

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

                                            @marc9025

                                            Die würde ich auf die derzeitig empfohlene Version 16 heben.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            788
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            dimstal midea nethome nethome plus
                                            60
                                            346
                                            59450
                                            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