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 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
                    • S
                      SaschaS @unltdnetworx last edited by

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

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

                        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.

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

                          @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);
                          }
                          
                          S 1 Reply Last reply Reply Quote 0
                          • M
                            maodch last edited by

                            @unltdnetworx

                            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👍 👍 👍

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

                              @unltdnetworx

                              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?

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

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

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

                                  Bei mir heißt der Wert stiebel-isg.0.Info.ANLAGE.HEIZEN.AUSSENTEMPERATUR und wird sowohl neu erstellt, als auch aktualisiert. 🕵️‍♂️

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

                                    @unltdnetworx

                                    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.

                                    ![Bild Text](3c1d465d-9d45-467b-9052-af75d556525f-grafik.png Bild Link)

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

                                      Wegen der Groß-/Kleinschreibung hatte ich ursprünglich mal angefangen, die Namen zu übersetzen auch auf Englisch. Aber mit immer mehr Dynamik hab ich das wieder entfernt und offensichtlich den Eintrag vergessen.

                                      Hat aber keine Auswirkungen.

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

                                        @unltdnetworx try und catch bringen nichts. Sobald ich getState().val verwende und bei den unten abgebildeten Werten kein State vorhanden ist, erhalte ich Warnings im Log. Egal ob getstate().val/.lc/.ack/.q/ts

                                        javascript.0	2020-02-01 15:14:36.341	warn	(25315) at script.js.ISG.Test:5:28
                                        javascript.0	2020-02-01 15:14:36.341	warn	(25315) getState "stiebel-isg.0.Info.STATUS.BETRIEBSSTATUS.HEIZKREISPUMPE" not found (3)
                                        javascript.0	2020-02-01 15:14:36.340	info	(25315) script.js.ISG.Test: Ausgabe5: undefined
                                        javascript.0	2020-02-01 15:14:36.340	warn	(25315) at script.js.ISG.Test:4:28
                                        javascript.0	2020-02-01 15:14:36.339	warn	(25315) getState "stiebel-isg.0.Info.STATUS.BETRIEBSSTATUS.HEIZKREISPUMPE" not found (3)
                                        javascript.0	2020-02-01 15:14:36.339	info	(25315) script.js.ISG.Test: Ausgabe3: undefined
                                        javascript.0	2020-02-01 15:14:36.339	warn	(25315) at script.js.ISG.Test:3:28
                                        javascript.0	2020-02-01 15:14:36.338	warn	(25315) getState "stiebel-isg.0.Info.STATUS.BETRIEBSSTATUS.HEIZKREISPUMPE" not found (3)
                                        javascript.0	2020-02-01 15:14:36.338	info	(25315) script.js.ISG.Test: Ausgabe2: null
                                        javascript.0	2020-02-01 15:14:36.337	warn	(25315) at script.js.ISG.Test:2:28
                                        javascript.0	2020-02-01 15:14:36.337	warn	(25315) getState "stiebel-isg.0.Info.STATUS.BETRIEBSSTATUS.HEIZKREISPUMPE" not found (3)
                                        javascript.0	2020-02-01 15:14:36.336	info	(25315) script.js.ISG.Test: Ausgabe1: undefined
                                        javascript.0	2020-02-01 15:14:36.336	warn	(25315) at script.js.ISG.Test:1:28
                                        javascript.0	2020-02-01 15:14:36.335	warn	(25315) getState "stiebel-isg.0.Info.STATUS.BETRIEBSSTATUS.HEIZKREISPUMPE" not found (3)
                                        

                                        Wurden in früheren Versionen vom Adapter für das ISG nicht auch "false"-Werte geschrieben?

                                        bd623804-69d8-43fb-97cf-68f9a15fa68a-image.png

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

                                          @SaschaS
                                          Nein, können sie nicht, weil das ISG den Wert einfach nicht mehr anzeigt. Daher kann ich ihn auch nicht auf false setzen lassen.

                                          Zeig bitte mal deinen Code.

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

                                            @unltdnetworx
                                            Hm..ist ja doof.

                                            Mein Code ist noch am Entstehen. Prinzipiell geht es mir aber darum, dass ich auf Änderungen von stiebel-isg.0.Info.IST_SOLLWERTE.STATUS.HEIZKREISPUMPE oder stiebel-isg.0.Info.IST_SOLLWERTE.STATUS.HEIZEN reagieren möchte. Ist dazu greife ich eben mit getState() auf die Variable vom ISG Adapter zu.

                                            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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            847
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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