NEWS
Test Adapter stiebel-isg v1.4.x GitHub
-
@maodch
Das ist korrekt. Bin noch nicht zur Umsetzung gekommen, bzw. noch nicht fertig. Spätestens am WE wahrscheinlich. -
Ahh, sorry, mach dir keinen Stress, hatte dich weiter oben so verstanden, als dass der Teil schon fertig wäre und du "nur" noch mit dem .next().get() ... am probieren wärst resp. auch noch mit dem ajax.
Wollte dich da nicht pushen, bin ja extrem dankbar für deine Hilfe und Bemühungen.Also, take your time und wirklich ein grosses Danke für deine Hilfe.
-
@maodch
Im Prinzip ist er ja fertig, aber funktioniert leider nicht in ioBroker. Darum der Versuch mit einer anderen Library. -
@maodch
Ich hab nochmal eine Version hochgeladen. Sieh bitte mal im ioBroker Log nach, ob dort ein "Fehler" auftaucht, der etwa so lautet:idCommand: ['id']='val35',val35
Es sollte diverse auftauchen, wichtig wäre die 35. Fehler sind es nur zur besseren Sichtbarkeit.
Wenn es nicht auftaucht, weiß ich echt nicht mehr weiter.
-
@unltdnetworx
Einen schönen guten Abend ...
Vielen Dank für's Update.Die errors sind folgende:
stiebel-isg.1 2020-01-20 23:55:35.202 error idCommand2: ['id']='val102',val102 stiebel-isg.1 2020-01-20 23:55:35.201 error idCommand2: ['id']='val101',val101 stiebel-isg.1 2020-01-20 23:55:30.712 error idCommand2: ['id']='val100',val100 stiebel-isg.1 2020-01-20 23:55:30.711 error idCommand2: ['id']='val99',val99 stiebel-isg.1 2020-01-20 23:55:22.077 error idCommand2: ['id']='val3',val3 stiebel-isg.1 2020-01-20 23:55:22.076 error idCommand2: ['id']='val4',val4 stiebel-isg.1 2020-01-20 23:55:22.076 error idCommand2: ['id']='val5',val5 stiebel-isg.1 2020-01-20 23:55:17.712 error idCommand2: ['id']='val7',val7 stiebel-isg.1 2020-01-20 23:55:17.712 error idCommand2: ['id']='val6',val6 stiebel-isg.1 2020-01-20 23:55:13.285 error idCommand2: ['id']='val25',val25 stiebel-isg.1 2020-01-20 23:55:13.284 error idCommand2: ['id']='val10977',val10977 stiebel-isg.1 2020-01-20 23:55:13.284 error idCommand2: ['id']='val10976',val10976 stiebel-isg.1 2020-01-20 23:55:03.586 error idCommand2: ['id']='val26',val26 stiebel-isg.1 2020-01-20 23:55:03.583 error idCommand2: ['id']='val10983',val10983 stiebel-isg.1 2020-01-20 23:55:03.582 error idCommand2: ['id']='val10982',val10982 stiebel-isg.1 2020-01-20 23:55:03.581 error idCommand2: ['id']='val10981',val10981 stiebel-isg.1 2020-01-20 23:55:03.580 error idCommand2: ['id']='val10980',val10980 stiebel-isg.1 2020-01-20 23:56:09.695 error idCommand2: ['id']='val45',val45 stiebel-isg.1 2020-01-20 23:56:09.694 error idCommand2: ['id']='val38',val38 stiebel-isg.1 2020-01-20 23:56:09.693 error idCommand2: ['id']='val11010',val11010 stiebel-isg.1 2020-01-20 23:56:09.693 error idCommand2: ['id']='val368',val368 stiebel-isg.1 2020-01-20 23:56:00.357 error idCommand2: ['id']='val104',val104 stiebel-isg.1 2020-01-20 23:56:00.357 error idCommand2: ['id']='val105',val105 stiebel-isg.1 2020-01-20 23:57:31.511 error idCommand2: ['id']='val11019',val11019 stiebel-isg.1 2020-01-20 23:57:31.511 error idCommand2: ['id']='val11018',val11018 stiebel-isg.1 2020-01-20 23:57:26.547 error idCommand2: ['id']='val11019',val11019 stiebel-isg.1 2020-01-20 23:57:26.547 error idCommand2: ['id']='val11018',val11018 stiebel-isg.1 2020-01-20 23:57:21.501 error idCommand2: ['id']='val399',val399 stiebel-isg.1 2020-01-20 23:57:21.501 error idCommand2: ['id']='val120',val120 stiebel-isg.1 2020-01-20 23:57:11.392 error idCommand2: ['id']='val1127',val1127 stiebel-isg.1 2020-01-20 23:57:11.391 error idCommand2: ['id']='val1126',val1126 stiebel-isg.1 2020-01-20 23:57:06.373 error idCommand2: ['id']='val372',val372 stiebel-isg.1 2020-01-20 23:57:01.379 error idCommand2: ['id']='val414',val414 stiebel-isg.1 2020-01-20 23:57:01.379 error idCommand2: ['id']='val413',val413 stiebel-isg.1 2020-01-20 23:57:01.378 error idCommand2: ['id']='val43',val43 stiebel-isg.1 2020-01-20 23:57:01.378 error idCommand2: ['id']='val41',val41
zweiter Versuch:
stiebel-isg.1 2020-01-21 00:07:26.064 error idCommand2: ['id']='val26',val26 stiebel-isg.1 2020-01-21 00:07:26.064 error idCommand2: ['id']='val10983',val10983 stiebel-isg.1 2020-01-21 00:07:26.063 error idCommand2: ['id']='val10982',val10982 stiebel-isg.1 2020-01-21 00:07:26.063 error idCommand2: ['id']='val10981',val10981 stiebel-isg.1 2020-01-21 00:07:26.063 error idCommand2: ['id']='val10980',val10980 stiebel-isg.1 2020-01-21 00:07:21.172 error idCommand2: ['id']='val45',val45 stiebel-isg.1 2020-01-21 00:07:21.171 error idCommand2: ['id']='val38',val38 stiebel-isg.1 2020-01-21 00:07:21.171 error idCommand2: ['id']='val11010',val11010 stiebel-isg.1 2020-01-21 00:07:21.171 error idCommand2: ['id']='val368',val368 stiebel-isg.1 2020-01-21 00:07:06.323 error idCommand2: ['id']='val104',val104 stiebel-isg.1 2020-01-21 00:07:06.322 error idCommand2: ['id']='val105',val105 stiebel-isg.1 2020-01-21 00:06:57.058 error idCommand2: ['id']='val414',val414 stiebel-isg.1 2020-01-21 00:06:57.058 error idCommand2: ['id']='val413',val413 stiebel-isg.1 2020-01-21 00:06:57.057 error idCommand2: ['id']='val43',val43 stiebel-isg.1 2020-01-21 00:06:57.057 error idCommand2: ['id']='val41',val41 stiebel-isg.1 2020-01-21 00:06:52.101 error idCommand2: ['id']='val7',val7 stiebel-isg.1 2020-01-21 00:06:52.101 error idCommand2: ['id']='val6',val6 stiebel-isg.1 2020-01-21 00:06:42.947 error idCommand2: ['id']='val3',val3 stiebel-isg.1 2020-01-21 00:06:42.947 error idCommand2: ['id']='val4',val4 stiebel-isg.1 2020-01-21 00:06:42.946 error idCommand2: ['id']='val5',val5 stiebel-isg.1 2020-01-21 00:06:24.765 error idCommand2: ['id']='val11019',val11019 stiebel-isg.1 2020-01-21 00:06:24.764 error idCommand2: ['id']='val11018',val11018 stiebel-isg.1 2020-01-21 00:06:19.706 error idCommand2: ['id']='val11019',val11019 stiebel-isg.1 2020-01-21 00:06:19.705 error idCommand2: ['id']='val11018',val11018 stiebel-isg.1 2020-01-21 00:06:14.718 error idCommand2: ['id']='val399',val399 stiebel-isg.1 2020-01-21 00:06:14.718 error idCommand2: ['id']='val120',val120 stiebel-isg.1 2020-01-21 00:06:04.681 error idCommand2: ['id']='val1127',val1127 stiebel-isg.1 2020-01-21 00:06:04.680 error idCommand2: ['id']='val1126',val1126 stiebel-isg.1 2020-01-21 00:05:59.575 error idCommand2: ['id']='val372',val372 stiebel-isg.1 2020-01-21 00:05:36.123 error idCommand2: ['id']='val100',val100 stiebel-isg.1 2020-01-21 00:05:36.123 error idCommand2: ['id']='val99',val99 stiebel-isg.1 2020-01-21 00:05:05.660 error idCommand2: ['id']='val25',val25 stiebel-isg.1 2020-01-21 00:05:05.659 error idCommand2: ['id']='val10977',val10977 stiebel-isg.1 2020-01-21 00:05:05.658 error idCommand2: ['id']='val10976',val10976 stiebel-isg.1 2020-01-21 00:05:00.564 error idCommand2: ['id']='val102',val102 stiebel-isg.1 2020-01-21 00:05:00.562 error idCommand2: ['id']='val101',val101
3.bunch
stiebel-isg.1 2020-01-21 00:35:38.484 error idCommand2: ['id']='val372',val372 stiebel-isg.1 2020-01-21 00:35:33.480 error idCommand2: ['id']='val1127',val1127 stiebel-isg.1 2020-01-21 00:35:33.480 error idCommand2: ['id']='val1126',val1126 stiebel-isg.1 2020-01-21 00:35:23.390 error idCommand2: ['id']='val399',val399 stiebel-isg.1 2020-01-21 00:35:23.388 error idCommand2: ['id']='val120',val120 stiebel-isg.1 2020-01-21 00:35:18.285 error idCommand2: ['id']='val11019',val11019 stiebel-isg.1 2020-01-21 00:35:18.285 error idCommand2: ['id']='val11018',val11018 stiebel-isg.1 2020-01-21 00:35:13.242 error idCommand2: ['id']='val11019',val11019 stiebel-isg.1 2020-01-21 00:35:13.242 error idCommand2: ['id']='val11018',val11018 stiebel-isg.1 2020-01-21 00:35:03.389 error idCommand2: ['id']='val414',val414 stiebel-isg.1 2020-01-21 00:35:03.389 error idCommand2: ['id']='val413',val413 stiebel-isg.1 2020-01-21 00:35:03.388 error idCommand2: ['id']='val43',val43 stiebel-isg.1 2020-01-21 00:35:03.388 error idCommand2: ['id']='val41',val41 stiebel-isg.1 2020-01-21 00:34:58.387 error idCommand2: ['id']='val104',val104 stiebel-isg.1 2020-01-21 00:34:58.386 error idCommand2: ['id']='val105',val105 stiebel-isg.1 2020-01-21 00:34:43.741 error idCommand2: ['id']='val45',val45 stiebel-isg.1 2020-01-21 00:34:43.740 error idCommand2: ['id']='val38',val38 stiebel-isg.1 2020-01-21 00:34:43.738 error idCommand2: ['id']='val11010',val11010 stiebel-isg.1 2020-01-21 00:34:43.738 error idCommand2: ['id']='val368',val368 stiebel-isg.1 2020-01-21 00:34:38.680 error idCommand2: ['id']='val26',val26 stiebel-isg.1 2020-01-21 00:34:38.678 error idCommand2: ['id']='val10983',val10983 stiebel-isg.1 2020-01-21 00:34:38.678 error idCommand2: ['id']='val10982',val10982 stiebel-isg.1 2020-01-21 00:34:38.676 error idCommand2: ['id']='val10981',val10981 stiebel-isg.1 2020-01-21 00:34:38.676 error idCommand2: ['id']='val10980',val10980 stiebel-isg.1 2020-01-21 00:34:33.623 error idCommand2: ['id']='val25',val25 stiebel-isg.1 2020-01-21 00:34:33.623 error idCommand2: ['id']='val10977',val10977 stiebel-isg.1 2020-01-21 00:34:33.623 error idCommand2: ['id']='val10976',val10976 stiebel-isg.1 2020-01-21 00:34:28.487 error idCommand2: ['id']='val102',val102 stiebel-isg.1 2020-01-21 00:34:28.487 error idCommand2: ['id']='val101',val101 stiebel-isg.1 2020-01-21 00:34:23.987 error idCommand2: ['id']='val100',val100 stiebel-isg.1 2020-01-21 00:34:23.987 error idCommand2: ['id']='val99',val99 stiebel-isg.1 2020-01-21 00:34:02.418 error idCommand2: ['id']='val3',val3 stiebel-isg.1 2020-01-21 00:34:02.416 error idCommand2: ['id']='val4',val4 stiebel-isg.1 2020-01-21 00:34:02.416 error idCommand2: ['id']='val5',val5 stiebel-isg.1 2020-01-21 00:33:57.972 error idCommand2: ['id']='val7',val7 stiebel-isg.1 2020-01-21 00:33:57.972 error idCommand2: ['id']='val6',val6 stiebel-isg.1 2020-01-21 00:30:03.473 error idCommand2: ['id']='val372',val372 stiebel-isg.1 2020-01-21 00:29:58.469 error idCommand2: ['id']='val1127',val1127 stiebel-isg.1 2020-01-21 00:29:58.459 error idCommand2: ['id']='val1126',val1126 stiebel-isg.1 2020-01-21 00:29:48.437 error idCommand2: ['id']='val399',val399 stiebel-isg.1 2020-01-21 00:29:48.431 error idCommand2: ['id']='val120',val120 stiebel-isg.1 2020-01-21 00:29:43.355 error idCommand2: ['id']='val11019',val11019 stiebel-isg.1 2020-01-21 00:29:43.348 error idCommand2: ['id']='val11018',val11018 stiebel-isg.1 2020-01-21 00:29:38.281 error idCommand2: ['id']='val11019',val11019 stiebel-isg.1 2020-01-21 00:29:38.275 error idCommand2: ['id']='val11018',val11018 stiebel-isg.1 2020-01-21 00:29:28.498 error idCommand2: ['id']='val414',val414 stiebel-isg.1 2020-01-21 00:29:28.494 error idCommand2: ['id']='val413',val413 stiebel-isg.1 2020-01-21 00:29:28.491 error idCommand2: ['id']='val43',val43 stiebel-isg.1 2020-01-21 00:29:28.485 error idCommand2: ['id']='val41',val41 stiebel-isg.1 2020-01-21 00:29:23.487 error idCommand2: ['id']='val104',val104 stiebel-isg.1 2020-01-21 00:29:23.480 error idCommand2: ['id']='val105',val105 stiebel-isg.1 2020-01-21 00:29:08.846 error idCommand2: ['id']='val45',val45 stiebel-isg.1 2020-01-21 00:29:08.820 error idCommand2: ['id']='val38',val38 stiebel-isg.1 2020-01-21 00:29:08.816 error idCommand2: ['id']='val11010',val11010 stiebel-isg.1 2020-01-21 00:29:08.812 error idCommand2: ['id']='val368',val368 stiebel-isg.1 2020-01-21 00:29:03.864 error idCommand2: ['id']='val26',val26 stiebel-isg.1 2020-01-21 00:29:03.860 error idCommand2: ['id']='val10983',val10983 stiebel-isg.1 2020-01-21 00:29:03.856 error idCommand2: ['id']='val10982',val10982 stiebel-isg.1 2020-01-21 00:29:03.828 error idCommand2: ['id']='val10981',val10981 stiebel-isg.1 2020-01-21 00:29:03.821 error idCommand2: ['id']='val10980',val10980 stiebel-isg.1 2020-01-21 00:28:58.805 error idCommand2: ['id']='val25',val25 stiebel-isg.1 2020-01-21 00:28:58.783 error idCommand2: ['id']='val10977',val10977 stiebel-isg.1 2020-01-21 00:28:58.776 error idCommand2: ['id']='val10976',val10976 stiebel-isg.1 2020-01-21 00:28:53.766 error idCommand2: ['id']='val102',val102 stiebel-isg.1 2020-01-21 00:28:53.759 error idCommand2: ['id']='val101',val101 stiebel-isg.1 2020-01-21 00:28:49.328 error idCommand2: ['id']='val100',val100 stiebel-isg.1 2020-01-21 00:28:49.321 error idCommand2: ['id']='val99',val99 stiebel-isg.1 2020-01-21 00:28:27.855 error idCommand2: ['id']='val3',val3 stiebel-isg.1 2020-01-21 00:28:27.851 error idCommand2: ['id']='val4',val4 stiebel-isg.1 2020-01-21 00:28:27.840 error idCommand2: ['id']='val5',val5 stiebel-isg.1 2020-01-21 00:28:23.366 error idCommand2: ['id']='val7',val7 stiebel-isg.1 2020-01-21 00:28:23.352 error idCommand2: ['id']='val6',val6 stiebel-isg.1 2020-01-21 00:26:31.687 error idCommand2: ['id']='val414',val414 stiebel-isg.1 2020-01-21 00:26:31.680 error idCommand2: ['id']='val413',val413 stiebel-isg.1 2020-01-21 00:26:31.673 error idCommand2: ['id']='val43',val43 stiebel-isg.1 2020-01-21 00:26:31.661 error idCommand2: ['id']='val41',val41 stiebel-isg.1 2020-01-21 00:26:26.659 error idCommand2: ['id']='val7',val7 stiebel-isg.1 2020-01-21 00:26:26.653 error idCommand2: ['id']='val6',val6 stiebel-isg.1 2020-01-21 00:26:18.054 error idCommand2: ['id']='val25',val25 stiebel-isg.1 2020-01-21 00:26:18.032 error idCommand2: ['id']='val10977',val10977 stiebel-isg.1 2020-01-21 00:26:18.026 error idCommand2: ['id']='val10976',val10976 stiebel-isg.1 2020-01-21 00:26:13.034 error idCommand2: ['id']='val102',val102 stiebel-isg.1 2020-01-21 00:26:13.023 error idCommand2: ['id']='val101',val101 stiebel-isg.1 2020-01-21 00:26:08.579 error idCommand2: ['id']='val100',val100 stiebel-isg.1 2020-01-21 00:26:08.572 error idCommand2: ['id']='val99',val99 stiebel-isg.1 2020-01-21 00:25:50.764 error idCommand2: ['id']='val45',val45 stiebel-isg.1 2020-01-21 00:25:50.747 error idCommand2: ['id']='val38',val38 stiebel-isg.1 2020-01-21 00:25:50.742 error idCommand2: ['id']='val11010',val11010 stiebel-isg.1 2020-01-21 00:25:50.737 error idCommand2: ['id']='val368',val368 stiebel-isg.1 2020-01-21 00:25:45.744 error idCommand2: ['id']='val26',val26 stiebel-isg.1 2020-01-21 00:25:45.740 error idCommand2: ['id']='val10983',val10983 stiebel-isg.1 2020-01-21 00:25:45.737 error idCommand2: ['id']='val10982',val10982 stiebel-isg.1 2020-01-21 00:25:45.714 error idCommand2: ['id']='val10981',val10981 stiebel-isg.1 2020-01-21 00:25:45.707 error idCommand2: ['id']='val10980',val10980 stiebel-isg.1 2020-01-21 00:25:40.777 error idCommand2: ['id']='val104',val104 stiebel-isg.1 2020-01-21 00:25:40.766 error idCommand2: ['id']='val105',val105 stiebel-isg.1 2020-01-21 00:25:30.985 error idCommand2: ['id']='val3',val3 stiebel-isg.1 2020-01-21 00:25:30.974 error idCommand2: ['id']='val4',val4 stiebel-isg.1 2020-01-21 00:25:30.968 error idCommand2: ['id']='val5',val5
@unltdnetworx Leider keine 35 :_(
Habe diese sogar noch als State erstellt, aber kommt iwi nicht. -
Moin zusammen,
ich glaube ich habe mit einem ähnlichen Problemkind zu kämpfen. Wenn ich versuche Daten mit "getState().val" bzw. "getState().ack" abzugreifen und die Datenpunkte vom stiebel-isg Adapter nicht belegt werden, weil im Moment der Abfrage die Variable vom ISG nicht benutzt wird, dann wird im Datenpunkt kein Wert bzw. auch nicht "false" eingetragen.Beispiel:
console.log('Ausgabe1: ' + getState('stiebel-isg.0.Info.STATUS.BETRIEBSSTATUS.HEIZEN').ack); console.log('Ausgabe2: ' + getState('stiebel-isg.0.Info.STATUS.BETRIEBSSTATUS.SCHALTPROGRAMM_AKTIV').ack);
liefert:
19:16:14.337 info javascript.0 (25315) Stop script script.js.ISG.Test 19:16:14.448 info javascript.0 (25315) Start javascript script.js.ISG.Test 19:16:14.464 warn javascript.0 (25315) at script.js.ISG.Test:1:28 19:16:14.465 info javascript.0 (25315) script.js.ISG.Test: Ausgabe1: undefined 19:16:14.465 info javascript.0 (25315) script.js.ISG.Test: Ausgabe2: true 19:16:14.465 info javascript.0 (25315) script.js.ISG.Test: registered 0 subscriptions and 0 schedules
Gibt es denn die Möglichkeit adapterseitig ein "false" zu setzen, wenn Datenpunkte vom ISG nicht belegt werden? Andere Lösungswege sind auch willkommen.
-
@SaschaS
Das geht leider nicht, weil die Werte im ISG nicht auf einen bestimmten Wert gesetzt werden, sondern einfach nicht mehr auftauchen.Das Problem wurde schon mal in diesem oder einem anderen Thread erörtert. Du könntest z.B. die letzte Änderung auswerten. Die Werte verfallen im Moment nach der doppelten Abrufzeit. Alternativ mit einem Script bei undefined auf false setzen.
-
Musste es auch schmerzhaft lösen, aber es tut so:
if(wertvonisg == null){WriteLog("NULL wurde von der ISG gemeldet",2);}sprich, halte die Daten (letzte Version) selber vor, und wenn die neuen Daten "null" sind, verwende die alten, bis du neue bekommst.
Aber schon komisch, das Thema hat sich erst seit geringer Zeit aufgetan, au meinen alten Raspis läuft das ohne zu motzen, ausser, wenn der Adapter neu gestartet wird, taucht die gleiche Meldungsliste auf, dann aber nie mehr.
-
@maodch
Hast du die PN gelesen? -
@unltdnetworx
Sorry, erst jetzt. Danke. -
@maodch @unltdnetworx
Erst einmal Danke für die schnelle Antwort. Ich scheue mich noch ein wenig auf Grund meiner Unerfahrenheit in geladene Adapter (also den Stiebel-ISG) einzugreifen und Datenpunkte zu beschreiben.Auch bin ich verwirrt, wo ich obigen Code zu implimentieren habe. Die If-Abfrage müsste doch dann auch in die schedule() mit rein. Dann erhalte ich doch auch nach Ablauf der Zeit wieder eine Warnung im Log. Könnt ihr noch einmal weiterhelfen. Danke
Bislang sieht mein Code so aus:
schedule("* * * * *", function () { const HEIZKREISPUMPE = "stiebel-isg.0.Info.IST_SOLLWERTE.STATUS.HEIZKREISPUMPE"; var VORLAUFTEMP = getState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.VORLAUFTEMP').val; var RÜCKLAUFTEMP = getState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.RÜCKLAUFTEMP').val; var SPREIZUNG = getState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.SPREIZUNG').val; var ISTWERT_HK1 = getState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.ISTWERT_HK1').val; var VOLUMENSTROM = getState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.VOLUMENSTROM').val; //var HEIZKREISPUMPE = false; // pump active, valid temperatures only if (getState(HEIZKREISPUMPE).notExist) { setState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.HKP_VORLAUFTEMP',0,true); setState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.HKP_RÜCKLAUFTEMP',0,true); setState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.HKP_SPREIZUNG',0,true); setState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.HKP_ISTWERT_HK1',0,true); setState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.HKP_VOLUMENSTROM',0,true); console.log("Die HKP läuft aktuell nicht. "); } else { setState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.HKP_VORLAUFTEMP',VORLAUFTEMP,true); setState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.HKP_RÜCKLAUFTEMP',RÜCKLAUFTEMP,true); setState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.HKP_SPREIZUNG',SPREIZUNG,true); setState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.HKP_ISTWERT_HK1',ISTWERT_HK1,true); setState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.HKP_VOLUMENSTROM',VOLUMENSTROM,true); console.log("Die HKP ist aktiv. Die VL beträgt " + VORLAUFTEMP); }; };
-
@SaschaS
Am Besten erstellst du eigene Datenpunkte. Die Info Datenpunkte im ISG sind ohnehin nicht beschreibbar. -
@unltdnetworx Habe ich ja bereits größtenteils. Würde ich auch beibehalten. Aber ich muss ja mit getsState() auf die Heizkreispumpe vom Adapter zugreifen. Und wenn diese keinen Wert verzeichnet, dann gibt es doch die Warnung im Log.
-
Es gibt jetzt eine neue Version im Masterbranch. Es werden nun zusätzliche Felder aus bestimmten Heizungen unterstützt. Basierend auf der WPL25A.
Wer kann, bitte gerne testen und hier kurzes Feedback geben.
-
@SaschaS
Der Fehler kommt aus deinem Script, richtig?Du könntest es mit try und catch versuchen.
Etwa so:
try { var VORLAUFTEMP = getState('stiebel-isg.0.Info.IST_SOLLWERTE.HEIZUNG.VORLAUFTEMP').val; setState('eigenerDatenpunkt',VORLAUFTEMP,true); } catch (e) { setState('eigenerDatenpunkt',0,true); }
-
Also, ich habe das Update nun rund 24h getestet und hatte keine Zwischenfälle.
Auch die Werte wurden vom System mehrmals verändert und funktionierten.Also von meiner Seite aus, super Arbeit
-
mir ist jetzt im Langzeitbetrieb noch etwas aufgefallen.
Alle states motzen nicht mehr, ausser :
getState "stiebel-isg.0.Info.ANLAGE.HEIZUNG.AUSSENTEMPERATUR" not found (3)Immer der, egal was du davon willst, der schlägt auf.
In der alten Version macht dieser State keinen Mux, in der neuen, immer trouble.
Kannst du das ev. noch fixen? -
@maodch
Werden da denn Werte bei dir geschrieben? Ich denke, bei mir wird der aktualisiert.
Evtl. den Wert mal löschen. Wird er dann neu erzeugt? -
Bei mir heißt der Wert stiebel-isg.0.Info.ANLAGE.HEIZEN.AUSSENTEMPERATUR und wird sowohl neu erstellt, als auch aktualisiert.
-
Habe den State gelöscht, und er kam wieder, aber genau gleich.
Interessant ist aber, dass der State der einzige ist der Gross/Klein geschrieben wird, alle anderen sind UPPERCASE.Habe selbes auch auf meinem Backupsystem, eim Raspy4. Auch dort, sieht der State genau gleich aus.
