@mading endlich konnte ich bei Sonnenschein den Speicher mal wieder richtig betreiben und das Blockly nochmal laufen lassen und testen. Dabei ist mir folgender Debug ausgegeben worden und ich weiß nicht, wo der Fehler liegen kann?
Danke im Voraus
Debug Output:
15.2.2024, 12:55:39.788 [info ]: javascript.0 (1832412) Start javascript script.js.Speicher.SN103
15.2.2024, 12:55:39.871 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: schedule(cron=* * * * *)
15.2.2024, 12:55:39.873 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: getState(id=fhem.0.ESS_Minutenwerte.03_Battery_to_Household_in_W, timerId=undefined) => {"val":0,"ack":true,"ts":1707994275680,"q":0,"from":"system.adapter.fhem.0","user":"system.user.admin","lc":1707994275680}
15.2.2024, 12:55:39.873 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: getState(id=fhem.0.ESS_Minutenwerte.03_Battery_to_Household_in_W, timerId=undefined) => {"val":0,"ack":true,"ts":1707994275680,"q":0,"from":"system.adapter.fhem.0","user":"system.user.admin","lc":1707994275680}
15.2.2024, 12:55:39.874 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: getState(id=fhem.0.ESS_Minutenwerte.05_PV_to_Battery_in_W, timerId=undefined) => {"val":1963,"ack":true,"ts":1707998056473,"q":0,"from":"system.adapter.fhem.0","user":"system.user.admin","lc":1707998056473}
15.2.2024, 12:55:39.875 [error]: javascript.0 (1832412) script.js.Speicher.SN103 Error by subscription (trigger): Wrong ID of type boolean or number.
15.2.2024, 12:55:39.875 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
15.2.2024, 12:56:00.049 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: getObject(id=fhem.0.ESS_Minutenwerte.03_Battery_to_Household_in_W, enumName=undefined) => {"_id":"fhem.0.ESS_Minutenwerte.03_Battery_to_Household_in_W","type":"state","common":{"name":"ESS_Minutenwerte 03_Battery_to_Household_in_W","type":"number","role":"value","read":true,"write":false,"custom":{"influxdb.0":{"enabled":true,"storageType":"Number","aliasId":"","debounceTime":0,"blockTime":0,"changesOnly":true,"changesRelogInterval":0,"changesMinDelta":0,"ignoreBelowNumber":"","disableSkippedValueLogging":false,"enableDebugLogs":false,"debounce":1000}}},"native":{"Name":"ESS_Minutenwerte","Attribute":"03_Battery_to_Household_in_W","Readings":true,"type":"number","role":"value"},"value":{"val":"0"},"from":"system.adapter.influxdb.0","user":"system.user.admin","ts":1704876495776}
15.2.2024, 12:56:00.050 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: getState(id=fhem.0.ESS_Minutenwerte.05_PV_to_Battery_in_W, timerId=undefined) => {"val":1963,"ack":true,"ts":1707998056473,"q":0,"from":"system.adapter.fhem.0","user":"system.user.admin","lc":1707998056473}
15.2.2024, 12:56:00.051 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: getState(id=fhem.0.ESS_Minutenwerte.05_PV_to_Battery_in_W, timerId=undefined) => {"val":1963,"ack":true,"ts":1707998056473,"q":0,"from":"system.adapter.fhem.0","user":"system.user.admin","lc":1707998056473}
15.2.2024, 12:56:00.052 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: setForeignState(id=0_userdata.0.eigeneDatenpunkte.Caterva.SN103.LeistungSN103, state={"val":-1963,"ack":true,"ts":1707998160052,"q":0,"from":"system.adapter.javascript.0","lc":1707998160052,"c":"script.js.Speicher.SN103"})
15.2.2024, 12:56:00.053 [warn ]: javascript.0 (1832412) script.js.Speicher.SN103: setForeignState(id=0_userdata.0.eigeneDatenpunkte.Caterva.SN103.LeistungSN103, state={"val":-1963,"ack":true,"ts":1707998160052,"q":0,"from":"system.adapter.javascript.0","lc":1707998160052,"c":"script.js.Speicher.SN103"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist
15.2.2024, 12:56:00.055 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: sendTo(instance=mqtt.0, cmd=sendMessage2Client, msg={"topic":"openWB/set/houseBattery/W","message":"0","retain":true}, hasCallback=true)
15.2.2024, 12:56:00.058 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: getState(id=fhem.0.ESS_Minutenwerte.01_SoC_in_Pct, timerId=undefined) => {"val":70,"ack":true,"ts":1707997876082,"q":0,"from":"system.adapter.fhem.0","user":"system.user.admin","lc":1707997876082}
15.2.2024, 12:56:00.059 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: sendTo(instance=mqtt.0, cmd=sendMessage2Client, msg={"topic":"openWB/set/houseBattery/%Soc","message":70,"retain":true}, hasCallback=true)
15.2.2024, 12:56:20.056 [error]: javascript.0 (1832412) script.js.Speicher.SN103: timeout
15.2.2024, 12:56:20.058 [error]: javascript.0 (1832412) script.js.Speicher.SN103: timeout
15.2.2024, 12:57:00.052 [info ]: javascript.0 (1832412) script.js.Speicher.SN103: getObject(id=fhem.0.ESS_Minutenwerte.03_Battery_to_Household_in_W, enumName=undefined) => {"_id":"fhem.0.ESS_Minutenwerte.03_Battery_to_Household_in_W","type":"state","common":{"name":"ESS_Minutenwerte 03_Battery_to_Household_in_W","type":"number","role":"value","read":true,"write":false,"custom":{"influxdb.0":{"enabled":true,"storageType":"Number","aliasId":"","debounceTime":0,"blockTime":0,"changesOnly":true,"changesRelogInterval":0,"changesMinDelta":0,"ignoreBelowNumber":"","disableSkippedValueLogging":false,"enableDebugLogs":false,"debounce":1000}}},"native":{"Name":"ESS_Minutenwerte","Attribute":"03_Battery_to_Household_in_W","Readings":true,"type":"number","role":"value"},"value":{"val":"0"},"from":"system.adapter.influxdb.0","user":"system.user.admin","ts":1704876495776}