Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. E3DC Hauskraftwerk steuern

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    E3DC Hauskraftwerk steuern

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Chilihead last edited by

      gut, dann werd ich beides mal ausprobieren und das nehmen was mir am besten zusagt
      @stevie77 hast du Arnos Lösung für die WB auch schon mal ausprobiert?

      S 1 Reply Last reply Reply Quote 0
      • S
        stevie77 @Chilihead last edited by

        @chilihead Nö, warum? 😉 Wenn ich das recht sehe, sind Arnos Schalter ja dieselben, die E3DC-Control bietet (also um die Konfiguration dafür zu schreiben). Diese ganzen Einstellungen (Überschuss aus PV, Vorrang Speicher oder Auto, Haltedauer, Start- und Stop-Größen in Watt, Speicherentladung nur bis auf einen bestimmten SoC, Autoladung nur ab oder bis zu einem bestimmten KfZ-SoC usw.) kann ich an der openWB auch einstellen, also warum woanders? 🙂

        1 Reply Last reply Reply Quote 0
        • A
          ArnoD last edited by

          Neue Wallbox Version 0.3.0 hochgeladen.
          Änderung:
          Der % Wert Batterieentladung E3DC durch Wallbox ist in VIS variable einstellbar, dadurch entfällt Einstellung 5
          Achtung Änderung in Vis nötig, Einstellung 5 muss entfernt werden.
          Skript wurde umgebaut und optimiert. Ladeleistung wird nun langsam erhöht oder verringert, um sprunghafte Wechsel beim Laden zu vermeiden. Mehrere Fehler behoben. Einstellung 4 sollte jetzt funktionieren.

          1 Reply Last reply Reply Quote 0
          • A
            ArnoD last edited by

            Neue Version 0.3.0 hochgeladen.

            Änderungen:
            Bei den Prognosen von Proplanta und Forecast liegt die Wahrheit wie so oft meistens in der Mitte.
            Ich habe jetzt bei "PrognoseAnwahl" zwei weiter Möglichkeiten hinzugefügt.
            Wenn beide Prognosen verwendet werden, kann jetzt nach max., min. oder Durchschnitt die Prognose berechnet werden.

            Proplanta und Forecast Berechnung nach min. Wert = 0
            nur Proplanta = 1
            nur Forecast = 2
            Proplanta und Forecast Berechnung nach max. Wert = 3
            Proplanta und Forecast Berechnung nach Ø Wert = 4

            S C 2 Replies Last reply Reply Quote 2
            • S
              stevie77 @ArnoD last edited by

              @arnod Coole Sache! Momentan gibt's zwar (zumindest bei mir) noch Sonnenstrom im Überfluss, aber es kündigen sich schon Zeiten an, wo die Prognose und Kalkulation wieder wichtiger wird. 🙂 Danke.

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

                Hallo @ArnoD
                bekomme zeitweise folgende Meldungung im Log und der Javascriptadapter startet neu wenn ich das script anhalte und nach einer weile swieder starte geht et wieder
                was sagt mir der Fehler ?

                2021-08-20 05:23:02.812  - error: javascript.0 (5870) script.js.common.Photovoltaik.E3DC_Steuerung: SyntaxError: Unexpected token < in JSON at position 0
                2021-08-20 05:23:02.813  - error: javascript.0 (5870)     at JSON.parse (<anonymous>)
                2021-08-20 05:23:02.814  - error: javascript.0 (5870)     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.Photovoltaik.E3DC_Steuerung:1033:26)
                2021-08-20 05:23:02.814  - error: javascript.0 (5870)     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                2021-08-20 05:23:02.815  - error: javascript.0 (5870)     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                2021-08-20 05:23:02.815  - error: javascript.0 (5870)     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                2021-08-20 05:23:02.815  - error: javascript.0 (5870)     at IncomingMessage.emit (events.js:412:35)
                2021-08-20 05:23:02.816  - error: javascript.0 (5870)     at IncomingMessage.emit (domain.js:470:12)
                2021-08-20 05:23:02.816  - error: javascript.0 (5870)     at endReadableNT (internal/streams/readable.js:1317:12)
                2021-08-20 05:23:02.816  - error: javascript.0 (5870)     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                2021-08-20 05:23:03.126  - error: host.proiobroker Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0
                2021-08-20 05:23:03.132  - error: host.proiobroker Caught by controller[0]:     at JSON.parse (<anonymous>)
                2021-08-20 05:23:03.133  - error: host.proiobroker Caught by controller[0]:     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.Photovoltaik.E3DC_Steuerung:1115:26)
                2021-08-20 05:23:03.134  - error: host.proiobroker Caught by controller[0]:     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                2021-08-20 05:23:03.135  - error: host.proiobroker Caught by controller[0]:     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                2021-08-20 05:23:03.135  - error: host.proiobroker Caught by controller[0]:     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                2021-08-20 05:23:03.136  - error: host.proiobroker Caught by controller[0]:     at IncomingMessage.emit (events.js:412:35)
                2021-08-20 05:23:03.138  - error: host.proiobroker Caught by controller[0]:     at IncomingMessage.emit (domain.js:470:12)
                2021-08-20 05:23:03.138  - error: host.proiobroker Caught by controller[0]:     at endReadableNT (internal/streams/readable.js:1317:12)
                2021-08-20 05:23:03.139  - error: host.proiobroker Caught by controller[0]:     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                2021-08-20 05:23:03.140  - error: host.proiobroker instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                2021-08-20 05:23:03.142  - info: host.proiobroker Restart adapter system.adapter.javascript.0 because enabled
                
                

                Gruß Stephan

                A 1 Reply Last reply Reply Quote 0
                • C
                  ChrisChros @ArnoD last edited by

                  @arnod
                  Danke für das Update. Ich habe es eben einmal eingespielt und bekomme folgende Fehler im Log angezeigt:

                  2021-08-20 19:58:43.548  - info: javascript.0 (11396) script.js.common.E3_DC.E3DC_Control_Prognose: Rueckmeldung :<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
                      <title>500 &mdash; Internal Sever Error</title>
                      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
                      <meta name="description" content="Sorry, something went wrong. Internal Server Error"/>
                      <style type="text/css">
                          body {font-size:14px; color:#777777; font-family:arial; text-align:center;}
                          h1 {font-size:180px; color:#99A7AF; margin: 70px 0 0 0;}
                          h2 {color: #DE6C5D; font-family: arial; font-size: 20px; font-weight: bold; letter-spacing: -1px; margin: -3px 0 39px;}
                          p {width:320px; text-align:center; margin-left:auto;margin-right:auto; margin-top: 30px }
                          div {width:320px; text-align:center; margin-left:auto;margin-right:auto;}
                          a:link {color: #34536A;}
                          a:visited {color: #34536A;}
                          a:active {color: #34536A;}
                          a:hover {color: #34536A;}
                      </style>
                  </head>
                  
                  <body>
                      <p><a href="http://api.forecast.solar/">api.forecast.solar</a></p>
                  
                      <h1>500</h1>
                      <h2>Internal Server Error</h2>
                      <div>
                          Sorry, something went wrong :(
                      </div>
                  </body>
                  
                  </html>
                  
                  2021-08-20 19:58:43.566  - error: javascript.0 (11396) script.js.common.E3_DC.E3DC_Control_Prognose: SyntaxError: Unexpected token < in JSON at position 0
                  2021-08-20 19:58:43.568  - error: javascript.0 (11396)     at JSON.parse (<anonymous>)
                  2021-08-20 19:58:43.570  - error: javascript.0 (11396)     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1062:26)
                  2021-08-20 19:58:43.570  - error: javascript.0 (11396)     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                  2021-08-20 19:58:43.571  - error: javascript.0 (11396)     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                  2021-08-20 19:58:43.572  - error: javascript.0 (11396)     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                  2021-08-20 19:58:43.572  - error: javascript.0 (11396)     at IncomingMessage.emit (events.js:412:35)
                  2021-08-20 19:58:43.573  - error: javascript.0 (11396)     at IncomingMessage.emit (domain.js:470:12)
                  2021-08-20 19:58:43.574  - error: javascript.0 (11396)     at endReadableNT (internal/streams/readable.js:1317:12)
                  2021-08-20 19:58:43.574  - error: javascript.0 (11396)     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2021-08-20 19:58:43.713  - error: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0
                  2021-08-20 19:58:43.714  - error: host.raspberrypi Caught by controller[0]:     at JSON.parse (<anonymous>)
                  2021-08-20 19:58:43.714  - error: host.raspberrypi Caught by controller[0]:     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1063:26)
                  2021-08-20 19:58:43.714  - error: host.raspberrypi Caught by controller[0]:     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                  2021-08-20 19:58:43.714  - error: host.raspberrypi Caught by controller[0]:     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                  2021-08-20 19:58:43.715  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                  2021-08-20 19:58:43.715  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.emit (events.js:412:35)
                  2021-08-20 19:58:43.715  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.emit (domain.js:470:12)
                  2021-08-20 19:58:43.715  - error: host.raspberrypi Caught by controller[0]:     at endReadableNT (internal/streams/readable.js:1317:12)
                  2021-08-20 19:58:43.715  - error: host.raspberrypi Caught by controller[0]:     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2021-08-20 19:58:43.716  - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  2021-08-20 19:58:43.716  - info: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled
                  2021-08-20 19:59:13.795  - info: host.raspberrypi instance system.adapter.javascript.0 started with pid 11413
                  2021-08-20 19:59:16.785  - info: javascript.0 (11413) starting. Version 5.2.8 in /opt/iobroker/node_modules/iobroker.javascript, node: v14.17.4, js-controller: 3.3.15
                  2021-08-20 19:59:16.915  - info: javascript.0 (11413) requesting all states
                  2021-08-20 19:59:16.916  - info: javascript.0 (11413) requesting all objects
                  2021-08-20 19:59:17.703  - info: javascript.0 (11413) received all objects
                  2021-08-20 19:59:17.768  - info: javascript.0 (11413) received all states
                  2021-08-20 19:59:17.862  - info: javascript.0 (11413) Start javascript script.js.common.E3_DC.E3DC_Control_Prognose
                  2021-08-20 19:59:18.043  - info: javascript.0 (11413) script.js.common.E3_DC.E3DC_Control_Prognose: Jetzt sind alle States abgearbeitet
                  2021-08-20 19:59:18.234  - info: javascript.0 (11413) script.js.common.E3_DC.E3DC_Control_Prognose: registered 19 subscriptions and 8 schedules
                  2021-08-20 19:59:18.237  - info: javascript.0 (11413) Start javascript script.js.common.E3_DC.PowerConsumption
                  2021-08-20 19:59:18.257  - info: javascript.0 (11413) script.js.common.E3_DC.PowerConsumption: registered 2 subscriptions and 2 schedules
                  2021-08-20 19:59:18.268  - info: javascript.0 (11413) Start javascript script.js.common.E3_DC.NetworkSupply
                  2021-08-20 19:59:18.287  - info: javascript.0 (11413) script.js.common.E3_DC.NetworkSupply: registered 2 subscriptions and 2 schedules
                  2021-08-20 19:59:18.288  - info: javascript.0 (11413) Start javascript script.js.common.E3_DC.E3DC_Additions
                  2021-08-20 19:59:18.296  - info: javascript.0 (11413) script.js.common.E3_DC.E3DC_Additions: registered 19 subscriptions and 0 schedules
                  2021-08-20 19:59:23.301  - info: javascript.0 (11413) script.js.common.E3_DC.E3DC_Control_Prognose: Rueckmeldung :<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
                      <title>500 &mdash; Internal Sever Error</title>
                      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
                      <meta name="description" content="Sorry, something went wrong. Internal Server Error"/>
                      <style type="text/css">
                          body {font-size:14px; color:#777777; font-family:arial; text-align:center;}
                          h1 {font-size:180px; color:#99A7AF; margin: 70px 0 0 0;}
                          h2 {color: #DE6C5D; font-family: arial; font-size: 20px; font-weight: bold; letter-spacing: -1px; margin: -3px 0 39px;}
                          p {width:320px; text-align:center; margin-left:auto;margin-right:auto; margin-top: 30px }
                          div {width:320px; text-align:center; margin-left:auto;margin-right:auto;}
                          a:link {color: #34536A;}
                          a:visited {color: #34536A;}
                          a:active {color: #34536A;}
                          a:hover {color: #34536A;}
                      </style>
                  </head>
                  
                  <body>
                      <p><a href="http://api.forecast.solar/">api.forecast.solar</a></p>
                  
                      <h1>500</h1>
                      <h2>Internal Server Error</h2>
                      <div>
                          Sorry, something went wrong :(
                      </div>
                  </body>
                  
                  </html>
                  
                  2021-08-20 19:59:23.319  - error: javascript.0 (11413) script.js.common.E3_DC.E3DC_Control_Prognose: SyntaxError: Unexpected token < in JSON at position 0
                  2021-08-20 19:59:23.321  - error: javascript.0 (11413)     at JSON.parse (<anonymous>)
                  2021-08-20 19:59:23.322  - error: javascript.0 (11413)     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1062:26)
                  2021-08-20 19:59:23.323  - error: javascript.0 (11413)     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                  2021-08-20 19:59:23.324  - error: javascript.0 (11413)     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                  2021-08-20 19:59:23.325  - error: javascript.0 (11413)     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                  2021-08-20 19:59:23.326  - error: javascript.0 (11413)     at IncomingMessage.emit (events.js:412:35)
                  2021-08-20 19:59:23.326  - error: javascript.0 (11413)     at IncomingMessage.emit (domain.js:470:12)
                  2021-08-20 19:59:23.327  - error: javascript.0 (11413)     at endReadableNT (internal/streams/readable.js:1317:12)
                  2021-08-20 19:59:23.328  - error: javascript.0 (11413)     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2021-08-20 19:59:23.464  - error: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0
                  2021-08-20 19:59:23.465  - error: host.raspberrypi Caught by controller[0]:     at JSON.parse (<anonymous>)
                  2021-08-20 19:59:23.465  - error: host.raspberrypi Caught by controller[0]:     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1063:26)
                  2021-08-20 19:59:23.465  - error: host.raspberrypi Caught by controller[0]:     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                  2021-08-20 19:59:23.465  - error: host.raspberrypi Caught by controller[0]:     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                  2021-08-20 19:59:23.466  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                  2021-08-20 19:59:23.466  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.emit (events.js:412:35)
                  2021-08-20 19:59:23.466  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.emit (domain.js:470:12)
                  2021-08-20 19:59:23.466  - error: host.raspberrypi Caught by controller[0]:     at endReadableNT (internal/streams/readable.js:1317:12)
                  2021-08-20 19:59:23.466  - error: host.raspberrypi Caught by controller[0]:     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2021-08-20 19:59:23.467  - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  2021-08-20 19:59:23.467  - info: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled
                  2021-08-20 19:59:53.509  - info: host.raspberrypi instance system.adapter.javascript.0 started with pid 11428
                  2021-08-20 19:59:56.437  - info: javascript.0 (11428) starting. Version 5.2.8 in /opt/iobroker/node_modules/iobroker.javascript, node: v14.17.4, js-controller: 3.3.15
                  2021-08-20 19:59:56.570  - info: javascript.0 (11428) requesting all states
                  2021-08-20 19:59:56.571  - info: javascript.0 (11428) requesting all objects
                  2021-08-20 19:59:57.369  - info: javascript.0 (11428) received all objects
                  2021-08-20 19:59:57.437  - info: javascript.0 (11428) received all states
                  2021-08-20 19:59:57.519  - info: javascript.0 (11428) Start javascript script.js.common.E3_DC.E3DC_Control_Prognose
                  2021-08-20 19:59:57.706  - info: javascript.0 (11428) script.js.common.E3_DC.E3DC_Control_Prognose: Jetzt sind alle States abgearbeitet
                  2021-08-20 19:59:57.871  - info: javascript.0 (11428) script.js.common.E3_DC.E3DC_Control_Prognose: registered 19 subscriptions and 8 schedules
                  2021-08-20 19:59:57.874  - info: javascript.0 (11428) Start javascript script.js.common.E3_DC.PowerConsumption
                  2021-08-20 19:59:57.885  - info: javascript.0 (11428) script.js.common.E3_DC.PowerConsumption: registered 2 subscriptions and 2 schedules
                  2021-08-20 19:59:57.886  - info: javascript.0 (11428) Start javascript script.js.common.E3_DC.NetworkSupply
                  2021-08-20 19:59:57.896  - info: javascript.0 (11428) script.js.common.E3_DC.NetworkSupply: registered 2 subscriptions and 2 schedules
                  2021-08-20 19:59:57.904  - info: javascript.0 (11428) Start javascript script.js.common.E3_DC.E3DC_Additions
                  2021-08-20 19:59:57.911  - info: javascript.0 (11428) script.js.common.E3_DC.E3DC_Additions: registered 19 subscriptions and 0 schedules
                  2021-08-20 20:00:00.052  - info: javascript.0 (11428) script.js.common.E3_DC.NetworkSupply: minuten Schedule gestoppt
                  2021-08-20 20:00:00.075  - info: javascript.0 (11428) script.js.common.E3_DC.PowerConsumption: minuten Schedule gestoppt
                  2021-08-20 20:00:00.104  - info: javascript.0 (11428) script.js.common.E3_DC.E3DC_Control_Prognose: minütlicher Schedule gestoppt
                  2021-08-20 20:00:00.127  - info: javascript.0 (11428) script.js.common.E3_DC.E3DC_Control_Prognose: minütlicher Schedule gestoppt
                  2021-08-20 20:00:03.580  - info: javascript.0 (11428) script.js.common.E3_DC.E3DC_Control_Prognose: Rueckmeldung :<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
                      <title>500 &mdash; Internal Sever Error</title>
                      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
                      <meta name="description" content="Sorry, something went wrong. Internal Server Error"/>
                      <style type="text/css">
                          body {font-size:14px; color:#777777; font-family:arial; text-align:center;}
                          h1 {font-size:180px; color:#99A7AF; margin: 70px 0 0 0;}
                          h2 {color: #DE6C5D; font-family: arial; font-size: 20px; font-weight: bold; letter-spacing: -1px; margin: -3px 0 39px;}
                          p {width:320px; text-align:center; margin-left:auto;margin-right:auto; margin-top: 30px }
                          div {width:320px; text-align:center; margin-left:auto;margin-right:auto;}
                          a:link {color: #34536A;}
                          a:visited {color: #34536A;}
                          a:active {color: #34536A;}
                          a:hover {color: #34536A;}
                      </style>
                  </head>
                  
                  <body>
                      <p><a href="http://api.forecast.solar/">api.forecast.solar</a></p>
                  
                      <h1>500</h1>
                      <h2>Internal Server Error</h2>
                      <div>
                          Sorry, something went wrong :(
                      </div>
                  </body>
                  
                  </html>
                  
                  2021-08-20 20:00:03.600  - error: javascript.0 (11428) script.js.common.E3_DC.E3DC_Control_Prognose: SyntaxError: Unexpected token < in JSON at position 0
                  2021-08-20 20:00:03.602  - error: javascript.0 (11428)     at JSON.parse (<anonymous>)
                  2021-08-20 20:00:03.604  - error: javascript.0 (11428)     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1062:26)
                  2021-08-20 20:00:03.606  - error: javascript.0 (11428)     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                  2021-08-20 20:00:03.606  - error: javascript.0 (11428)     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                  2021-08-20 20:00:03.607  - error: javascript.0 (11428)     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                  2021-08-20 20:00:03.608  - error: javascript.0 (11428)     at IncomingMessage.emit (events.js:412:35)
                  2021-08-20 20:00:03.609  - error: javascript.0 (11428)     at IncomingMessage.emit (domain.js:470:12)
                  2021-08-20 20:00:03.610  - error: javascript.0 (11428)     at endReadableNT (internal/streams/readable.js:1317:12)
                  2021-08-20 20:00:03.611  - error: javascript.0 (11428)     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2021-08-20 20:00:03.752  - error: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0
                  2021-08-20 20:00:03.753  - error: host.raspberrypi Caught by controller[0]:     at JSON.parse (<anonymous>)
                  2021-08-20 20:00:03.754  - error: host.raspberrypi Caught by controller[0]:     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1063:26)
                  2021-08-20 20:00:03.754  - error: host.raspberrypi Caught by controller[0]:     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                  2021-08-20 20:00:03.754  - error: host.raspberrypi Caught by controller[0]:     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                  2021-08-20 20:00:03.754  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                  2021-08-20 20:00:03.754  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.emit (events.js:412:35)
                  2021-08-20 20:00:03.755  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.emit (domain.js:470:12)
                  2021-08-20 20:00:03.755  - error: host.raspberrypi Caught by controller[0]:     at endReadableNT (internal/streams/readable.js:1317:12)
                  2021-08-20 20:00:03.755  - error: host.raspberrypi Caught by controller[0]:     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2021-08-20 20:00:03.755  - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  2021-08-20 20:00:03.756  - info: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled
                  2021-08-20 20:00:33.834  - info: host.raspberrypi instance system.adapter.javascript.0 started with pid 11458
                  2021-08-20 20:00:36.756  - info: javascript.0 (11458) starting. Version 5.2.8 in /opt/iobroker/node_modules/iobroker.javascript, node: v14.17.4, js-controller: 3.3.15
                  2021-08-20 20:00:36.885  - info: javascript.0 (11458) requesting all states
                  2021-08-20 20:00:36.887  - info: javascript.0 (11458) requesting all objects
                  2021-08-20 20:00:37.741  - info: javascript.0 (11458) received all objects
                  2021-08-20 20:00:37.772  - info: javascript.0 (11458) received all states
                  2021-08-20 20:00:37.831  - info: javascript.0 (11458) Start javascript script.js.common.E3_DC.E3DC_Control_Prognose
                  2021-08-20 20:00:38.016  - info: javascript.0 (11458) script.js.common.E3_DC.E3DC_Control_Prognose: Jetzt sind alle States abgearbeitet
                  2021-08-20 20:00:38.186  - info: javascript.0 (11458) script.js.common.E3_DC.E3DC_Control_Prognose: registered 19 subscriptions and 8 schedules
                  2021-08-20 20:00:38.229  - info: javascript.0 (11458) Start javascript script.js.common.E3_DC.PowerConsumption
                  2021-08-20 20:00:38.256  - info: javascript.0 (11458) script.js.common.E3_DC.PowerConsumption: registered 2 subscriptions and 2 schedules
                  2021-08-20 20:00:38.257  - info: javascript.0 (11458) Start javascript script.js.common.E3_DC.NetworkSupply
                  2021-08-20 20:00:38.276  - info: javascript.0 (11458) script.js.common.E3_DC.NetworkSupply: registered 2 subscriptions and 2 schedules
                  2021-08-20 20:00:38.277  - info: javascript.0 (11458) Start javascript script.js.common.E3_DC.E3DC_Additions
                  2021-08-20 20:00:38.285  - info: javascript.0 (11458) script.js.common.E3_DC.E3DC_Additions: registered 19 subscriptions and 0 schedules
                  2021-08-20 20:00:43.301  - info: javascript.0 (11458) script.js.common.E3_DC.E3DC_Control_Prognose: Rueckmeldung :<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
                      <title>500 &mdash; Internal Sever Error</title>
                      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
                      <meta name="description" content="Sorry, something went wrong. Internal Server Error"/>
                      <style type="text/css">
                          body {font-size:14px; color:#777777; font-family:arial; text-align:center;}
                          h1 {font-size:180px; color:#99A7AF; margin: 70px 0 0 0;}
                          h2 {color: #DE6C5D; font-family: arial; font-size: 20px; font-weight: bold; letter-spacing: -1px; margin: -3px 0 39px;}
                          p {width:320px; text-align:center; margin-left:auto;margin-right:auto; margin-top: 30px }
                          div {width:320px; text-align:center; margin-left:auto;margin-right:auto;}
                          a:link {color: #34536A;}
                          a:visited {color: #34536A;}
                          a:active {color: #34536A;}
                          a:hover {color: #34536A;}
                      </style>
                  </head>
                  
                  <body>
                      <p><a href="http://api.forecast.solar/">api.forecast.solar</a></p>
                  
                      <h1>500</h1>
                      <h2>Internal Server Error</h2>
                      <div>
                          Sorry, something went wrong :(
                      </div>
                  </body>
                  
                  </html>
                  
                  2021-08-20 20:00:43.320  - error: javascript.0 (11458) script.js.common.E3_DC.E3DC_Control_Prognose: SyntaxError: Unexpected token < in JSON at position 0
                  2021-08-20 20:00:43.322  - error: javascript.0 (11458)     at JSON.parse (<anonymous>)
                  2021-08-20 20:00:43.323  - error: javascript.0 (11458)     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1062:26)
                  2021-08-20 20:00:43.324  - error: javascript.0 (11458)     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                  2021-08-20 20:00:43.325  - error: javascript.0 (11458)     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                  2021-08-20 20:00:43.326  - error: javascript.0 (11458)     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                  2021-08-20 20:00:43.327  - error: javascript.0 (11458)     at IncomingMessage.emit (events.js:412:35)
                  2021-08-20 20:00:43.328  - error: javascript.0 (11458)     at IncomingMessage.emit (domain.js:470:12)
                  2021-08-20 20:00:43.328  - error: javascript.0 (11458)     at endReadableNT (internal/streams/readable.js:1317:12)
                  2021-08-20 20:00:43.329  - error: javascript.0 (11458)     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2021-08-20 20:00:43.471  - error: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0
                  2021-08-20 20:00:43.472  - error: host.raspberrypi Caught by controller[0]:     at JSON.parse (<anonymous>)
                  2021-08-20 20:00:43.472  - error: host.raspberrypi Caught by controller[0]:     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1063:26)
                  2021-08-20 20:00:43.472  - error: host.raspberrypi Caught by controller[0]:     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                  2021-08-20 20:00:43.472  - error: host.raspberrypi Caught by controller[0]:     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                  2021-08-20 20:00:43.472  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                  2021-08-20 20:00:43.473  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.emit (events.js:412:35)
                  2021-08-20 20:00:43.473  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.emit (domain.js:470:12)
                  2021-08-20 20:00:43.473  - error: host.raspberrypi Caught by controller[0]:     at endReadableNT (internal/streams/readable.js:1317:12)
                  2021-08-20 20:00:43.473  - error: host.raspberrypi Caught by controller[0]:     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2021-08-20 20:00:43.474  - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  2021-08-20 20:00:43.474  - info: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled
                  2021-08-20 20:01:13.548  - info: host.raspberrypi instance system.adapter.javascript.0 started with pid 11476
                  2021-08-20 20:01:16.452  - info: javascript.0 (11476) starting. Version 5.2.8 in /opt/iobroker/node_modules/iobroker.javascript, node: v14.17.4, js-controller: 3.3.15
                  2021-08-20 20:01:16.575  - info: javascript.0 (11476) requesting all states
                  2021-08-20 20:01:16.577  - info: javascript.0 (11476) requesting all objects
                  2021-08-20 20:01:17.447  - info: javascript.0 (11476) received all objects
                  2021-08-20 20:01:17.498  - info: javascript.0 (11476) received all states
                  2021-08-20 20:01:17.558  - info: javascript.0 (11476) Start javascript script.js.common.E3_DC.E3DC_Control_Prognose
                  2021-08-20 20:01:17.741  - info: javascript.0 (11476) script.js.common.E3_DC.E3DC_Control_Prognose: Jetzt sind alle States abgearbeitet
                  2021-08-20 20:01:17.930  - info: javascript.0 (11476) script.js.common.E3_DC.E3DC_Control_Prognose: registered 19 subscriptions and 8 schedules
                  2021-08-20 20:01:17.979  - info: javascript.0 (11476) Start javascript script.js.common.E3_DC.PowerConsumption
                  2021-08-20 20:01:18.006  - info: javascript.0 (11476) script.js.common.E3_DC.PowerConsumption: registered 2 subscriptions and 2 schedules
                  2021-08-20 20:01:18.008  - info: javascript.0 (11476) Start javascript script.js.common.E3_DC.NetworkSupply
                  2021-08-20 20:01:18.044  - info: javascript.0 (11476) script.js.common.E3_DC.NetworkSupply: registered 2 subscriptions and 2 schedules
                  2021-08-20 20:01:18.046  - info: javascript.0 (11476) Start javascript script.js.common.E3_DC.E3DC_Additions
                  2021-08-20 20:01:18.053  - info: javascript.0 (11476) script.js.common.E3_DC.E3DC_Additions: registered 19 subscriptions and 0 schedules
                  2021-08-20 20:01:23.004  - info: javascript.0 (11476) script.js.common.E3_DC.E3DC_Control_Prognose: Rueckmeldung :<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
                      <title>500 &mdash; Internal Sever Error</title>
                      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
                      <meta name="description" content="Sorry, something went wrong. Internal Server Error"/>
                      <style type="text/css">
                          body {font-size:14px; color:#777777; font-family:arial; text-align:center;}
                          h1 {font-size:180px; color:#99A7AF; margin: 70px 0 0 0;}
                          h2 {color: #DE6C5D; font-family: arial; font-size: 20px; font-weight: bold; letter-spacing: -1px; margin: -3px 0 39px;}
                          p {width:320px; text-align:center; margin-left:auto;margin-right:auto; margin-top: 30px }
                          div {width:320px; text-align:center; margin-left:auto;margin-right:auto;}
                          a:link {color: #34536A;}
                          a:visited {color: #34536A;}
                          a:active {color: #34536A;}
                          a:hover {color: #34536A;}
                      </style>
                  </head>
                  
                  <body>
                      <p><a href="http://api.forecast.solar/">api.forecast.solar</a></p>
                  
                      <h1>500</h1>
                      <h2>Internal Server Error</h2>
                      <div>
                          Sorry, something went wrong :(
                      </div>
                  </body>
                  
                  </html>
                  
                  2021-08-20 20:01:23.021  - error: javascript.0 (11476) script.js.common.E3_DC.E3DC_Control_Prognose: SyntaxError: Unexpected token < in JSON at position 0
                  2021-08-20 20:01:23.022  - error: javascript.0 (11476)     at JSON.parse (<anonymous>)
                  2021-08-20 20:01:23.024  - error: javascript.0 (11476)     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1062:26)
                  2021-08-20 20:01:23.025  - error: javascript.0 (11476)     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                  2021-08-20 20:01:23.025  - error: javascript.0 (11476)     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                  2021-08-20 20:01:23.026  - error: javascript.0 (11476)     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                  2021-08-20 20:01:23.027  - error: javascript.0 (11476)     at IncomingMessage.emit (events.js:412:35)
                  2021-08-20 20:01:23.027  - error: javascript.0 (11476)     at IncomingMessage.emit (domain.js:470:12)
                  2021-08-20 20:01:23.028  - error: javascript.0 (11476)     at endReadableNT (internal/streams/readable.js:1317:12)
                  2021-08-20 20:01:23.029  - error: javascript.0 (11476)     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2021-08-20 20:01:23.151  - error: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0
                  2021-08-20 20:01:23.152  - error: host.raspberrypi Caught by controller[0]:     at JSON.parse (<anonymous>)
                  2021-08-20 20:01:23.153  - error: host.raspberrypi Caught by controller[0]:     at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1063:26)
                  2021-08-20 20:01:23.153  - error: host.raspberrypi Caught by controller[0]:     at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                  2021-08-20 20:01:23.153  - error: host.raspberrypi Caught by controller[0]:     at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                  2021-08-20 20:01:23.153  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                  2021-08-20 20:01:23.153  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.emit (events.js:412:35)
                  2021-08-20 20:01:23.154  - error: host.raspberrypi Caught by controller[0]:     at IncomingMessage.emit (domain.js:470:12)
                  2021-08-20 20:01:23.154  - error: host.raspberrypi Caught by controller[0]:     at endReadableNT (internal/streams/readable.js:1317:12)
                  2021-08-20 20:01:23.154  - error: host.raspberrypi Caught by controller[0]:     at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2021-08-20 20:01:23.155  - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  2021-08-20 20:01:23.155  - info: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled
                  

                  Hast du eventuell eine Idee woran das liegen könnte?
                  Node JS ist aktuell in der Version v14.17.4 uns NPM in Version 7.20.5 installiert. ioBroker läuft mit der Version 5.1.24.

                  Gruß Chris

                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @ChrisChros last edited by

                    @chrischros sagte in E3DC Hauskraftwerk steuern:

                    Hast du eventuell eine Idee woran das liegen könnte?
                    Node JS ist aktuell in der Version v14.17.4 uns NPM in Version 7.20.5 installiert

                    NPM 7 ... funktioniert nicht mit io

                    Ziehe es auf NPM 6 ...

                    https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      ChrisChros @Glasfaser last edited by

                      @glasfaser
                      habe jetzt mal Node JS Version v12.22.5 uns NPM in Version 6.14.14 gedowngradet, leider kommen immer noch die Fehler:

                      host.raspberrypi
                      2021-08-20 23:42:46.025	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                      host.raspberrypi
                      2021-08-20 23:42:46.025	error	Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:84:21)
                      host.raspberrypi
                      2021-08-20 23:42:46.024	error	Caught by controller[0]: at endReadableNT (_stream_readable.js:1241:12)
                      host.raspberrypi
                      2021-08-20 23:42:46.024	error	Caught by controller[0]: at IncomingMessage.EventEmitter.emit (domain.js:483:12)
                      host.raspberrypi
                      2021-08-20 23:42:46.024	error	Caught by controller[0]: at IncomingMessage.emit (events.js:326:22)
                      host.raspberrypi
                      2021-08-20 23:42:46.024	error	Caught by controller[0]: at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                      host.raspberrypi
                      2021-08-20 23:42:46.024	error	Caught by controller[0]: at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                      host.raspberrypi
                      2021-08-20 23:42:46.023	error	Caught by controller[0]: at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                      host.raspberrypi
                      2021-08-20 23:42:46.023	error	Caught by controller[0]: at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1063:26)
                      host.raspberrypi
                      2021-08-20 23:42:46.023	error	Caught by controller[0]: at JSON.parse (<anonymous>)
                      host.raspberrypi
                      2021-08-20 23:42:46.022	error	Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0
                      
                      javascript.0
                      2021-08-20 23:42:45.883	error	at processTicksAndRejections (internal/process/task_queues.js:84:21)
                      
                      javascript.0
                      2021-08-20 23:42:45.883	error	at endReadableNT (_stream_readable.js:1241:12)
                      
                      javascript.0
                      2021-08-20 23:42:45.882	error	at IncomingMessage.EventEmitter.emit (domain.js:483:12)
                      
                      javascript.0
                      2021-08-20 23:42:45.882	error	at IncomingMessage.emit (events.js:326:22)
                      
                      javascript.0
                      2021-08-20 23:42:45.882	error	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
                      
                      javascript.0
                      2021-08-20 23:42:45.881	error	at setState (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:614:14)
                      
                      javascript.0
                      2021-08-20 23:42:45.881	error	at exports.XMLHttpRequest.dispatchEvent (/opt/iobroker/node_modules/iobroker.javascript/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
                      
                      javascript.0
                      2021-08-20 23:42:45.881	error	at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.E3_DC.E3DC_Control_Prognose:1062:26)
                      
                      javascript.0
                      2021-08-20 23:42:45.880	error	at JSON.parse (<anonymous>)
                      
                      javascript.0
                      2021-08-20 23:42:45.879	error	script.js.common.E3_DC.E3DC_Control_Prognose: SyntaxError: Unexpected token < in JSON at position 0
                      
                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @ChrisChros last edited by Glasfaser

                        @chrischros sagte in E3DC Hauskraftwerk steuern:

                        leider kommen immer noch die Fehler:

                        Das war ja nicht wegen den Script , sondern ein allgemeiner Hinweis auf NPM 7...

                        Weiter kann nur @ArnoD mit den Script helfen , habe kein E3DC

                        1 Reply Last reply Reply Quote 0
                        • A
                          ArnoD @stephan61 last edited by

                          @stephan61 @ChrisChros
                          Es sieht danach aus das bei euch die Daten von forecast noch nicht abgerufen wurden, aber die Verarbeitung im Skript bereits erfolgt. Ich bin zurzeit unterwegs und werde mir das am Montag anschauen. Ich muss das anders Programmierer nur die Aufrufe zu verzögern ist nicht sauber programmiert. Wollte das bei Gelegenheit ändern.

                          1 Reply Last reply Reply Quote 0
                          • A
                            ArnoD last edited by

                            @stephan61 @ChrisChros
                            Habe mir das jetzt mal anschauen können.
                            Am 20.08 hatte der Server von Forecast ein Problem und konnte die Anfragen nicht bearbeiten.
                            Ich muss im Skript überprüfen, ob die serverseitige Bearbeitung Proplanta oder Forecast erfolgreich war um so einen Fehler abzufangen.
                            Werde das heute noch ändern und dann eine neue Version hochladen.

                            1 Reply Last reply Reply Quote 0
                            • A
                              ArnoD last edited by

                              Neue Version 0.3.1 hochgeladen.
                              Änderungen:
                              Überprüfung, ob die serverseitige Bearbeitung Proplanta oder Forecast erfolgreich war eingefügt.

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                ChrisChros @ArnoD last edited by

                                @arnod Danke für die schnelle Bearbeitung. Werde die neue Version testen und berichten.

                                1 Reply Last reply Reply Quote 0
                                • B
                                  B.Baier last edited by

                                  Sehe gerade, dass die Ladesperrzeit bei mir nicht auf "1" springt, wenn die Batterie bei diesem schönen Wetter erst ab 12 Uhr geladen werden soll.
                                  Woran kann das liegen?

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    ArnoD @B.Baier last edited by

                                    @b-baier
                                    Welche Ladesperrzeit meinst du ?

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      B.Baier last edited by

                                      6baa75b7-828d-43ae-be1d-339f91af5583-grafik.png
                                      Leider ist da überall "0", obwohl bei Nichtladung der Batterie irgendwo da eine "1" auftauchen sollte...

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        B.Baier last edited by

                                        Außerdem steht bei mir unter 40085_EMS_Status ein Wert 37. Was bedeutet der? Ich dachte, früher stand da was einstelliges....

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          ArnoD @B.Baier last edited by

                                          @b-baier
                                          Ok, wir sind beim Modbus Adapter 🙂
                                          Die Werte wo bei dir 0 drinsteht werden über ein eigenes Skript befüllt.
                                          Das findest du auch hier: https://github.com/ArnoD15/iobroker_E3DC
                                          Auf die Datei Modbus.js klicken und das Skript kopieren und bei dir als neues JS Skript einfügen.
                                          Danach sollten diese Werte befüllt werden.

                                          Beim Register 40085 handelt es sich um ein Datenwort dezimal und wird durch das Skript, in die einzelnen BIT aufgeteilt die du dann in VIS auswerten kannst.

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            B.Baier last edited by

                                            Das hatte ich schon gemacht. Hier ist der beginnende Auszug:
                                            74290c6b-7a93-40db-af35-8eea46fa12f9-grafik.png
                                            Noch eine Möglichkeit, warum das nicht funktionert?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            574
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            3321
                                            1260076
                                            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