NEWS
Test Adapter melcloud v2.0.x Latest
-
@fdr @Black-Thunder Danke. Dann liegt es zumindest nicht am WLAN oder Internet
-
Guten Tag zusammen,
irgendwas stimmt bei mir noch nicht so ganz
in der MelCloud App bekomme ich einen Verbrauch angezeigt. Aber irgendwie will er es nicht übertragen.
Admin Adapter 6.2.23
Muss das Datum da anders rein ?Temperatur Werte bekomme ich angezeigt aber das will nicht. Hat noch wer einen Tipp ?
-
@cookie98 Hast du denn auch den State "getPowerConsumptionReport" ausgelöst bzw. mit 'true' beschrieben? Die Berichte werden nämlich nicht automatisch abgerufen, sondern nur manuell eben über diesen State.
Das Format des Datums auf deinem Screenshot ist so grundsätzlich korrekt, allerdings hast du dort den Zeitraum 01.12.2022-12.12.2030 eingestellt. Das solltest du dir nochmal überlegen, ob das so gewollt ist.
-
@black-thunder said in Test Adapter melcloud v1.2.x Latest:
@cookie98 Hast du denn auch den State "getPowerConsumptionReport" ausgelöst bzw. mit 'true' beschrieben? Die Berichte werden nämlich nicht automatisch abgerufen, sondern nur manuell eben über diesen State.
Das Format des Datums auf deinem Screenshot ist so grundsätzlich korrekt, allerdings hast du dort den Zeitraum 01.12.2022-12.12.2030 eingestellt. Das solltest du dir nochmal überlegen, ob das so gewollt ist.
Aha, die Intention des Datum war : gebe ich mal ein weit entferntes an und habe Ruhe.
Meine Idee war das ich das irgendwie automatisch nutzen kann um den Tagesverbrauch zu berechnen.
Gibt es dafür eine Idee oder eine Seite wo das beschrieben ist wie das gehen würde? Bin was iobroker usw angeht noch ziemlich am Anfang. -
@cookie98 Du könntest das z.B. mit einem kleinen Javascript-Skript lösen. Sowas in der Art sollte gehen (1x täglich um 02:00 den Vortagesverbrauch aller Geräte automatisch abrufen):
schedule('{"time":{"exactTime":true,"start":"02:00"},"period":{"days":1,"dows":"[0, 1, 2, 3, 4, 5, 6]"}}', function () { var yesterdayDate = new Date(); yesterdayDate.setDate(yesterdayDate.getDate() - 1); setState("melcloud.0.reports.startDate", `${yesterdayDate.getFullYear()}-${yesterdayDate.getMonth() + 1}-${yesterdayDate.getDate()}`); setState("melcloud.0.reports.endDate", `${yesterdayDate.getFullYear()}-${yesterdayDate.getMonth() + 1}-${yesterdayDate.getDate()}`); setState("melcloud.0.reports.getCumulatedPowerConsumptionReport", true); // Weiterverarbeitung der Ergebnisse unter "melcloud.0.reports.lastReportData.XXX" //..... });
Gibt aber sicher noch andere Möglichkeiten, z.B. mittels Blockly, wenn dir das lieber als Javascript ist. Aber das sind Themen, die hier viel zu weit führen und egientlich nichts mehr mit dem Adapter selbst zu tun haben.
-
@black-thunder said in Test Adapter melcloud v1.2.x Latest:
@cookie98 Du könntest das z.B. mit einem kleinen Javascript-Skript lösen. Sowas in der Art sollte gehen (1x täglich um 02:00 den Vortagesverbrauch aller Geräte automatisch abrufen):
schedule('{"time":{"exactTime":true,"start":"02:00"},"period":{"days":1,"dows":"[0, 1, 2, 3, 4, 5, 6]"}}', function () { var yesterdayDate = new Date(); yesterdayDate.setDate(yesterdayDate.getDate() - 1); setState("melcloud.0.reports.startDate", `${yesterdayDate.getFullYear()}-${yesterdayDate.getMonth() + 1}-${yesterdayDate.getDate()}`); setState("melcloud.0.reports.endDate", `${yesterdayDate.getFullYear()}-${yesterdayDate.getMonth() + 1}-${yesterdayDate.getDate()}`); setState("melcloud.0.reports.getCumulatedPowerConsumptionReport", true); // Weiterverarbeitung der Ergebnisse unter "melcloud.0.reports.lastReportData.XXX" //..... });
Gibt aber sicher noch andere Möglichkeiten, z.B. mittels Blockly, wenn dir das lieber als Javascript ist. Aber das sind Themen, die hier viel zu weit führen und egientlich nichts mehr mit dem Adapter selbst zu tun haben.
Oha, dachte da gibt es was wo ich nicht mein letzten Schmals vom Hirn brauche. Der muss nach den ersten Schritten mit Grafana iobroker und influxdb erstmal erneuert werden.aber danke für die Tipps ich schaue mal was es so gibt.
-
@black-thunder so grade mal versucht aber Werte kommen keine
Sehe grade folgenden Fehler im Protokoll
Kommt das eventuell wenn man doppelt klick zum starten Start den Schieberegler zunehmen?
-
@cookie98 Ach OK, jetzt kommen wir dem Problem näher.
Du besitzt eine (Luft-Wasser-)Wärmepumpe nehme ich an? Für solche Geräte habe ich erst in der letzten Version die Unterstützung eingebaut, aufgrund verhaltener Rückmeldung aber nur die Steuerung der Geräte und nicht das Abrufen der Berichte. Sprich im Moment funktioniert das einfach noch nicht für Luft-Wasser-Pumpen, sondern nur für Luft-Luft-Pumpen bzw. Klimaanlagen.
Ich schau mir das an und geb dir wieder Bescheid, wenn du das nochmal testen kannst.
-
@black-thunder said in Test Adapter melcloud v1.2.x Latest:
@cookie98 Ach OK, jetzt kommen wir dem Problem näher.
Du besitzt eine (Luft-Wasser-)Wärmepumpe nehme ich an? Für solche Geräte habe ich erst in der letzten Version die Unterstützung eingebaut, aufgrund verhaltener Rückmeldung aber nur die Steuerung der Geräte und nicht das Abrufen der Berichte. Sprich im Moment funktioniert das einfach noch nicht für Luft-Wasser-Pumpen, sondern nur für Luft-Luft-Pumpen bzw. Klimaanlagen.
Ich schau mir das an und geb dir wieder Bescheid, wenn du das nochmal testen kannst.
Jupp ist eine Luft Wasser Wärmepumpe,
wenn ich helfen kann gerne ! Bin für alle Schandtaten bereit
-
@cookie98 said in Test Adapter melcloud v1.2.x Latest:
wenn ich helfen kann gerne ! Bin für alle Schandtaten bereit
Da nehme ich dich doch gerne gleich beim Wort, hab nämlich selber nur Klimageräte.
Hab gerade auf GitHub ein paar Änderungen hochgeladen, die es zumindest testweise erlauben, auch bei Luft-Wasser-Geräten den Abruf der Berichte anzustoßen.
Dazu bitte im iobroker-Admin unter 'Adapter' auf das GitHub-Icon (Katze) klicken (evtl. vorher den Expertenmodus aktivieren). Dort dann auf "VON GITHUB" gehen und im Feld darunter "melcloud" eingeben, dann taucht mein Adapter auf. Damit ziehst du dir den aktuellen Entwicklungsstand von GitHub.
Danach bitte auch die Logstufe des Adapters selbst auf "Debug" stellen und dann einen Abruf der Berichte eines einzelnen Geräts (also unter "melcloud.0.devices.XXXXXX.reports", bitte erstmal nicht die kumulierten Berichte) starten. Das dabei entstehende Log bitte hier posten, damit ich sehen kann, was noch angepasst werden muss. Persönliche Daten (wie E-Mail/Passwort/etc.) im Log bitte vor dem Posten entfernen/unkenntlich machen. -
@black-thunder said in Test Adapter melcloud v1.2.x Latest:
@cookie98 said in Test Adapter melcloud v1.2.x Latest:
wenn ich helfen kann gerne ! Bin für alle Schandtaten bereit
Da nehme ich dich doch gerne gleich beim Wort, hab nämlich selber nur Klimageräte.
Hab gerade auf GitHub ein paar Änderungen hochgeladen, die es zumindest testweise erlauben, auch bei Luft-Wasser-Geräten den Abruf der Berichte anzustoßen.
Dazu bitte im iobroker-Admin unter 'Adapter' auf das GitHub-Icon (Katze) klicken (evtl. vorher den Expertenmodus aktivieren). Dort dann auf "VON GITHUB" gehen und im Feld darunter "melcloud" eingeben, dann taucht mein Adapter auf. Damit ziehst du dir den aktuellen Entwicklungsstand von GitHub.
Danach bitte auch die Logstufe des Adapters selbst auf "Debug" stellen und dann einen Abruf der Berichte eines einzelnen Geräts (also unter "melcloud.0.devices.XXXXXX.reports", bitte erstmal nicht die kumulierten Berichte) starten. Das dabei entstehende Log bitte hier posten, damit ich sehen kann, was noch angepasst werden muss. Persönliche Daten (wie E-Mail/Passwort/etc.) im Log bitte vor dem Posten entfernen/unkenntlich machen.2022-12-04 20:55:28.758 - info: host.iobroker-iobroker1 iobroker url Black-Thunder/ioBroker.melcloud --host iobroker-iobroker1 --debug 2022-12-04 20:55:30.085 - info: host.iobroker-iobroker1 iobroker install Black-Thunder/ioBroker.melcloud 2022-12-04 20:55:31.212 - info: host.iobroker-iobroker1 iobroker NPM version: 8.19.2 2022-12-04 20:55:31.214 - info: host.iobroker-iobroker1 iobroker Installing Black-Thunder/ioBroker.melcloud... (System call) 2022-12-04 20:55:55.555 - info: host.iobroker-iobroker1 iobroker 2022-12-04 20:55:55.568 - info: host.iobroker-iobroker1 iobroker changed 1 package in 24s52 packages are looking for funding run `npm fund` for details 2022-12-04 20:55:55.898 - info: host.iobroker-iobroker1 iobroker upload [4] melcloud.admin /opt/iobroker/node_modules/iobroker.melcloud/admin/admin.d.ts admin.d.ts video/mp2t 2022-12-04 20:55:55.982 - info: host.iobroker-iobroker1 iobroker upload [3] melcloud.admin /opt/iobroker/node_modules/iobroker.melcloud/admin/index_m.html index_m.html text/html 2022-12-04 20:55:56.037 - info: host.iobroker-iobroker1 iobroker upload [2] melcloud.admin /opt/iobroker/node_modules/iobroker.melcloud/admin/melcloud.png melcloud.png image/png 2022-12-04 20:55:56.054 - info: host.iobroker-iobroker1 iobroker upload [1] melcloud.admin /opt/iobroker/node_modules/iobroker.melcloud/admin/style.css style.css text/css 2022-12-04 20:55:56.081 - info: host.iobroker-iobroker1 iobroker upload [0] melcloud.admin /opt/iobroker/node_modules/iobroker.melcloud/admin/words.js words.js application/javascript 2022-12-04 20:55:57.298 - info: host.iobroker-iobroker1 iobroker exit 0 2022-12-04 20:56:00.014 - info: melcloud.0 (4344) Scheduled restart. 2022-12-04 20:56:00.019 - info: melcloud.0 (4344) onUnload(): Cleaned everything up... 2022-12-04 20:56:00.025 - info: melcloud.0 (4344) terminating 2022-12-04 20:56:00.027 - info: melcloud.0 (4344) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2022-12-04 20:56:00.666 - info: host.iobroker-iobroker1 instance system.adapter.melcloud.0 scheduled normal terminated and will be restarted on schedule. 2022-12-04 20:56:00.666 - info: host.iobroker-iobroker1 Restart adapter system.adapter.melcloud.0 because enabled 2022-12-04 20:56:01.752 - info: host.iobroker-iobroker1 instance system.adapter.melcloud.0 started with pid 4576 2022-12-04 20:56:04.859 - info: melcloud.0 (4576) starting. Version 1.2.0 (non-npm: Black-Thunder/ioBroker.melcloud) in /opt/iobroker/node_modules/iobroker.melcloud, node: v16.18.1, js-controller: 4.0.23 2022-12-04 20:56:05.654 - info: melcloud.0 (4576) Connecting initially to MELCloud and retrieving data... 2022-12-04 20:56:06.780 - info: melcloud.0 (4576) Connection successful. Starting polling (interval: 5 minute(s))... 2022-12-04 20:57:03.653 - warn: melcloud.0 (4576) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-04 20:57:03.654 - warn: melcloud.0 (4576) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-04 20:58:00.009 - info: melcloud.0 (4576) Scheduled restart. 2022-12-04 20:58:00.010 - info: melcloud.0 (4576) onUnload(): Cleaned everything up... 2022-12-04 20:58:00.014 - info: melcloud.0 (4576) terminating 2022-12-04 20:58:00.015 - info: melcloud.0 (4576) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2022-12-04 20:58:00.567 - info: host.iobroker-iobroker1 instance system.adapter.melcloud.0 scheduled normal terminated and will be restarted on schedule. 2022-12-04 20:58:00.568 - info: host.iobroker-iobroker1 Restart adapter system.adapter.melcloud.0 because enabled 2022-12-04 20:58:01.595 - info: host.iobroker-iobroker1 instance system.adapter.melcloud.0 started with pid 4688 2022-12-04 20:58:02.386 - info: melcloud.0 (4688) starting. Version 1.2.0 (non-npm: Black-Thunder/ioBroker.melcloud) in /opt/iobroker/node_modules/iobroker.melcloud, node: v16.18.1, js-controller: 4.0.23 2022-12-04 20:58:02.641 - info: melcloud.0 (4688) Connecting initially to MELCloud and retrieving data... 2022-12-04 20:58:03.591 - info: melcloud.0 (4688) Connection successful. Starting polling (interval: 5 minute(s))... 2022-12-04 20:58:19.578 - warn: melcloud.0 (4688) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-04 20:58:19.579 - warn: melcloud.0 (4688) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-04 20:58:24.268 - warn: melcloud.0 (4688) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-04 20:58:24.268 - warn: melcloud.0 (4688) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-04 20:58:24.465 - warn: melcloud.0 (4688) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-04 20:58:24.466 - warn: melcloud.0 (4688) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-04 20:58:26.584 - warn: melcloud.0 (4688) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-04 20:58:26.585 - warn: melcloud.0 (4688) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-04 20:58:26.787 - warn: melcloud.0 (4688) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-04 20:58:26.787 - warn: melcloud.0 (4688) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-04 20:58:38.639 - warn: melcloud.0 (4688) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-04 20:58:38.640 - warn: melcloud.0 (4688) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-04 20:58:38.886 - warn: melcloud.0 (4688) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-04 20:58:38.886 - warn: melcloud.0 (4688) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-04 21:00:00.009 - info: melcloud.0 (4688) Scheduled restart. 2022-12-04 21:00:00.010 - info: melcloud.0 (4688) onUnload(): Cleaned everything up... 2022-12-04 21:00:00.062 - info: host.iobroker-iobroker1 instance system.adapter.openweathermap.0 started with pid 4801 2022-12-04 21:00:00.065 - info: melcloud.0 (4688) terminating
So ok ?
-
@cookie98 Du müsstest bitte noch vorher die Logstufe auf "Debug" stellen. Unter "Instanzen":
Sonst fehlen die relevanten Informationen über die Kommunikation mit der Cloud.
-
@black-thunder said in Test Adapter melcloud v1.2.x Latest:
@cookie98 Du müsstest bitte noch vorher die Logstufe auf "Debug" stellen. Unter "Instanzen":
Sonst fehlen die relevanten Informationen über die Kommunikation mit der Cloud.
Sry der Schlaf der gerechten hat zu geschlagen
2022-12-05 12:16:45.235 - debug: melcloud.0 (27796) Trying to get device object with id 57416137... 2022-12-05 12:16:45.236 - debug: melcloud.0 (27796) Processing command 'getPowerConsumptionReport' with value 'true' for device object with id 57416137 (Wert)... 2022-12-05 12:16:45.237 - debug: melcloud.0 (27796) Getting power consumption report for 57416137 (Wert) 2022-12-05 12:16:45.280 - warn: melcloud.0 (27796) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-05 12:16:45.280 - warn: melcloud.0 (27796) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-05 12:16:45.438 - debug: melcloud.0 (27796) Trying to get device object with id 57416137... 2022-12-05 12:16:45.438 - debug: melcloud.0 (27796) Processing command 'getPowerConsumptionReport' with value 'true' for device object with id 57416137 (Wert)... 2022-12-05 12:16:45.438 - debug: melcloud.0 (27796) Getting power consumption report for 57416137 (Wert) 2022-12-05 12:16:45.441 - debug: melcloud.0 (27796) Received response from: https://app.melcloud.com/Mitsubishi.Wifi.Client/EnergyCost/Report (status code: 200 - OK) 2022-12-05 12:16:45.441 - debug: melcloud.0 (27796) Response from cloud: {"HotWater":[0],"InternalTemperature1":null,"InternalTemperature2":null,"ExternalTemperature":null,"Cooling":[0],"Heating":[93.11],"CoP":[2.0450005369992486],"MissingSampleQuarter":[null,null,null,null],"MissingSampleMonth":[null,null,null,null,null,null,null,null,null,null,null,null],"ProducedHotWater":[0],"ProducedCooling":[0],"ProducedHeating":[190.41000000000003],"TotalHeatingConsumed":93.11,"TotalCoolingConsumed":0,"TotalHotWaterConsumed":0,"TotalHeatingProduced":190.41000000000003,"TotalCoolingProduced":0,"TotalHotWaterProduced":0,"AverageInternalTemperature":0,"AverageExternalTemperature":0,"Status":0,"LabelType":2,"TempLabels":null,"Labels":[12],"HasZone2":false,"CurrencySymbol":"kWh","FromDate":"2022-12-01T00:00:00","ToDate":"2022-12-05T00:00:00","DeviceName":"Wert","BuildingAddress":null,"BuildingCity":null,"BuildingCountry":null,"CustomerName":null,"costs":null,"TotalMinutes":263520,"MissingMinutes":263220} 2022-12-05 12:16:45.485 - warn: melcloud.0 (27796) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-05 12:16:45.485 - warn: melcloud.0 (27796) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-05 12:16:45.531 - debug: melcloud.0 (27796) Updated report data for device 57416137 (Wert) 2022-12-05 12:16:45.613 - debug: melcloud.0 (27796) Received response from: https://app.melcloud.com/Mitsubishi.Wifi.Client/EnergyCost/Report (status code: 200 - OK) 2022-12-05 12:16:45.613 - debug: melcloud.0 (27796) Response from cloud: {"HotWater":[0],"InternalTemperature1":null,"InternalTemperature2":null,"ExternalTemperature":null,"Cooling":[0],"Heating":[93.11],"CoP":[2.0450005369992486],"MissingSampleQuarter":[null,null,null,null],"MissingSampleMonth":[null,null,null,null,null,null,null,null,null,null,null,null],"ProducedHotWater":[0],"ProducedCooling":[0],"ProducedHeating":[190.41000000000003],"TotalHeatingConsumed":93.11,"TotalCoolingConsumed":0,"TotalHotWaterConsumed":0,"TotalHeatingProduced":190.41000000000003,"TotalCoolingProduced":0,"TotalHotWaterProduced":0,"AverageInternalTemperature":0,"AverageExternalTemperature":0,"Status":0,"LabelType":2,"TempLabels":null,"Labels":[12],"HasZone2":false,"CurrencySymbol":"kWh","FromDate":"2022-12-01T00:00:00","ToDate":"2022-12-05T00:00:00","DeviceName":"Wert","BuildingAddress":null,"BuildingCity":null,"BuildingCountry":null,"CustomerName":null,"costs":null,"TotalMinutes":263520,"MissingMinutes":263220} 2022-12-05 12:16:45.657 - debug: melcloud.0 (27796) Updated report data for device 57416137 (Wert) 2022-12-05 12:18:00.010 - info: melcloud.0 (27796) Scheduled restart. 2022-12-05 12:18:00.011 - debug: melcloud.0 (27796) Cleared polling timer. 2022-12-05 12:18:00.012 - info: melcloud.0 (27796) onUnload(): Cleaned everything up... 2022-12-05 12:18:00.015 - info: melcloud.0 (27796) terminating 2022-12-05 12:18:00.016 - info: melcloud.0 (27796) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2022-12-05 12:18:00.573 - info: host.iobroker-iobroker1 instance system.adapter.melcloud.0 scheduled normal terminated and will be restarted on schedule. 2022-12-05 12:18:00.574 - info: host.iobroker-iobroker1 Restart adapter system.adapter.melcloud.0 because enabled 2022-12-05 12:18:01.685 - info: host.iobroker-iobroker1 instance system.adapter.melcloud.0 started with pid 27897 2022-12-05 12:18:04.852 - debug: melcloud.0 (27897) Redis Objects: Use Redis connection: 127.0.0.1:9001 2022-12-05 12:18:04.875 - debug: melcloud.0 (27897) Objects client ready ... initialize now 2022-12-05 12:18:04.876 - debug: melcloud.0 (27897) Objects create System PubSub Client 2022-12-05 12:18:04.877 - debug: melcloud.0 (27897) Objects create User PubSub Client 2022-12-05 12:18:04.900 - debug: melcloud.0 (27897) Objects client initialize lua scripts 2022-12-05 12:18:04.905 - debug: melcloud.0 (27897) Objects connected to redis: 127.0.0.1:9001 2022-12-05 12:18:04.920 - debug: melcloud.0 (27897) Redis States: Use Redis connection: 127.0.0.1:9000 2022-12-05 12:18:04.928 - debug: melcloud.0 (27897) States create System PubSub Client 2022-12-05 12:18:04.929 - debug: melcloud.0 (27897) States create User PubSub Client 2022-12-05 12:18:04.980 - debug: melcloud.0 (27897) States connected to redis: 127.0.0.1:9000 2022-12-05 12:18:05.077 - info: melcloud.0 (27897) starting. Version 1.2.0 (non-npm: Black-Thunder/ioBroker.melcloud) in /opt/iobroker/node_modules/iobroker.melcloud, node: v16.18.1, js-controller: 4.0.23 2022-12-05 12:18:05.233 - debug: melcloud.0 (27897) Schedule restart: */2 * * * * 2022-12-05 12:18:05.343 - debug: melcloud.0 (27897) Initializing objects... 2022-12-05 12:18:05.404 - debug: melcloud.0 (27897) Checking adapter settings... 2022-12-05 12:18:05.405 - debug: melcloud.0 (27897) Getting current known devices... 2022-12-05 12:18:05.477 - debug: melcloud.0 (27897) Found known device: 57416137 2022-12-05 12:18:05.478 - info: melcloud.0 (27897) Connecting initially to MELCloud and retrieving data... 2022-12-05 12:18:05.479 - debug: melcloud.0 (27897) Fetching context key... 2022-12-05 12:18:05.479 - debug: melcloud.0 (27897) MELCloud email address: c.schanze@gmx.de - MELCloud password: Jenni1108 2022-12-05 12:18:05.960 - debug: melcloud.0 (27897) Received response from: https://app.melcloud.com/Mitsubishi.Wifi.Client/Login/ClientLogin (status code: 200 - OK) 2022-12-05 12:18:05.961 - debug: melcloud.0 (27897) Response from cloud: {"ErrorId":null,"ErrorMessage":null,"LoginStatus":0,"UserId":0,"RandomKey":null,"AppVersionAnnouncement":null,"LoginData":{"ContextKey":"7B94C69756DE4520965EC26971B58A","Client":117173,"Terms":1282,"AL":1,"ML":0,"CMI":true,"IsStaff":false,"CUTF":false,"CAA":false,"ReceiveCountryNotifications":false,"ReceiveAllNotifications":false,"CACA":false,"CAGA":false,"MaximumDevices":10,"ShowDiagnostics":false,"Language":4,"Country":85,"RealClient":0,"Name":"Christian Schanze","UseFahrenheit":false,"Duration":525600,"Expiry":"2023-12-05T11:18:05.7","CMSC":false,"PartnerApplicationVersion":null,"EmailSettingsReminderShown":true,"EmailUnitErrors":0,"EmailCommsErrors":0,"ChartSeriesHidden":0,"DeletePending":false,"IsImpersonated":false,"LanguageCode":"de","CountryName":"Deutschland","CurrencySymbol":"€","SupportEmailAddress":null,"DateSeperator":"/","TimeSeperator":":","AtwLogoFile":"ecodan_logo.png","DECCReport":false,"CSVReport1min":false,"HidePresetPanel":false,"EmailSettingsReminderRequired":false,"TermsText":null,"MapView":false,"MapZoom":15,"MapLongitude":8.91480230887504,"MapLatitude":52.24795056737217},"ListPendingInvite":[],"ListOwnershipChangeRequest":[],"ListPendingAnnouncement":[],"LoginMinutes":0,"LoginAttempts":0} 2022-12-05 12:18:05.962 - debug: melcloud.0 (27897) Login successful. ContextKey: 7B94C69756DE4520965EC26971B58A 2022-12-05 12:18:05.962 - debug: melcloud.0 (27897) Fetching devices... 2022-12-05 12:18:06.249 - debug: melcloud.0 (27897) Received response from: https://app.melcloud.com/Mitsubishi.Wifi.Client/User/ListDevices (status code: 200 - OK) 2022-12-05 12:18:06.250 - debug: melcloud.0 (27897) Response from cloud: [{"ID":502693,"Name":"Fg","AddressLine1":"Bb","AddressLine2":null,"City":"Bvl","Postcode":"325","Latitude":51.165691,"Longitude":10.451526,"District":null,"FPDefined":false,"FPEnabled":false,"FPMinTemperature":14,"FPMaxTemperature":16,"HMDefined":false,"HMEnabled":false,"HMStartDate":null,"HMEndDate":null,"BuildingType":1,"PropertyType":8,"DateBuilt":null,"HasGasSupply":true,"LocationLookupDate":"2022-12-02T12:34:22.847","Country":85,"TimeZoneContinent":3,"TimeZoneCity":49,"TimeZone":119,"Location":1351,"CoolingDisabled":false,"Expanded":true,"Structure":{"Floors":[],"Areas":[],"Devices":[{"DeviceID":57416137,"DeviceName":"Wert","BuildingID":502693,"BuildingName":null,"FloorID":null,"FloorName":null,"AreaID":null,"AreaName":null,"ImageID":-1,"InstallationDate":null,"LastServiceDate":null,"Presets":[],"OwnerID":117173,"OwnerName":null,"OwnerEmail":null,"AccessLevel":4,"DirectAccess":false,"EndDate":"2500-01-01T00:00:00","Zone1Name":null,"Zone2Name":null,"MinTemperature":0,"MaxTemperature":40,"HideVaneControls":false,"HideDryModeControl":false,"HideRoomTemperature":false,"HideSupplyTemperature":false,"HideOutdoorTemperature":false,"BuildingCountry":null,"OwnerCountry":null,"AdaptorType":3,"LinkedDevice":null,"Type":1,"MacAddress":"70:61:be:ef:ce:86","SerialNumber":"2229012156","Device":{"PCycleActual":0,"ErrorMessages":"","DeviceType":1,"FTCVersion":1700,"FTCRevision":"r0","LastFTCVersion":0,"LastFTCRevision":null,"FTCModel":2,"RefridgerentAddress":0,"DipSwitch1":0,"DipSwitch2":160,"DipSwitch3":16,"DipSwitch4":0,"DipSwitch5":0,"DipSwitch6":0,"HasThermostatZone1":true,"HasThermostatZone2":true,"TemperatureIncrement":0.5,"DefrostMode":0,"HeatPumpFrequency":76,"MaxSetTemperature":45,"MinSetTemperature":25,"RoomTemperatureZone1":19,"RoomTemperatureZone2":19,"OutdoorTemperature":1,"FlowTemperature":46,"FlowTemperatureZone1":45.5,"FlowTemperatureZone2":25,"FlowTemperatureBoiler":25,"ReturnTemperature":44,"ReturnTemperatureZone1":38,"ReturnTemperatureZone2":25,"ReturnTemperatureBoiler":25,"BoilerStatus":false,"BoosterHeater1Status":false,"BoosterHeater2Status":false,"BoosterHeater2PlusStatus":false,"ImmersionHeaterStatus":false,"WaterPump1Status":true,"WaterPump2Status":true,"WaterPump3Status":false,"ValveStatus3Way":false,"ValveStatus2Way":true,"WaterPump4Status":false,"ValveStatus2Way2a":false,"ValveStatus2Way2b":false,"TankWaterTemperature":25,"UnitStatus":0,"HeatingFunctionEnabled":true,"ServerTimerEnabled":false,"ThermostatStatusZone1":false,"ThermostatStatusZone2":false,"ThermostatTypeZone1":2,"ThermostatTypeZone2":2,"MixingTankWaterTemperature":0,"CondensingTemperature":0,"DemandPercentage":100,"ConfiguredDemandPercentage":null,"HasDemandSideControl":false,"DailyHeatingEnergyConsumed":31.66,"DailyCoolingEnergyConsumed":0,"DailyHotWaterEnergyConsumed":0,"DailyHeatingEnergyProduced":49.74,"DailyCoolingEnergyProduced":0,"DailyHotWaterEnergyProduced":0,"DailyLegionellaActivationCounter":0,"LastLegionellaActivationTime":"0001-01-01T00:00:00","EffectiveFlags":0,"LastEffectiveFlags":0,"Power":true,"EcoHotWater":false,"OperationMode":2,"OperationModeZone1":0,"OperationModeZone2":2,"SetTemperatureZone1":21,"SetTemperatureZone2":20,"SetTankWaterTemperature":50,"TargetHCTemperatureZone1":21,"TargetHCTemperatureZone2":35,"ForcedHotWaterMode":false,"HolidayMode":false,"ProhibitHotWater":true,"ProhibitHeatingZone1":false,"ProhibitHeatingZone2":false,"ProhibitCoolingZone1":false,"ProhibitCoolingZone2":false,"ServerTimerDesired":false,"SecondaryZoneHeatCurve":false,"SetHeatFlowTemperatureZone1":0,"SetHeatFlowTemperatureZone2":0,"SetCoolFlowTemperatureZone1":0,"SetCoolFlowTemperatureZone2":0,"DECCReport":false,"CSVReport1min":false,"Zone2Master":false,"DailyEnergyConsumedDate":"2022-12-04T00:00:00","DailyEnergyProducedDate":"2022-12-04T00:00:00","CurrentEnergyConsumed":2,"CurrentEnergyProduced":3,"CurrentEnergyMode":null,"HeatingEnergyConsumedRate1":2,"HeatingEnergyConsumedRate2":0,"CoolingEnergyConsumedRate1":0,"CoolingEnergyConsumedRate2":0,"HotWaterEnergyConsumedRate1":0,"HotWaterEnergyConsumedRate2":0,"HeatingEnergyProducedRate1":3,"HeatingEnergyProducedRate2":0,"CoolingEnergyProducedRate1":0,"CoolingEnergyProducedRate2":0,"HotWaterEnergyProducedRate1":0,"HotWaterEnergyProducedRate2":0,"ErrorCode2Digit":0,"SpSubDivisionsToWrite":0,"SpSubDivisionsToRead":0,"SpState":0,"SpSubDivisionsWriteInProgress":0,"SpSubDivisionsReadInProgress":0,"InitialSettingsData":null,"InitialSettingsTimestamp":null,"SupportsHourlyEnergyReport":false,"HasZone2":false,"HasSimplifiedZone2":false,"CanHeat":true,"CanCool":false,"HasHotWaterTank":false,"CanSetTankTemperature":false,"CanSetEcoHotWater":false,"HasEnergyConsumedMeter":true,"HasEnergyProducedMeter":true,"CanMeasureEnergyProduced":false,"CanMeasureEnergyConsumed":false,"Zone1InRoomMode":true,"Zone2InRoomMode":false,"Zone1InHeatMode":true,"Zone2InHeatMode":true,"Zone1InCoolMode":false,"Zone2InCoolMode":false,"AllowDualRoomTemperature":false,"IsGeodan":false,"HasEcoCuteSettings":false,"HasFTC45Settings":true,"HasFTC6Settings":false,"CanEstimateEnergyUsage":true,"CanUseRoomTemperatureCooling":false,"IsFtcModelSupported":true,"MaxTankTemperature":60,"IdleZone1":false,"IdleZone2":true,"MinPcycle":1,"MaxPcycle":1,"MaxOutdoorUnits":255,"MaxIndoorUnits":255,"MaxTemperatureControlUnits":0,"ModelCode":"027a","DeviceID":57416137,"MacAddress":"70:61:be:ef:ce:86","SerialNumber":"2229012156","TimeZoneID":119,"DiagnosticMode":0,"DiagnosticEndDate":null,"ExpectedCommand":1,"Owner":117173,"DetectedCountry":null,"AdaptorType":3,"FirmwareDeployment":null,"FirmwareUpdateAborted":false,"LinkedDevice":null,"WifiSignalStrength":-74,"WifiAdapterStatus":"NORMAL","Position":"Unknown","PCycle":2,"PCycleConfigured":null,"RecordNumMax":1,"LastTimeStamp":"2022-12-05T12:17:00","ErrorCode":8000,"HasError":false,"LastReset":"2022-12-02T13:26:14.809","FlashWrites":2,"Scene":null,"TemperatureIncrementOverride":0,"SSLExpirationDate":"2037-12-31T00:00:00","SPTimeout":1,"Passcode":null,"ServerCommunicationDisabled":false,"ConsecutiveUploadErrors":0,"DoNotRespondAfter":null,"OwnerRoleAccessLevel":1,"OwnerCountry":85,"HideEnergyReport":false,"ExceptionHash":null,"ExceptionDate":null,"ExceptionCount":null,"Rate1StartTime":null,"Rate2StartTime":null,"ProtocolVersion":0,"UnitVersion":0,"FirmwareAppVersion":37000,"FirmwareWebVersion":0,"FirmwareWlanVersion":0,"EffectivePCycle":1,"MqttFlags":9,"HasErrorMessages":false,"Offline":false,"Units":[{"ID":1,"Device":0,"SerialNumber":"1111","ModelNumber":null,"Model":"Ecodan","UnitType":0,"IsIndoor":false},{"ID":2,"Device":0,"SerialNumber":"Jkwl","ModelNumber":195,"Model":"ECOSLIM-150L-PP-MEUK","UnitType":1,"IsIndoor":true}]},"DiagnosticMode":0,"DiagnosticEndDate":null,"Location":1351,"DetectedCountry":null,"Registrations":9,"LocalIPAddress":null,"TimeZone":119,"RegistReason":"STARTUP","ExpectedCommand":1,"RegistRetry":0,"DateCreated":"2022-12-02T12:30:25.176Z","FirmwareDeployment":null,"FirmwareUpdateAborted":false,"Permissions":{"CanSetForcedHotWater":true,"CanSetOperationMode":true,"CanSetPower":true,"CanSetTankWaterTemperature":true,"CanSetEcoHotWater":false,"CanSetFlowTemperature":true,"CanSetTemperatureIncrementOverride":true}}],"Clients":[]},"AccessLevel":4,"DirectAccess":true,"MinTemperature":0,"MaxTemperature":40,"Owner":null,"EndDate":"2500-01-01T00:00:00","iDateBuilt":null,"QuantizedCoordinates":{"Latitude":51.175,"Longitude":10.45}}] 2022-12-05 12:18:06.251 - debug: melcloud.0 (27897) Got air-to-water device from cloud: 57416137 (Wert) 2022-12-05 12:18:06.251 - debug: melcloud.0 (27897) Saving device data... 2022-12-05 12:18:06.502 - debug: melcloud.0 (27897) Created and saved ATW device 57416137 (Wert) 2022-12-05 12:18:06.559 - debug: melcloud.0 (27897) Updated device data for device 57416137 (Wert) 2022-12-05 12:18:06.560 - info: melcloud.0 (27897) Connection successful. Starting polling (interval: 5 minute(s))... 2022-12-05 12:19:59.819 - debug: melcloud.0 (27897) Trying to get device object with id 57416137... 2022-12-05 12:19:59.820 - debug: melcloud.0 (27897) Processing command 'getPowerConsumptionReport' with value 'true' for device object with id 57416137 (Wert)... 2022-12-05 12:19:59.821 - debug: melcloud.0 (27897) Getting power consumption report for 57416137 (Wert) 2022-12-05 12:19:59.862 - warn: melcloud.0 (27897) No valid start date was provided (format: YYYY-MM-DD). Defaulting to 6 months prior. 2022-12-05 12:19:59.863 - warn: melcloud.0 (27897) No valid end date was provided (format: YYYY-MM-DD). Defaulting to today. 2022-12-05 12:20:00.009 - info: melcloud.0 (27897) Scheduled restart. 2022-12-05 12:20:00.011 - debug: melcloud.0 (27897) Cleared polling timer. 2022-12-05 12:20:00.011 - info: melcloud.0 (27897) onUnload(): Cleaned everything up... 2022-12-05 12:20:00.037 - debug: melcloud.0 (27897) Received response from: https://app.melcloud.com/Mitsubishi.Wifi.Client/EnergyCost/Report (status code: 200 - OK) 2022-12-05 12:20:00.038 - info: host.iobroker-iobroker1 instance system.adapter.openweathermap.0 started with pid 28011 2022-12-05 12:20:00.038 - debug: melcloud.0 (27897) Response from cloud: {"HotWater":[0],"InternalTemperature1":null,"InternalTemperature2":null,"ExternalTemperature":null,"Cooling":[0],"Heating":[93.11],"CoP":[2.0450005369992486],"MissingSampleQuarter":[null,null,null,null],"MissingSampleMonth":[null,null,null,null,null,null,null,null,null,null,null,null],"ProducedHotWater":[0],"ProducedCooling":[0],"ProducedHeating":[190.41000000000003],"TotalHeatingConsumed":93.11,"TotalCoolingConsumed":0,"TotalHotWaterConsumed":0,"TotalHeatingProduced":190.41000000000003,"TotalCoolingProduced":0,"TotalHotWaterProduced":0,"AverageInternalTemperature":0,"AverageExternalTemperature":0,"Status":0,"LabelType":2,"TempLabels":null,"Labels":[12],"HasZone2":false,"CurrencySymbol":"kWh","FromDate":"2022-12-01T00:00:00","ToDate":"2022-12-05T00:00:00","DeviceName":"Wert","BuildingAddress":null,"BuildingCity":null,"BuildingCountry":null,"CustomerName":null,"costs":null,"TotalMinutes":263520,"MissingMinutes":263220} 2022-12-05 12:20:00.047 - info: melcloud.0 (27897) terminating 2022-12-05 12:20:00.048 - info: melcloud.0 (27897) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2022-12-05 12:20:00.099 - debug: melcloud.0 (27897) Updated report data for device 57416137 (Wert) 2022-12-05 12:20:00.582 - info: host.iobroker-iobroker1 instance system.adapter.melcloud.0 scheduled normal terminated and will be restarted on schedule. 2022-12-05 12:20:00.582 - info: host.iobroker-iobroker1 Restart adapter system.adapter.melcloud.0 because enabled 2022-12-05 12:20:01.613 - info: host.iobroker-iobroker1 instance system.adapter.melcloud.0 started with pid 28022 2022-12-05 12:20:02.079 - info: openweathermap.0 (28011) starting. Version 0.3.0 in /opt/iobroker/node_modules/iobroker.openweathermap, node: v16.18.1, js-controller: 4.0.23 2022-12-05 12:20:02.284 - debug: melcloud.0 (28022) Redis Objects: Use Redis connection: 127.0.0.1:9001 2022-12-05 12:20:02.307 - debug: melcloud.0 (28022) Objects client ready ... initialize now 2022-12-05 12:20:02.308 - debug: melcloud.0 (28022) Objects create System PubSub Client 2022-12-05 12:20:02.309 - debug: melcloud.0 (28022) Objects create User PubSub Client 2022-12-05 12:20:02.330 - debug: melcloud.0 (28022) Objects client initialize lua scripts 2022-12-05 12:20:02.334 - debug: melcloud.0 (28022) Objects connected to redis: 127.0.0.1:9001 2022-12-05 12:20:02.350 - debug: melcloud.0 (28022) Redis States: Use Redis connection: 127.0.0.1:9000 2022-12-05 12:20:02.358 - debug: melcloud.0 (28022) States create System PubSub Client 2022-12-05 12:20:02.359 - debug: melcloud.0 (28022) States create User PubSub Client 2022-12-05 12:20:02.410 - debug: melcloud.0 (28022) States connected to redis: 127.0.0.1:9000 2022-12-05 12:20:02.509 - info: melcloud.0 (28022) starting. Version 1.2.0 (non-npm: Black-Thunder/ioBroker.melcloud) in /opt/iobroker/node_modules/iobroker.melcloud, node: v16.18.1, js-controller: 4.0.23 2022-12-05 12:20:02.791 - debug: melcloud.0 (28022) Schedule restart: */2 * * * * 2022-12-05 12:20:02.852 - debug: melcloud.0 (28022) Initializing objects... 2022-12-05 12:20:02.913 - debug: melcloud.0 (28022) Checking adapter settings... 2022-12-05 12:20:02.914 - debug: melcloud.0 (28022) Getting current known devices... 2022-12-05 12:20:02.986 - debug: melcloud.0 (28022) Found known device: 57416137 2022-12-05 12:20:02.987 - info: melcloud.0 (28022) Connecting initially to MELCloud and retrieving data... 2022-12-05 12:20:02.987 - debug: melcloud.0 (28022) Fetching context key... 2022-12-05 12:20:02.987 - debug: melcloud.0 (28022) MELCloud email address: c.schanze@gmx.de - MELCloud password: Jenni1108 2022-12-05 12:20:03.268 - error: melcloud.0 (28022) No objects for MELCloud devices constructed yet. Try again in a few seconds... 2022-12-05 12:20:03.393 - error: melcloud.0 (28022) No objects for MELCloud devices constructed yet. Try again in a few seconds... 2022-12-05 12:20:03.913 - debug: melcloud.0 (28022) Received response from: https://app.melcloud.com/Mitsubishi.Wifi.Client/Login/ClientLogin (status code: 200 - OK) 2022-12-05 12:20:03.914 - debug: melcloud.0 (28022) Response from cloud: {"ErrorId":null,"ErrorMessage":null,"LoginStatus":0,"UserId":0,"RandomKey":null,"AppVersionAnnouncement":null,"LoginData":{"ContextKey":"FC9AEFC79E77465FB961DBC478F819","Client":117173,"Terms":1282,"AL":1,"ML":0,"CMI":true,"IsStaff":false,"CUTF":false,"CAA":false,"ReceiveCountryNotifications":false,"ReceiveAllNotifications":false,"CACA":false,"CAGA":false,"MaximumDevices":10,"ShowDiagnostics":false,"Language":4,"Country":85,"RealClient":0,"Name":"Christian Schanze","UseFahrenheit":false,"Duration":525600,"Expiry":"2023-12-05T11:20:03.18","CMSC":false,"PartnerApplicationVersion":null,"EmailSettingsReminderShown":true,"EmailUnitErrors":0,"EmailCommsErrors":0,"ChartSeriesHidden":0,"DeletePending":false,"IsImpersonated":false,"LanguageCode":"de","CountryName":"Deutschland","CurrencySymbol":"€","SupportEmailAddress":null,"DateSeperator":"/","TimeSeperator":":","AtwLogoFile":"ecodan_logo.png","DECCReport":false,"CSVReport1min":false,"HidePresetPanel":false,"EmailSettingsReminderRequired":false,"TermsText":null,"MapView":false,"MapZoom":15,"MapLongitude":8.91480230887504,"MapLatitude":52.24795056737217},"ListPendingInvite":[],"ListOwnershipChangeRequest":[],"ListPendingAnnouncement":[],"LoginMinutes":0,"LoginAttempts":0} 2022-12-05 12:20:03.914 - debug: melcloud.0 (28022) Login successful. ContextKey: FC9AEFC79E77465FB961DBC478F819 2022-12-05 12:20:03.915 - debug: melcloud.0 (28022) Fetching devices... 2022-12-05 12:20:04.715 - debug: melcloud.0 (28022) Received response from: https://app.melcloud.com/Mitsubishi.Wifi.Client/User/ListDevices (status code: 200 - OK) 2022-12-05 12:20:04.715 - debug: melcloud.0 (28022) Response from cloud: [{"ID":502693,"Name":"Fg","AddressLine1":"Bb","AddressLine2":null,"City":"Bvl","Postcode":"325","Latitude":51.165691,"Longitude":10.451526,"District":null,"FPDefined":false,"FPEnabled":false,"FPMinTemperature":14,"FPMaxTemperature":16,"HMDefined":false,"HMEnabled":false,"HMStartDate":null,"HMEndDate":null,"BuildingType":1,"PropertyType":8,"DateBuilt":null,"HasGasSupply":true,"LocationLookupDate":"2022-12-02T12:34:22.847","Country":85,"TimeZoneContinent":3,"TimeZoneCity":49,"TimeZone":119,"Location":1351,"CoolingDisabled":false,"Expanded":true,"Structure":{"Floors":[],"Areas":[],"Devices":[{"DeviceID":57416137,"DeviceName":"Wert","BuildingID":502693,"BuildingName":null,"FloorID":null,"FloorName":null,"AreaID":null,"AreaName":null,"ImageID":-1,"InstallationDate":null,"LastServiceDate":null,"Presets":[],"OwnerID":117173,"OwnerName":null,"OwnerEmail":null,"AccessLevel":4,"DirectAccess":false,"EndDate":"2500-01-01T00:00:00","Zone1Name":null,"Zone2Name":null,"MinTemperature":0,"MaxTemperature":40,"HideVaneControls":false,"HideDryModeControl":false,"HideRoomTemperature":false,"HideSupplyTemperature":false,"HideOutdoorTemperature":false,"BuildingCountry":null,"OwnerCountry":null,"AdaptorType":3,"LinkedDevice":null,"Type":1,"MacAddress":"70:61:be:ef:ce:86","SerialNumber":"2229012156","Device":{"PCycleActual":0,"ErrorMessages":"","DeviceType":1,"FTCVersion":1700,"FTCRevision":"r0","LastFTCVersion":0,"LastFTCRevision":null,"FTCModel":2,"RefridgerentAddress":0,"DipSwitch1":0,"DipSwitch2":160,"DipSwitch3":16,"DipSwitch4":0,"DipSwitch5":0,"DipSwitch6":0,"HasThermostatZone1":true,"HasThermostatZone2":true,"TemperatureIncrement":0.5,"DefrostMode":0,"HeatPumpFrequency":74,"MaxSetTemperature":45,"MinSetTemperature":25,"RoomTemperatureZone1":19,"RoomTemperatureZone2":19,"OutdoorTemperature":2,"FlowTemperature":46,"FlowTemperatureZone1":45.5,"FlowTemperatureZone2":25,"FlowTemperatureBoiler":25,"ReturnTemperature":44,"ReturnTemperatureZone1":38,"ReturnTemperatureZone2":25,"ReturnTemperatureBoiler":25,"BoilerStatus":false,"BoosterHeater1Status":false,"BoosterHeater2Status":false,"BoosterHeater2PlusStatus":false,"ImmersionHeaterStatus":false,"WaterPump1Status":true,"WaterPump2Status":true,"WaterPump3Status":false,"ValveStatus3Way":false,"ValveStatus2Way":true,"WaterPump4Status":false,"ValveStatus2Way2a":false,"ValveStatus2Way2b":false,"TankWaterTemperature":25,"UnitStatus":0,"HeatingFunctionEnabled":true,"ServerTimerEnabled":false,"ThermostatStatusZone1":false,"ThermostatStatusZone2":false,"ThermostatTypeZone1":2,"ThermostatTypeZone2":2,"MixingTankWaterTemperature":0,"CondensingTemperature":0,"DemandPercentage":10,"ConfiguredDemandPercentage":null,"HasDemandSideControl":false,"DailyHeatingEnergyConsumed":31.66,"DailyCoolingEnergyConsumed":0,"DailyHotWaterEnergyConsumed":0,"DailyHeatingEnergyProduced":49.74,"DailyCoolingEnergyProduced":0,"DailyHotWaterEnergyProduced":0,"DailyLegionellaActivationCounter":0,"LastLegionellaActivationTime":"0001-01-01T00:00:00","EffectiveFlags":0,"LastEffectiveFlags":0,"Power":true,"EcoHotWater":false,"OperationMode":2,"OperationModeZone1":0,"OperationModeZone2":2,"SetTemperatureZone1":21,"SetTemperatureZone2":20,"SetTankWaterTemperature":50,"TargetHCTemperatureZone1":21,"TargetHCTemperatureZone2":35,"ForcedHotWaterMode":false,"HolidayMode":false,"ProhibitHotWater":true,"ProhibitHeatingZone1":false,"ProhibitHeatingZone2":false,"ProhibitCoolingZone1":false,"ProhibitCoolingZone2":false,"ServerTimerDesired":false,"SecondaryZoneHeatCurve":false,"SetHeatFlowTemperatureZone1":0,"SetHeatFlowTemperatureZone2":0,"SetCoolFlowTemperatureZone1":0,"SetCoolFlowTemperatureZone2":0,"DECCReport":false,"CSVReport1min":false,"Zone2Master":false,"DailyEnergyConsumedDate":"2022-12-04T00:00:00","DailyEnergyProducedDate":"2022-12-04T00:00:00","CurrentEnergyConsumed":2,"CurrentEnergyProduced":3,"CurrentEnergyMode":null,"HeatingEnergyConsumedRate1":2,"HeatingEnergyConsumedRate2":0,"CoolingEnergyConsumedRate1":0,"CoolingEnergyConsumedRate2":0,"HotWaterEnergyConsumedRate1":0,"HotWaterEnergyConsumedRate2":0,"HeatingEnergyProducedRate1":3,"HeatingEnergyProducedRate2":0,"CoolingEnergyProducedRate1":0,"CoolingEnergyProducedRate2":0,"HotWaterEnergyProducedRate1":0,"HotWaterEnergyProducedRate2":0,"ErrorCode2Digit":0,"SpSubDivisionsToWrite":0,"SpSubDivisionsToRead":0,"SpState":0,"SpSubDivisionsWriteInProgress":0,"SpSubDivisionsReadInProgress":0,"InitialSettingsData":null,"InitialSettingsTimestamp":null,"SupportsHourlyEnergyReport":false,"HasZone2":false,"HasSimplifiedZone2":false,"CanHeat":true,"CanCool":false,"HasHotWaterTank":false,"CanSetTankTemperature":false,"CanSetEcoHotWater":false,"HasEnergyConsumedMeter":true,"HasEnergyProducedMeter":true,"CanMeasureEnergyProduced":false,"CanMeasureEnergyConsumed":false,"Zone1InRoomMode":true,"Zone2InRoomMode":false,"Zone1InHeatMode":true,"Zone2InHeatMode":true,"Zone1InCoolMode":false,"Zone2InCoolMode":false,"AllowDualRoomTemperature":false,"IsGeodan":false,"HasEcoCuteSettings":false,"HasFTC45Settings":true,"HasFTC6Settings":false,"CanEstimateEnergyUsage":true,"CanUseRoomTemperatureCooling":false,"IsFtcModelSupported":true,"MaxTankTemperature":60,"IdleZone1":false,"IdleZone2":true,"MinPcycle":1,"MaxPcycle":1,"MaxOutdoorUnits":255,"MaxIndoorUnits":255,"MaxTemperatureControlUnits":0,"ModelCode":"027a","DeviceID":57416137,"MacAddress":"70:61:be:ef:ce:86","SerialNumber":"2229012156","TimeZoneID":119,"DiagnosticMode":0,"DiagnosticEndDate":null,"ExpectedCommand":1,"Owner":117173,"DetectedCountry":null,"AdaptorType":3,"FirmwareDeployment":null,"FirmwareUpdateAborted":false,"LinkedDevice":null,"WifiSignalStrength":-74,"WifiAdapterStatus":"NORMAL","Position":"Unknown","PCycle":2,"PCycleConfigured":null,"RecordNumMax":1,"LastTimeStamp":"2022-12-05T12:19:00","ErrorCode":8000,"HasError":false,"LastReset":"2022-12-02T13:26:14.809","FlashWrites":2,"Scene":null,"TemperatureIncrementOverride":0,"SSLExpirationDate":"2037-12-31T00:00:00","SPTimeout":1,"Passcode":null,"ServerCommunicationDisabled":false,"ConsecutiveUploadErrors":0,"DoNotRespondAfter":null,"OwnerRoleAccessLevel":1,"OwnerCountry":85,"HideEnergyReport":false,"ExceptionHash":null,"ExceptionDate":null,"ExceptionCount":null,"Rate1StartTime":null,"Rate2StartTime":null,"ProtocolVersion":0,"UnitVersion":0,"FirmwareAppVersion":37000,"FirmwareWebVersion":0,"FirmwareWlanVersion":0,"EffectivePCycle":1,"MqttFlags":9,"HasErrorMessages":false,"Offline":false,"Units":[{"ID":1,"Device":0,"SerialNumber":"1111","ModelNumber":null,"Model":"Ecodan","UnitType":0,"IsIndoor":false},{"ID":2,"Device":0,"SerialNumber":"Jkwl","ModelNumber":195,"Model":"ECOSLIM-150L-PP-MEUK","UnitType":1,"IsIndoor":true}]},"DiagnosticMode":0,"DiagnosticEndDate":null,"Location":1351,"DetectedCountry":null,"Registrations":9,"LocalIPAddress":null,"TimeZone":119,"RegistReason":"STARTUP","ExpectedCommand":1,"RegistRetry":0,"DateCreated":"2022-12-02T12:30:25.176Z","FirmwareDeployment":null,"FirmwareUpdateAborted":false,"Permissions":{"CanSetForcedHotWater":true,"CanSetOperationMode":true,"CanSetPower":true,"CanSetTankWaterTemperature":true,"CanSetEcoHotWater":false,"CanSetFlowTemperature":true,"CanSetTemperatureIncrementOverride":true}}],"Clients":[]},"AccessLevel":4,"DirectAccess":true,"MinTemperature":0,"MaxTemperature":40,"Owner":null,"EndDate":"2500-01-01T00:00:00","iDateBuilt":null,"QuantizedCoordinates":{"Latitude":51.175,"Longitude":10.45}}] 2022-12-05 12:20:04.716 - debug: melcloud.0 (28022) Got air-to-water device from cloud: 57416137 (Wert) 2022-12-05 12:20:04.717 - debug: melcloud.0 (28022) Saving device data... 2022-12-05 12:20:04.922 - debug: melcloud.0 (28022) Created and saved ATW device 57416137 (Wert) 2022-12-05 12:20:04.978 - debug: melcloud.0 (28022) Updated device data for device 57416137 (Wert) 2022-12-05 12:20:04.978 - info: melcloud.0 (28022) Connection successful. Starting polling (interval: 5 minute(s))... 2022-12-05 12:20:25.260 - info: openweathermap.0 (28011) Terminated (NO_ERROR): Without reason 2022-12-05 12:20:25.775 - info: host.iobroker-iobroker1 instance system.adapter.openweathermap.0 terminated with code 0 (NO_ERROR)
DAs Enddatum ändert sich aktuell auf das aktuelle
-
@cookie98 Danke, das hilft mir schon mal weiter. Schau ich mir an und geb wieder Bescheid, wenn ich die Anpassungen auf Github hochgeladen hab.
Bzgl. des Enddatums: Welche Werte sind denn bei "startDate" und "endDate" eingetragen? Laut Log passt hier nämlich das Format nicht und dann wird standardmäßig das heutige Datum als Enddatum genommen.
-
@black-thunder said in Test Adapter melcloud v1.2.x Latest:
@cookie98 Danke, das hilft mir schon mal weiter. Schau ich mir an und geb wieder Bescheid, wenn ich die Anpassungen auf Github hochgeladen hab.
Bzgl. des Enddatums: Welche Werte sind denn bei "startDate" und "endDate" eingetragen? Laut Log passt hier nämlich das Format nicht und dann wird standardmäßig das heutige Datum als Enddatum genommen.
Start war 2022-12-01 End war 2022-12-05
-
@cookie98 Ah, da hat sich bei meiner letzten Änderung ein kleiner Fehler eingeschlichen. Das korrigiere ich dann gleich zusammen mit den anderen Anpassungen, dann sollte das Datum auch wieder korrekt ausgelesen werden.
-
@black-thunder said in Test Adapter melcloud v1.2.x Latest:
@cookie98 Ah, da hat sich bei meiner letzten Änderung ein kleiner Fehler eingeschlichen. Das korrigiere ich dann gleich zusammen mit den anderen Anpassungen, dann sollte das Datum auch wieder korrekt ausgelesen werden.
Bin gespannt
-
@cookie98 So, ich hab grad die Änderungen hochgeladen. Also bitte nochmal die aktuelle Version von Github installieren. Vor dem Test bitte aber auch den kompletten Objektbaum "melcloud.0.reports" und "melcloud.0.devices.XXXX.reports" löschen, damit das neu erzeugt werden kann.
Jetzt sollten wieder das Start- und Enddatum korrekt ausgelesen und zusätzlich die für Wärmepumpen relevanten Berichtswerte befüllt werden.
-
@black-thunder said in Test Adapter melcloud v1.2.x Latest:
@cookie98 So, ich hab grad die Änderungen hochgeladen. Also bitte nochmal die aktuelle Version von Github installieren. Vor dem Test bitte aber auch den kompletten Objektbaum "melcloud.0.reports" und "melcloud.0.devices.XXXX.reports" löschen, damit das neu erzeugt werden kann.
Jetzt sollten wieder das Start- und Enddatum korrekt ausgelesen und zusätzlich die für Wärmepumpen relevanten Berichtswerte befüllt werden.
Teste ich heute Abend wenn der Nachwuchs im Bett ist.
-
@black-thunder said in Test Adapter melcloud v1.2.x Latest:
@cookie98 So, ich hab grad die Änderungen hochgeladen. Also bitte nochmal die aktuelle Version von Github installieren. Vor dem Test bitte aber auch den kompletten Objektbaum "melcloud.0.reports" und "melcloud.0.devices.XXXX.reports" löschen, damit das neu erzeugt werden kann.
Jetzt sollten wieder das Start- und Enddatum korrekt ausgelesen und zusätzlich die für Wärmepumpen relevanten Berichtswerte befüllt werden.
Sollte passend
Jetzt noch das mir die Tageswerte angezeigt werden dann bin ich zufrieden! Danke für das ganze hier !