NEWS
Test Adapter Midea Dimstal Klimaanlagen v0.0.x
-
-
-
@tombox Ist das dann die 0.0.7?
-
@draexler nein 0.1.0 via github
-
Ist da eine Änderung bzgl. der neueren App drin?
-
@thomas-braun Ja basiert jetzt auf einem python modul sollte jetzt alle apps unterstützen. Außer ACFreedom die gehen nur via MQTT
-
Feedback lieber als Issue oder im Thread?
-
@thomas-braun mir egal
-
Irgendwo klemmt es da wohl noch.
Schalten kann ich über die ioBroker-Datenpunkte auch nichts. Per FB oder am Geräte geänderte Einstellungen (z. B. die Temperatur) schlagen sich auch nicht in den Datenpunkten nieder. Offenbar wird das nur einmal beim Start des Adapters eingelesen.2022-07-06 12:27:31.361 - info: midea.0 (697192) starting. Version 0.1.0 (non-npm: TA2k/ioBroker.midea#fd51f4b710e826e4c3025c70b7eab0d1f771f101) in /opt/iobroker/node_modules/iobroker.midea, node: v18.4.0, js-controller: 4.0.23 2022-07-06 12:27:56.578 - info: midea.0 (697192) Login successful 2022-07-06 12:27:56.582 - info: midea.0 (697192) Getting devices 2022-07-06 12:28:06.220 - info: midea.0 (697192) Found 1 devices 2022-07-06 12:28:06.240 - info: midea.0 (697192) Missing ip for GERAETE_ID device update via cloud 2022-07-06 12:28:09.240 - error: midea.0 (697192) Error 2022-07-06 12:28:09.241 - error: midea.0 (697192) *** PY *** Python Error Call to 'appliance_state' failed: > appliance_state = await this.midea_beautiful.appliance_state$({ cloud: this.cloud, appliance_id: id, use_cloud: true }); at Midea.updateDevices (/opt/iobroker/node_modules/iobroker.midea/main.js:141:43) at Midea.onReady (/opt/iobroker/node_modules/iobroker.midea/main.js:78:9) ... across the bridge ... > appliance.identify(cloud, use_cloud) at appliance_state (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:1025) > self.refresh(cloud if use_cloud else None) at identify (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:810) > 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) > self.handle_api_error(int(payload[error_code_tag]), payload["msg"]) at api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:302) > handler() at handle_api_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:645) > raise CloudError(error, message) at cloud_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:630) *** JS *** midea_beautiful.exceptions.CloudError: Midea cloud API error: None (1000) 2022-07-06 12:30:25.940 - info: switchbot-hub.0 (694063) Connected to SwitchBot API found 4 devices 2022-07-06 12:30:28.383 - info: switchbot-hub.0 (694063) All devices and values loaded, adapter ready 2022-07-06 12:31:08.291 - error: midea.0 (697192) Error 2022-07-06 12:31:08.293 - error: midea.0 (697192) *** PY *** Python Error Call to 'set_state' failed: > await appliance.set_state$(setState); at Midea.onStateChange (/opt/iobroker/node_modules/iobroker.midea/main.js:201:17) ... across the bridge ... > self.apply(cloud) at set_state (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:827) > responses = cloud.appliance_transparent_send(self.appliance_id, data) at apply (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:694) > response = self.api_request( at appliance_transparent_send (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:526) > self.handle_api_error(int(payload[error_code_tag]), payload["msg"]) at api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:302) > handler() at handle_api_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:645) > raise CloudError(error, message) at cloud_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:630) *** JS *** midea_beautiful.exceptions.CloudError: Midea cloud API error: None (1000) 2022-07-06 12:31:17.080 - error: midea.0 (697192) Error 2022-07-06 12:31:17.081 - error: midea.0 (697192) *** PY *** Python Error Call to 'set_state' failed: > await appliance.set_state$(setState); at Midea.onStateChange (/opt/iobroker/node_modules/iobroker.midea/main.js:201:17) ... across the bridge ... > self.apply(cloud) at set_state (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:827) > responses = cloud.appliance_transparent_send(self.appliance_id, data) at apply (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:694) > response = self.api_request( at appliance_transparent_send (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:526) > self.handle_api_error(int(payload[error_code_tag]), payload["msg"]) at api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:302) > handler() at handle_api_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:645) > raise CloudError(error, message) at cloud_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:630) *** JS *** midea_beautiful.exceptions.CloudError: Midea cloud API error: None (1000) 2022-07-06 12:31:27.084 - info: midea.0 (697192) Missing ip for GERAETE_ID device update via cloud 2022-07-06 12:31:30.082 - error: midea.0 (697192) Error 2022-07-06 12:31:30.083 - error: midea.0 (697192) *** PY *** Python Error Call to 'appliance_state' failed: > appliance_state = await this.midea_beautiful.appliance_state$({ cloud: this.cloud, appliance_id: id, use_cloud: true }); at Midea.updateDevices (/opt/iobroker/node_modules/iobroker.midea/main.js:141:43) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.midea/main.js:208:17) ... across the bridge ... > appliance.identify(cloud, use_cloud) at appliance_state (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:1025) > self.refresh(cloud if use_cloud else None) at identify (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:810) > 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) > self.handle_api_error(int(payload[error_code_tag]), payload["msg"]) at api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:302) > handler() at handle_api_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:645) > raise CloudError(error, message) at cloud_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:630) *** JS *** midea_beautiful.exceptions.CloudError: Midea cloud API error: None (1000) 2022-07-06 12:33:09.243 - info: midea.0 (697192) Missing ip for GERAETE_ID device update via cloud 2022-07-06 12:33:12.742 - error: midea.0 (697192) Error 2022-07-06 12:33:12.743 - error: midea.0 (697192) *** PY *** Python Error Call to 'appliance_state' failed: > appliance_state = await this.midea_beautiful.appliance_state$({ cloud: this.cloud, appliance_id: id, use_cloud: true }); at Midea.updateDevices (/opt/iobroker/node_modules/iobroker.midea/main.js:141:43) ... across the bridge ... > appliance.identify(cloud, use_cloud) at appliance_state (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:1025) > self.refresh(cloud if use_cloud else None) at identify (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:810) > 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) > self.handle_api_error(int(payload[error_code_tag]), payload["msg"]) at api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:302) > handler() at handle_api_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:645) > raise CloudError(error, message) at cloud_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:630) *** JS *** midea_beautiful.exceptions.CloudError: Midea cloud API error: None (1000) 2022-07-06 12:38:09.244 - info: midea.0 (697192) Missing ip for GERAETE_ID device update via cloud 2022-07-06 12:38:12.468 - error: midea.0 (697192) Error 2022-07-06 12:38:12.469 - error: midea.0 (697192) *** PY *** Python Error Call to 'appliance_state' failed: > appliance_state = await this.midea_beautiful.appliance_state$({ cloud: this.cloud, appliance_id: id, use_cloud: true }); at Midea.updateDevices (/opt/iobroker/node_modules/iobroker.midea/main.js:141:43) ... across the bridge ... > appliance.identify(cloud, use_cloud) at appliance_state (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:1025) > self.refresh(cloud if use_cloud else None) at identify (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:810) > 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) > self.handle_api_error(int(payload[error_code_tag]), payload["msg"]) at api_request (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:302) > handler() at handle_api_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:645) > raise CloudError(error, message) at cloud_error (/home/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:630) *** JS *** midea_beautiful.exceptions.CloudError: Midea cloud API error: None (1000)
-
@thomas-braun Ja hatte ich auch gesehen und auch ein Ticket in dem module aufgemacht
https://github.com/nbogojevic/midea-beautiful-air/issues/11um welche Geräte handelt es sich genau
Ich würde erstmal abwarten wie der module entwickler reagiert -
Das ist eine Mobile Klimaanlage
Comfee Cool 7000-1 -
@tombox said in Test Adapter Midea Dimstal Klimaanlagen v0.0.x:
@draexler nein 0.1.0 via github
Wo finde ich die?
-
@baeri Im GitHub symbol oder wie in Beitrag #1 installieren
-
@tombox hab ich installiert, aber es geht bei mir immer noch nichts. muss ich den adapter zunächst komplett deinstallieren? Ich bekomme im Protokoll folgenden Fehler:
*** PY *** Python Error Call to 'appliance_state' failed:> appliance_state = await this.midea_beautiful.appliance_state$({ at Midea.updateDevices (/opt/iobroker/node_modules/iobroker.midea/main.js:149:31) at Midea.onReady (/opt/iobroker/node_modules/iobroker.midea/main.js:80:5)... across the bridge ...> appliance.identify(cloud, use_cloud) at appliance_state (/opt/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:1041)> self.refresh(cloud if use_cloud else None) at identify (/opt/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:826)> responses = self._status(cmd, cloud) at refresh (/opt/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:381)> responses = cloud.appliance_transparent_send(self.appliance_id, data) at _status (/opt/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/lan.py:538)> response = self.api_request( at appliance_transparent_send (/opt/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:526)> self.handle_api_error(int(payload[error_code_tag]), payload["msg"]) at api_request (/opt/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:302)> handler() at handle_api_error (/opt/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:645)> raise CloudError(error, message) at cloud_error (/opt/iobroker/.local/lib/python3.9/site-packages/midea_beautiful/cloud.py:630)*** JS *** midea_beautiful.exceptions.CloudError: Midea cloud API error: None (1000)
-
Die Meldungen habe ich auch. Im Terminal funktioniert der Python-Code bei mir grundsätzlich und ich kann die Klimaanlage steuern. Jetzt muss 'nur noch' die Brücke zwischen dem Javascript/nodejs iobroker-Adapter zu Python geschlagen werden.
Ob das geht und wie aufwändig das ist? Keine Ahnung
-
@tombox Ich bekomme das Plugin leider nicht über Github installiert. Bekomme folgende Fehlermeldung:
ERROR: Process exited with code 25
Hast du vielleicht einen Tipp für mich?
Danke
ARaS -
@aras Bei der Adapterinstallation den Punkt Debug Ausgabe aktivieren
Bzw welches Hostsystem und Node Version -
Ok, so wie es aussieht muss ich da wohl ne andere Python Version installieren...
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-runnpm ERR! > iobroker.midea@0.1.0 postinstallnpm ERR! > node ./pythonPackages.jsnpm ERR! npm ERR! npm ERR! Start Python package installationnpm ERR! Python 3.5.3npm ERR! npm ERR! Python 3 foundnpm ERR! npm ERR! Please install python 3.8npm ERR! npm WARN using --force Recommended protections disabled.npm ERR! npm ERR! code 1npm ERR! npm ERR! path /home/iobroker/.npm/_cacache/tmp/git-cloneKDh0kZnpm 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-25T12_34_02_885Z-debug-0.log npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-07-25T12_33_48_190Z-debug-0.log host.raspberrypi Cannot install TA2k/ioBroker.midea#6e0c2b5bf9a3f7f19b7827bf20bc2b48c0281d96: 1 ERROR: Process exited with code 25
-
@aras Korrekt der Adapter benötigt mindestens python 3.8
-
Aktuelle Debian-Releases kommen mit python 3.9 daher.
Vielleicht die Gelegenheit das sinkende Schiff deiner bisherigen Distribution zu verlassen.