NEWS
E3DC Hauskraftwerk steuern
-
@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.
-
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 - [31merror[39m: javascript.0 (5870) script.js.common.Photovoltaik.E3DC_Steuerung: SyntaxError: Unexpected token < in JSON at position 0 2021-08-20 05:23:02.813 - [31merror[39m: javascript.0 (5870) at JSON.parse (<anonymous>) 2021-08-20 05:23:02.814 - [31merror[39m: javascript.0 (5870) at exports.XMLHttpRequest.InterrogateForecast.xhr.onload (script.js.common.Photovoltaik.E3DC_Steuerung:1033:26) 2021-08-20 05:23:02.814 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (5870) at IncomingMessage.emit (events.js:412:35) 2021-08-20 05:23:02.816 - [31merror[39m: javascript.0 (5870) at IncomingMessage.emit (domain.js:470:12) 2021-08-20 05:23:02.816 - [31merror[39m: javascript.0 (5870) at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 05:23:02.816 - [31merror[39m: javascript.0 (5870) at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 05:23:03.126 - [31merror[39m: host.proiobroker Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0 2021-08-20 05:23:03.132 - [31merror[39m: host.proiobroker Caught by controller[0]: at JSON.parse (<anonymous>) 2021-08-20 05:23:03.133 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: host.proiobroker Caught by controller[0]: at IncomingMessage.emit (events.js:412:35) 2021-08-20 05:23:03.138 - [31merror[39m: host.proiobroker Caught by controller[0]: at IncomingMessage.emit (domain.js:470:12) 2021-08-20 05:23:03.138 - [31merror[39m: host.proiobroker Caught by controller[0]: at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 05:23:03.139 - [31merror[39m: host.proiobroker Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 05:23:03.140 - [31merror[39m: host.proiobroker instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2021-08-20 05:23:03.142 - [32minfo[39m: host.proiobroker Restart adapter system.adapter.javascript.0 because enabled
Gruß Stephan
-
@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 - [32minfo[39m: 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 — 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (11396) at JSON.parse (<anonymous>) 2021-08-20 19:58:43.570 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (11396) at IncomingMessage.emit (events.js:412:35) 2021-08-20 19:58:43.573 - [31merror[39m: javascript.0 (11396) at IncomingMessage.emit (domain.js:470:12) 2021-08-20 19:58:43.574 - [31merror[39m: javascript.0 (11396) at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 19:58:43.574 - [31merror[39m: javascript.0 (11396) at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 19:58:43.713 - [31merror[39m: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0 2021-08-20 19:58:43.714 - [31merror[39m: host.raspberrypi Caught by controller[0]: at JSON.parse (<anonymous>) 2021-08-20 19:58:43.714 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: host.raspberrypi Caught by controller[0]: at IncomingMessage.emit (events.js:412:35) 2021-08-20 19:58:43.715 - [31merror[39m: host.raspberrypi Caught by controller[0]: at IncomingMessage.emit (domain.js:470:12) 2021-08-20 19:58:43.715 - [31merror[39m: host.raspberrypi Caught by controller[0]: at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 19:58:43.715 - [31merror[39m: host.raspberrypi Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 19:58:43.716 - [31merror[39m: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2021-08-20 19:58:43.716 - [32minfo[39m: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled 2021-08-20 19:59:13.795 - [32minfo[39m: host.raspberrypi instance system.adapter.javascript.0 started with pid 11413 2021-08-20 19:59:16.785 - [32minfo[39m: 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 - [32minfo[39m: javascript.0 (11413) requesting all states 2021-08-20 19:59:16.916 - [32minfo[39m: javascript.0 (11413) requesting all objects 2021-08-20 19:59:17.703 - [32minfo[39m: javascript.0 (11413) received all objects 2021-08-20 19:59:17.768 - [32minfo[39m: javascript.0 (11413) received all states 2021-08-20 19:59:17.862 - [32minfo[39m: javascript.0 (11413) Start javascript script.js.common.E3_DC.E3DC_Control_Prognose 2021-08-20 19:59:18.043 - [32minfo[39m: javascript.0 (11413) script.js.common.E3_DC.E3DC_Control_Prognose: Jetzt sind alle States abgearbeitet 2021-08-20 19:59:18.234 - [32minfo[39m: javascript.0 (11413) script.js.common.E3_DC.E3DC_Control_Prognose: registered 19 subscriptions and 8 schedules 2021-08-20 19:59:18.237 - [32minfo[39m: javascript.0 (11413) Start javascript script.js.common.E3_DC.PowerConsumption 2021-08-20 19:59:18.257 - [32minfo[39m: javascript.0 (11413) script.js.common.E3_DC.PowerConsumption: registered 2 subscriptions and 2 schedules 2021-08-20 19:59:18.268 - [32minfo[39m: javascript.0 (11413) Start javascript script.js.common.E3_DC.NetworkSupply 2021-08-20 19:59:18.287 - [32minfo[39m: javascript.0 (11413) script.js.common.E3_DC.NetworkSupply: registered 2 subscriptions and 2 schedules 2021-08-20 19:59:18.288 - [32minfo[39m: javascript.0 (11413) Start javascript script.js.common.E3_DC.E3DC_Additions 2021-08-20 19:59:18.296 - [32minfo[39m: javascript.0 (11413) script.js.common.E3_DC.E3DC_Additions: registered 19 subscriptions and 0 schedules 2021-08-20 19:59:23.301 - [32minfo[39m: 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 — 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (11413) at JSON.parse (<anonymous>) 2021-08-20 19:59:23.322 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (11413) at IncomingMessage.emit (events.js:412:35) 2021-08-20 19:59:23.326 - [31merror[39m: javascript.0 (11413) at IncomingMessage.emit (domain.js:470:12) 2021-08-20 19:59:23.327 - [31merror[39m: javascript.0 (11413) at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 19:59:23.328 - [31merror[39m: javascript.0 (11413) at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 19:59:23.464 - [31merror[39m: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0 2021-08-20 19:59:23.465 - [31merror[39m: host.raspberrypi Caught by controller[0]: at JSON.parse (<anonymous>) 2021-08-20 19:59:23.465 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: host.raspberrypi Caught by controller[0]: at IncomingMessage.emit (events.js:412:35) 2021-08-20 19:59:23.466 - [31merror[39m: host.raspberrypi Caught by controller[0]: at IncomingMessage.emit (domain.js:470:12) 2021-08-20 19:59:23.466 - [31merror[39m: host.raspberrypi Caught by controller[0]: at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 19:59:23.466 - [31merror[39m: host.raspberrypi Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 19:59:23.467 - [31merror[39m: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2021-08-20 19:59:23.467 - [32minfo[39m: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled 2021-08-20 19:59:53.509 - [32minfo[39m: host.raspberrypi instance system.adapter.javascript.0 started with pid 11428 2021-08-20 19:59:56.437 - [32minfo[39m: 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 - [32minfo[39m: javascript.0 (11428) requesting all states 2021-08-20 19:59:56.571 - [32minfo[39m: javascript.0 (11428) requesting all objects 2021-08-20 19:59:57.369 - [32minfo[39m: javascript.0 (11428) received all objects 2021-08-20 19:59:57.437 - [32minfo[39m: javascript.0 (11428) received all states 2021-08-20 19:59:57.519 - [32minfo[39m: javascript.0 (11428) Start javascript script.js.common.E3_DC.E3DC_Control_Prognose 2021-08-20 19:59:57.706 - [32minfo[39m: javascript.0 (11428) script.js.common.E3_DC.E3DC_Control_Prognose: Jetzt sind alle States abgearbeitet 2021-08-20 19:59:57.871 - [32minfo[39m: javascript.0 (11428) script.js.common.E3_DC.E3DC_Control_Prognose: registered 19 subscriptions and 8 schedules 2021-08-20 19:59:57.874 - [32minfo[39m: javascript.0 (11428) Start javascript script.js.common.E3_DC.PowerConsumption 2021-08-20 19:59:57.885 - [32minfo[39m: javascript.0 (11428) script.js.common.E3_DC.PowerConsumption: registered 2 subscriptions and 2 schedules 2021-08-20 19:59:57.886 - [32minfo[39m: javascript.0 (11428) Start javascript script.js.common.E3_DC.NetworkSupply 2021-08-20 19:59:57.896 - [32minfo[39m: javascript.0 (11428) script.js.common.E3_DC.NetworkSupply: registered 2 subscriptions and 2 schedules 2021-08-20 19:59:57.904 - [32minfo[39m: javascript.0 (11428) Start javascript script.js.common.E3_DC.E3DC_Additions 2021-08-20 19:59:57.911 - [32minfo[39m: javascript.0 (11428) script.js.common.E3_DC.E3DC_Additions: registered 19 subscriptions and 0 schedules 2021-08-20 20:00:00.052 - [32minfo[39m: javascript.0 (11428) script.js.common.E3_DC.NetworkSupply: minuten Schedule gestoppt 2021-08-20 20:00:00.075 - [32minfo[39m: javascript.0 (11428) script.js.common.E3_DC.PowerConsumption: minuten Schedule gestoppt 2021-08-20 20:00:00.104 - [32minfo[39m: javascript.0 (11428) script.js.common.E3_DC.E3DC_Control_Prognose: minütlicher Schedule gestoppt 2021-08-20 20:00:00.127 - [32minfo[39m: javascript.0 (11428) script.js.common.E3_DC.E3DC_Control_Prognose: minütlicher Schedule gestoppt 2021-08-20 20:00:03.580 - [32minfo[39m: 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 — 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (11428) at JSON.parse (<anonymous>) 2021-08-20 20:00:03.604 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (11428) at IncomingMessage.emit (events.js:412:35) 2021-08-20 20:00:03.609 - [31merror[39m: javascript.0 (11428) at IncomingMessage.emit (domain.js:470:12) 2021-08-20 20:00:03.610 - [31merror[39m: javascript.0 (11428) at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 20:00:03.611 - [31merror[39m: javascript.0 (11428) at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 20:00:03.752 - [31merror[39m: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0 2021-08-20 20:00:03.753 - [31merror[39m: host.raspberrypi Caught by controller[0]: at JSON.parse (<anonymous>) 2021-08-20 20:00:03.754 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: host.raspberrypi Caught by controller[0]: at IncomingMessage.emit (events.js:412:35) 2021-08-20 20:00:03.755 - [31merror[39m: host.raspberrypi Caught by controller[0]: at IncomingMessage.emit (domain.js:470:12) 2021-08-20 20:00:03.755 - [31merror[39m: host.raspberrypi Caught by controller[0]: at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 20:00:03.755 - [31merror[39m: host.raspberrypi Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 20:00:03.755 - [31merror[39m: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2021-08-20 20:00:03.756 - [32minfo[39m: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled 2021-08-20 20:00:33.834 - [32minfo[39m: host.raspberrypi instance system.adapter.javascript.0 started with pid 11458 2021-08-20 20:00:36.756 - [32minfo[39m: 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 - [32minfo[39m: javascript.0 (11458) requesting all states 2021-08-20 20:00:36.887 - [32minfo[39m: javascript.0 (11458) requesting all objects 2021-08-20 20:00:37.741 - [32minfo[39m: javascript.0 (11458) received all objects 2021-08-20 20:00:37.772 - [32minfo[39m: javascript.0 (11458) received all states 2021-08-20 20:00:37.831 - [32minfo[39m: javascript.0 (11458) Start javascript script.js.common.E3_DC.E3DC_Control_Prognose 2021-08-20 20:00:38.016 - [32minfo[39m: javascript.0 (11458) script.js.common.E3_DC.E3DC_Control_Prognose: Jetzt sind alle States abgearbeitet 2021-08-20 20:00:38.186 - [32minfo[39m: javascript.0 (11458) script.js.common.E3_DC.E3DC_Control_Prognose: registered 19 subscriptions and 8 schedules 2021-08-20 20:00:38.229 - [32minfo[39m: javascript.0 (11458) Start javascript script.js.common.E3_DC.PowerConsumption 2021-08-20 20:00:38.256 - [32minfo[39m: javascript.0 (11458) script.js.common.E3_DC.PowerConsumption: registered 2 subscriptions and 2 schedules 2021-08-20 20:00:38.257 - [32minfo[39m: javascript.0 (11458) Start javascript script.js.common.E3_DC.NetworkSupply 2021-08-20 20:00:38.276 - [32minfo[39m: javascript.0 (11458) script.js.common.E3_DC.NetworkSupply: registered 2 subscriptions and 2 schedules 2021-08-20 20:00:38.277 - [32minfo[39m: javascript.0 (11458) Start javascript script.js.common.E3_DC.E3DC_Additions 2021-08-20 20:00:38.285 - [32minfo[39m: javascript.0 (11458) script.js.common.E3_DC.E3DC_Additions: registered 19 subscriptions and 0 schedules 2021-08-20 20:00:43.301 - [32minfo[39m: 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 — 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (11458) at JSON.parse (<anonymous>) 2021-08-20 20:00:43.323 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (11458) at IncomingMessage.emit (events.js:412:35) 2021-08-20 20:00:43.328 - [31merror[39m: javascript.0 (11458) at IncomingMessage.emit (domain.js:470:12) 2021-08-20 20:00:43.328 - [31merror[39m: javascript.0 (11458) at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 20:00:43.329 - [31merror[39m: javascript.0 (11458) at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 20:00:43.471 - [31merror[39m: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0 2021-08-20 20:00:43.472 - [31merror[39m: host.raspberrypi Caught by controller[0]: at JSON.parse (<anonymous>) 2021-08-20 20:00:43.472 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: host.raspberrypi Caught by controller[0]: at IncomingMessage.emit (events.js:412:35) 2021-08-20 20:00:43.473 - [31merror[39m: host.raspberrypi Caught by controller[0]: at IncomingMessage.emit (domain.js:470:12) 2021-08-20 20:00:43.473 - [31merror[39m: host.raspberrypi Caught by controller[0]: at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 20:00:43.473 - [31merror[39m: host.raspberrypi Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 20:00:43.474 - [31merror[39m: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2021-08-20 20:00:43.474 - [32minfo[39m: host.raspberrypi Restart adapter system.adapter.javascript.0 because enabled 2021-08-20 20:01:13.548 - [32minfo[39m: host.raspberrypi instance system.adapter.javascript.0 started with pid 11476 2021-08-20 20:01:16.452 - [32minfo[39m: 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 - [32minfo[39m: javascript.0 (11476) requesting all states 2021-08-20 20:01:16.577 - [32minfo[39m: javascript.0 (11476) requesting all objects 2021-08-20 20:01:17.447 - [32minfo[39m: javascript.0 (11476) received all objects 2021-08-20 20:01:17.498 - [32minfo[39m: javascript.0 (11476) received all states 2021-08-20 20:01:17.558 - [32minfo[39m: javascript.0 (11476) Start javascript script.js.common.E3_DC.E3DC_Control_Prognose 2021-08-20 20:01:17.741 - [32minfo[39m: javascript.0 (11476) script.js.common.E3_DC.E3DC_Control_Prognose: Jetzt sind alle States abgearbeitet 2021-08-20 20:01:17.930 - [32minfo[39m: javascript.0 (11476) script.js.common.E3_DC.E3DC_Control_Prognose: registered 19 subscriptions and 8 schedules 2021-08-20 20:01:17.979 - [32minfo[39m: javascript.0 (11476) Start javascript script.js.common.E3_DC.PowerConsumption 2021-08-20 20:01:18.006 - [32minfo[39m: javascript.0 (11476) script.js.common.E3_DC.PowerConsumption: registered 2 subscriptions and 2 schedules 2021-08-20 20:01:18.008 - [32minfo[39m: javascript.0 (11476) Start javascript script.js.common.E3_DC.NetworkSupply 2021-08-20 20:01:18.044 - [32minfo[39m: javascript.0 (11476) script.js.common.E3_DC.NetworkSupply: registered 2 subscriptions and 2 schedules 2021-08-20 20:01:18.046 - [32minfo[39m: javascript.0 (11476) Start javascript script.js.common.E3_DC.E3DC_Additions 2021-08-20 20:01:18.053 - [32minfo[39m: javascript.0 (11476) script.js.common.E3_DC.E3DC_Additions: registered 19 subscriptions and 0 schedules 2021-08-20 20:01:23.004 - [32minfo[39m: 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 — 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (11476) at JSON.parse (<anonymous>) 2021-08-20 20:01:23.024 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: javascript.0 (11476) at IncomingMessage.emit (events.js:412:35) 2021-08-20 20:01:23.027 - [31merror[39m: javascript.0 (11476) at IncomingMessage.emit (domain.js:470:12) 2021-08-20 20:01:23.028 - [31merror[39m: javascript.0 (11476) at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 20:01:23.029 - [31merror[39m: javascript.0 (11476) at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 20:01:23.151 - [31merror[39m: host.raspberrypi Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 0 2021-08-20 20:01:23.152 - [31merror[39m: host.raspberrypi Caught by controller[0]: at JSON.parse (<anonymous>) 2021-08-20 20:01:23.153 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: 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 - [31merror[39m: host.raspberrypi Caught by controller[0]: at IncomingMessage.emit (events.js:412:35) 2021-08-20 20:01:23.154 - [31merror[39m: host.raspberrypi Caught by controller[0]: at IncomingMessage.emit (domain.js:470:12) 2021-08-20 20:01:23.154 - [31merror[39m: host.raspberrypi Caught by controller[0]: at endReadableNT (internal/streams/readable.js:1317:12) 2021-08-20 20:01:23.154 - [31merror[39m: host.raspberrypi Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:82:21) 2021-08-20 20:01:23.155 - [31merror[39m: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2021-08-20 20:01:23.155 - [32minfo[39m: 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
-
@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 installiertNPM 7 ... funktioniert nicht mit io
Ziehe es auf NPM 6 ...
https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
-
@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
-
@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
-
@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. -
@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. -
Neue Version 0.3.1 hochgeladen.
Änderungen:
Überprüfung, ob die serverseitige Bearbeitung Proplanta oder Forecast erfolgreich war eingefügt. -
@arnod Danke für die schnelle Bearbeitung. Werde die neue Version testen und berichten.
-
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? -
@b-baier
Welche Ladesperrzeit meinst du ? -
Leider ist da überall "0", obwohl bei Nichtladung der Batterie irgendwo da eine "1" auftauchen sollte... -
Außerdem steht bei mir unter 40085_EMS_Status ein Wert 37. Was bedeutet der? Ich dachte, früher stand da was einstelliges....
-
@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.
-
Das hatte ich schon gemacht. Hier ist der beginnende Auszug:
Noch eine Möglichkeit, warum das nicht funktionert? -
@b-baier
Ok, die Pfadangaben im Skript sind auch alle richtig? Also Modbus Adapter E3DC = modbus.0.
usw. -
An den Pfadangaben habe ich nichts geändert, nur den kWh-Speicher.
-
@b-baier
Prüf mal im Iobroker unter Objekte, ob die Pfadangaben unter E3DC Modbus.0 im Skript richtig sind. -
@b-baier
Wenn alles richtig ist, sollten bei der nächsten Änderung der Register die Werte richtig eingetragen werden.
Du kannst es testen, indem du den Wert modbus.0.holdingRegisters.40085_EMS_Status einfach manuell mit 0 überschreibst.