Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter stiebel-isg v1.4.x GitHub

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter stiebel-isg v1.4.x GitHub

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maodch @unltdnetworx last edited by

      @unltdnetworx
      Habe mal ein Downgrade des J-Script Adapters gemacht, konnte das Problem auch via Google noch finden ... dass der plötzlich Links zu states verliert ... melde mich, sobald das gefunden ist, dann können wir weiter testen wegen dem eigentlichen Wunsch 🙂
      Aber z.Z. ist es Hexenjagt, das muss zuerst weg.

      @unltdnetworx sagte in Test Adapter stiebel-isg v1.4.x GitHub:

      @maodch

      1. Genau, das sind Sekunden.
      2. Der Befehl heißt setStatenotexists, glaub ich.
      1 Reply Last reply Reply Quote 0
      • M
        maodch last edited by

        @unltdnetworx

        Habe jetzt ein Backup eingespielt mit der isg 1.4.9, dem alten jController (1.5.14 statt 2.1.1) und sogar dem altem NPM (10.16.3 statt 10.18.1), aber das Verhalten nicht mehr vorhanden.
        Den Abfrage-Intevall habe ich bei 60 Sekunden belassen (script -> isg-adapter), also so wie mit den Fehlern.

        Ev. liegt es am jController, oder muss ja fast.

        Werde das jetzt noch über Nacht laufen lassen (sind jetzt 3h ohne Fehler), dann wieder die andere Version verwenden. Wenn dann alles wieder buggy wird, hat es wohl mit den obigen 2 Kandidaten etwas zu tun. Wenn jetzt plötzlich alles geht, dann weiss ich auch nicht mehr 😵

        Trotzdem verstehe ich noch immer nicht, dass ich einen Fehler erhalte, beim "getState().val", als wäre der State "null".
        Wie handelst du den am isg Adapter wenn ich fragen darf? Wenn bei der Abfrage all 60 Sekunden nichts kommt, und der State existiert, gibst du "null" in den State nehme ich an? Ansonsten würde mir ja der j-script Adapter keinen Fehler werfen.
        Wäre es da allenfalls eine gute Option, z.B. 2-3 Retries zu machen bevor der State mit null befüllt wird, gerade weil das isg (Hardware) soooooo träge und unresponsive ist?

        unltdnetworx S 3 Replies Last reply Reply Quote 0
        • unltdnetworx
          unltdnetworx Developer @maodch last edited by

          @maodch
          Bei mir tritt der Fehler nicht auf. Liegt vermutlich daran, dass ein getState nur beim Einlesen von Datenpunkten gebraucht wird. Beim meinem Adapter werden ja nur welche geschrieben, das Auslesen geschieht ja aus der Heizung.

          Beim Schreiben in die Heizung wäre das anders, aber hier reagieren ich nur auf Änderungen von Werten, mittels onChange.

          Evtl. liegt es daran.

          1 Reply Last reply Reply Quote 0
          • unltdnetworx
            unltdnetworx Developer @maodch last edited by

            @maodch sagte in Test Adapter stiebel-isg v1.4.x GitHub:

            isg 1.4.9

            Die Änderung zur Version 1.4.10 wäre eigentlich nur die Abänderung der Kommawerte in Punktwerte. Kann es sein, dass diese Werte betroffen sind?

            Ansonsten hat es mit dem Adapter nichts zu tun, da dein Loop ja keine Daten aus dem Adapter holt, sondern aus dem JS-Adapter. Bzw. den in ioBroker durch den ISG Adapter geschriebenen Werten.

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

              @unltdnetworx

              Also, es sieht so aus.
              Bei der alten Version, wirft der Java-Script Adapter inner dann eine Fehlermeldung, wenn das ISG (Hardware) nicht verfügbar ist oder am sterben ist (habe es mit einem Sekunden-Timer und mit Aus- Einstecken der Hardware forciert).

              ABER: Es hat immer werde im STATE, die sind nie NULL, trotzdem wirft er diese warnings und auch in meinen Testvariabeln kommt nur noch NULL an.

              Mache ich das selbe Speil mit der alten Konfiguration, kommt da KEIN FEHLER, sondern es nimmt einfach den alten Wert, welcher ja im STATE drin steht, ohne sich zu beklagen, dass die Hardware zickt.

              Also, irgendetwas muss passiert sein, dass sich das ganze anders verhält.
              Jedenfalls bin ich jetzt wieder auf der alten Version.

              Wenn du also noch ideen zum Festwert hast 🙂

              unltdnetworx 1 Reply Last reply Reply Quote 0
              • unltdnetworx
                unltdnetworx Developer @maodch last edited by

                @maodch sagte in Test Adapter stiebel-isg v1.4.x GitHub:

                Wenn du also noch ideen zum Festwert hast

                Heute Abend stelle ich das Auslesen des ISG mal testweise von Request auf Axios um. Davon erhoffe ich mir ein zuverlässigeres Auslesen der Werte, auch des Festwertes. Dieser sollte eigentlich schon funktionieren. Außerdem sollten die Anfragen nacheinander gesendet werden und nicht gleichzeitig.

                Ich melde mich.

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

                  @unltdnetworx

                  Ok, dann werde ich morgen Abend nochmals mit dem "heilen" Setup den WPL25 Adapter installieren und testen.
                  Habe leider z.Z. keinen Host mehr frei, daher muss ich morgen etwas umschichten.
                  Melde mich dann morgen wieder.

                  Gruss + Danke

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

                    @unltdnetworx

                    Hier bin ich wieder.
                    Also, der Festwertbetrieb taucht nur noch unter "info" auf, aber natürlich nur read-only.
                    Unter "Einstellungen->Heizen->Grundeinstellungen" ist kein State vorhanden.

                    unltdnetworx 1 Reply Last reply Reply Quote 0
                    • unltdnetworx
                      unltdnetworx Developer @maodch last edited by

                      @maodch
                      Das ist korrekt. Bin noch nicht zur Umsetzung gekommen, bzw. noch nicht fertig. Spätestens am WE wahrscheinlich.

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

                        @unltdnetworx

                        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.

                        unltdnetworx 2 Replies Last reply Reply Quote 0
                        • unltdnetworx
                          unltdnetworx Developer @maodch last edited by

                          @maodch
                          Im Prinzip ist er ja fertig, aber funktioniert leider nicht in ioBroker. Darum der Versuch mit einer anderen Library.

                          1 Reply Last reply Reply Quote 0
                          • unltdnetworx
                            unltdnetworx Developer @maodch last edited by

                            @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.

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

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • S
                                SaschaS @maodch last edited by

                                @maodch @unltdnetworx

                                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.

                                unltdnetworx 1 Reply Last reply Reply Quote 0
                                • unltdnetworx
                                  unltdnetworx Developer @SaschaS last edited by unltdnetworx

                                  @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.

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

                                    @SaschaS

                                    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.

                                    unltdnetworx 1 Reply Last reply Reply Quote 0
                                    • unltdnetworx
                                      unltdnetworx Developer @maodch last edited by

                                      @maodch
                                      Hast du die PN gelesen?

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        maodch @unltdnetworx last edited by

                                        @unltdnetworx
                                        Sorry, erst jetzt. Danke.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          SaschaS last edited by

                                          @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);    
                                              }; 
                                          }; 
                                          
                                          unltdnetworx 1 Reply Last reply Reply Quote 0
                                          • unltdnetworx
                                            unltdnetworx Developer @SaschaS last edited by unltdnetworx

                                            @SaschaS
                                            Am Besten erstellst du eigene Datenpunkte. Die Info Datenpunkte im ISG sind ohnehin nicht beschreibbar.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            908
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            stiebel-isg test
                                            12
                                            203
                                            18496
                                            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