@xenon Leider sind die logs unauffällig das SNMP problem ist mir bekannt ! Deswegen der Test mit TV den da passt NR.
NEWS
Latest posts made by B4unty
-
RE: Test Adapter device-reminder V 3.x
-
RE: Test Adapter device-reminder V 3.x
@xenon Vielen Dank für deine Arbeit. Der ist echt gut. Ich bekomme aus dem Adapter 2.1.0 keine Telegram Meldung. habe es einfach über ein script gelöst. Wie kann ich dir information zum Prüfen auslesen?
-
RE: Test Adapter device-reminder V 1.x
@xenon Danke für deinen Einsatz, habe denn Alten 1er adapter deinstalliert und neugestartet danach die version 2 installiert. Bekomme als fehler keine verbindung mit Geräten.
Ich warte einfach auf die neue version denke dann wird wieder alles wie gewohnt super laufen ; lassen ) und danke nochmal für den super Adapter -
JSONATA weche blockly steine sind das?
Hallo zusammen, beim Update von Jjavascript wird gesagt das ich alle scripte damit anpassen müsste. Welche Bausteine sind es den?
-
RE: Javascript stürzt ab error log Fragen
@tt-tom Danke für den Hinweis beides mal angepasst. Schauen wir mal was Passiert
-
RE: Javascript stürzt ab error log Fragen
@gaspode es scheint in diesem skript zu sein den nur dieses ist auf der Instanz die dann auf Rot schaltet
var Gew_C3_BCnschteWattLeistung; on({id: [].concat(['alias.0.Sensoren.SolarAnlage.BATERIE-RELAI-INVERTER']), change: "ne"}, async function (obj) { var value = obj.state.val; var oldValue = obj.oldState.val; sendTo("telegram", "send", { text: (['Relai Auslöser bei ',getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val,'V beide Mitte und ',getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val,'%'].join('')) }); }); on({id: [].concat(['alias.0.Sensoren.SolarAnlage.BEGRENZUNG-LEISTUNG']), change: "ne"}, async function (obj) { var value = obj.state.val; var oldValue = obj.oldState.val; Gew_C3_BCnschteWattLeistung = ('' + getState("alias.0.Sensoren.SolarAnlage.BEGRENZUNG-LEISTUNG").val); sendTo("mqtt.0", "sendMessage2Client", { "topic": 'inverter/ctrl/limit_persistent_relative/0 ', "message": Gew_C3_BCnschteWattLeistung }); console.log("mqtt.0: " + ""); }); schedule("*/2 * * * *", async function () { if (getState("0_userdata.0.Schalten.Hilfspunkte.PV-Automatik").val == true) { console.log('Auslöser Solaranpassung'); if (getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val >= 25.5 && getState("0_userdata.0.Schalten.Hilfspunkte.AkkuArbeit").val == true && getState("alias.0.Sensoren.Stomzähler.AKTUELLER_BEZUG").val >= -100 && (getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val >= 600 && getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val >= 95 || false)) { console.log((['Begrenzer 980W 34 Mittelwert: ',getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val,' Spannung Mittelwert: ',getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val,'V ',getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val,'%'].join(''))); // 980 Watt setState("alias.0.Sensoren.SolarAnlage.BEGRENZUNG-LEISTUNG"/*BEGRENZUNG-LEISTUNG_Alias*/, 34); } else { console.log('980 NEIN'); if (getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val >= 25.2 && getState("alias.0.Sensoren.Stomzähler.AKTUELLER_BEZUG").val >= -100 && getState("0_userdata.0.Schalten.Hilfspunkte.AkkuArbeit").val == true && getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val >= 410 && getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val >= 93) { console.log((['Begrenzer 630W 31 Mittelwert: ',getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val,' Spannung Mittelwert: ',getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val,'V ',getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val,'%'].join(''))); setState("alias.0.Sensoren.SolarAnlage.BEGRENZUNG-LEISTUNG"/*BEGRENZUNG-LEISTUNG_Alias*/, 31); // 630 Watt } else { console.log('630 NEIN'); if (getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val >= 24.7 && getState("0_userdata.0.Schalten.Hilfspunkte.AkkuArbeit").val == true && getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val >= 220 && (compareTime('8:00', '15:00', "between", null) && getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val >= 85 && getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val >= 550 || getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val >= 91)) { console.log((['Begrenzer 440W 28 Mittelwert: ',getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val,' Spannung Mittelwert: ',getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val,'V ',getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val,'%'].join(''))); setState("alias.0.Sensoren.SolarAnlage.BEGRENZUNG-LEISTUNG"/*BEGRENZUNG-LEISTUNG_Alias*/, 28); // 440 Watt } else { console.log('440 NEIN'); if (getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val >= 24.6 && getState("0_userdata.0.Schalten.Hilfspunkte.AkkuArbeit").val == true && getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val >= 120 && (getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val >= 90 || compareTime('07:00', '16:00', "between", null) && getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val >= 83 && getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val >= 280)) { console.log((['Begrenzer 230W 15 Mittelwert: ',getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val,' Spannung Mittelwert:',getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val,'V ',getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val,'%'].join(''))); // 230 Watt setState("alias.0.Sensoren.SolarAnlage.BEGRENZUNG-LEISTUNG"/*BEGRENZUNG-LEISTUNG_Alias*/, 15); } else { console.log('230 NEIN'); if (getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val >= 24.4 && getState("0_userdata.0.Schalten.Hilfspunkte.AkkuArbeit").val == true && getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val >= 70) { setState("alias.0.Sensoren.SolarAnlage.BEGRENZUNG-LEISTUNG"/*BEGRENZUNG-LEISTUNG_Alias*/, 8); // 90 Watt console.log((['Begrenzer 90W 8 Mittelwert: ',getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val,' Spannung: ',getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val,' V ',getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val,'%'].join(''))); } else { console.log('90 NEIN'); setState("alias.0.Sensoren.SolarAnlage.BEGRENZUNG-LEISTUNG"/*BEGRENZUNG-LEISTUNG_Alias*/, 4); console.log((['MInimum 4 Mittelwert: ',getState("alias.0.Sensoren.SolarAnlage.MittelwertLadung").val,'W Spannung Mittelwert: ',getState("0_userdata.0.Schalten.Hilfspunkte.Akku-BeideMessungen-Mitte").val,'V ',getState("alias.0.Sensoren.SolarAnlage.266_State_of_charge").val,'%'].join(''))); } } } } } } });
kann es sein das ein Fehler in der mqtt Kommunikation dazu führen kann?
-
RE: Javascript stürzt ab error log Fragen
Wenn ich die Instanz starte kommt dieser Eintrag, kann ich auch zwei Instanzen installieren und die Skripte einfach zwischen den host hin und her schieben? Um nach und nach die Skripte auszuschließen?
2023-05-30 15:25:11.303 - info: host.iobrokerCT instance system.adapter.iot.0 started with pid 11485 2023-05-30 15:25:12.363 - info: iot.0 (11485) starting. Version 1.14.2 in /opt/iobroker/node_modules/iobroker.iot, node: v18.16.0, js-controller: 4.0.24 2023-05-30 15:25:12.409 - info: iot.0 (11485) Connecting with a18wym7vjdl22g.iot.eu-west-1.amazonaws.com 2023-05-30 15:25:12.897 - info: iot.0 (11485) Connection changed: connect 2023-05-30 15:25:15.304 - info: host.iobrokerCT instance system.adapter.simple-api.6 started with pid 11500 2023-05-30 15:25:16.334 - info: simple-api.6 (11500) starting. Version 2.7.2 in /opt/iobroker/node_modules/iobroker.simple-api, node: v18.16.0, js-controller: 4.0.24 2023-05-30 15:25:16.353 - info: simple-api.6 (11500) simpleAPI server listening on port 8087 2023-05-30 15:25:16.354 - info: simple-api.6 (11500) Allow states only when user is owner: false 2023-05-30 15:25:16.362 - info: simple-api.6 (11500) http server listening on port 8087 2023-05-30 15:25:16.725 - info: smartmeter.1 (10782) Received 7 values, 3 updated 2023-05-30 15:25:18.857 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Waschmaschine.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:18.900 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Trockner.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:28.327 - info: smartmeter.1 (10782) Received 7 values, 3 updated 2023-05-30 15:25:28.856 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Waschmaschine.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:28.859 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Trockner.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:38.798 - info: host.iobrokerCT "system.adapter.javascript.0" enabled 2023-05-30 15:25:38.850 - info: host.iobrokerCT instance system.adapter.javascript.0 started with pid 11529 2023-05-30 15:25:38.978 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Waschmaschine.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:38.978 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Trockner.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:38.798 - info: host.iobrokerCT "system.adapter.javascript.0" enabled 2023-05-30 15:25:38.850 - info: host.iobrokerCT instance system.adapter.javascript.0 started with pid 11529 2023-05-30 15:25:38.978 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Waschmaschine.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:38.978 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Trockner.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:40.258 - info: javascript.0 (11529) starting. Version 6.1.4 in /opt/iobroker/node_modules/iobroker.javascript, node: v18.16.0, js-controller: 4.0.24 2023-05-30 15:25:41.032 - info: javascript.0 (11529) requesting all states 2023-05-30 15:25:41.034 - info: javascript.0 (11529) requesting all objects 2023-05-30 15:25:41.032 - info: javascript.0 (11529) requesting all states 2023-05-30 15:25:41.034 - info: javascript.0 (11529) requesting all objects 2023-05-30 15:25:41.747 - info: javascript.0 (11529) received all objects 2023-05-30 15:25:42.121 - info: device-reminder.0 (11470) State value to set for "sayit.0.tts.volume" has to be type "string" but received type "number" 2023-05-30 15:25:42.216 - info: smartmeter.1 (10782) Received 7 values, 3 updated 2023-05-30 15:25:42.526 - info: javascript.0 (11529) received all states 2023-05-30 15:25:41.747 - info: javascript.0 (11529) received all objects 2023-05-30 15:25:42.121 - info: device-reminder.0 (11470) State value to set for "sayit.0.tts.volume" has to be type "string" but received type "number" 2023-05-30 15:25:42.216 - info: smartmeter.1 (10782) Received 7 values, 3 updated 2023-05-30 15:25:42.526 - info: javascript.0 (11529) received all states 2023-05-30 15:25:44.120 - info: javascript.0 (11529) Start javascript script.js.Auslöser_Bilder.Bild_Tor_auf 2023-05-30 15:25:44.146 - info: javascript.0 (11529) script.js.Auslöser_Bilder.Bild_Tor_auf: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.373 - info: javascript.0 (11529) Start javascript script.js.Auslöser_Bilder.Bild_Tor_zu 2023-05-30 15:25:44.384 - info: javascript.0 (11529) script.js.Auslöser_Bilder.Bild_Tor_zu: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.385 - info: javascript.0 (11529) Start javascript script.js.CCU_State.CCU_to_FHEM 2023-05-30 15:25:44.388 - info: javascript.0 (11529) script.js.CCU_State.CCU_to_FHEM: registered 4 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.388 - info: javascript.0 (11529) Start javascript script.js.CCU_State.Homatik_CuxD 2023-05-30 15:25:44.391 - info: javascript.0 (11529) script.js.CCU_State.Homatik_CuxD: registered 9 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.391 - info: javascript.0 (11529) Start javascript script.js.CCU_State.Homeoffice_ 2023-05-30 15:25:44.421 - info: javascript.0 (11529) script.js.CCU_State.Homeoffice_: registered 3 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.421 - info: javascript.0 (11529) Start javascript script.js.Garagentor.TorPosition 2023-05-30 15:25:44.424 - info: javascript.0 (11529) script.js.Garagentor.TorPosition: registered 2 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.424 - info: javascript.0 (11529) Start javascript script.js.Haus_Türen.Klingel 2023-05-30 15:25:44.426 - info: javascript.0 (11529) script.js.Haus_Türen.Klingel: registered 3 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.427 - info: javascript.0 (11529) Start javascript script.js.Schaltungen.Flur_Bewegung 2023-05-30 15:25:44.429 - info: javascript.0 (11529) script.js.Schaltungen.Flur_Bewegung: registered 3 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.429 - info: javascript.0 (11529) Start javascript script.js.Schaltungen.Garage_Lampen 2023-05-30 15:25:44.439 - info: javascript.0 (11529) script.js.Schaltungen.Garage_Lampen: registered 8 subscriptions, 6 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.439 - info: javascript.0 (11529) Start javascript script.js.Schaltungen.PDU_Garage_ON_OFF 2023-05-30 15:25:44.444 - info: javascript.0 (11529) script.js.Schaltungen.PDU_Garage_ON_OFF: registered 10 subscriptions, 2 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.444 - info: javascript.0 (11529) Start javascript script.js.Schaltungen.RolladenSchaltung 2023-05-30 15:25:44.448 - info: javascript.0 (11529) script.js.Schaltungen.RolladenSchaltung: registered 4 subscriptions, 3 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.448 - info: javascript.0 (11529) Start javascript script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung 2023-05-30 15:25:44.450 - info: javascript.0 (11529) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: registered 2 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.451 - info: javascript.0 (11529) Start javascript script.js.Verbrauch_Solaranlage_Sonstige.Solar_Mittelwerte 2023-05-30 15:25:44.453 - info: javascript.0 (11529) script.js.Verbrauch_Solaranlage_Sonstige.Solar_Mittelwerte: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.453 - info: javascript.0 (11529) Start javascript script.js.Verbrauch_Solaranlage_Sonstige.Wechselrichter_Ein_Aus 2023-05-30 15:25:44.458 - info: javascript.0 (11529) script.js.Verbrauch_Solaranlage_Sonstige.Wechselrichter_Ein_Aus: registered 1 subscription, 1 schedule, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.120 - info: javascript.0 (11529) Start javascript script.js.Auslöser_Bilder.Bild_Tor_auf 2023-05-30 15:25:44.146 - info: javascript.0 (11529) script.js.Auslöser_Bilder.Bild_Tor_auf: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.373 - info: javascript.0 (11529) Start javascript script.js.Auslöser_Bilder.Bild_Tor_zu 2023-05-30 15:25:44.384 - info: javascript.0 (11529) script.js.Auslöser_Bilder.Bild_Tor_zu: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.385 - info: javascript.0 (11529) Start javascript script.js.CCU_State.CCU_to_FHEM 2023-05-30 15:25:44.388 - info: javascript.0 (11529) script.js.CCU_State.CCU_to_FHEM: registered 4 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.388 - info: javascript.0 (11529) Start javascript script.js.CCU_State.Homatik_CuxD 2023-05-30 15:25:44.391 - info: javascript.0 (11529) script.js.CCU_State.Homatik_CuxD: registered 9 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.391 - info: javascript.0 (11529) Start javascript script.js.CCU_State.Homeoffice_ 2023-05-30 15:25:44.421 - info: javascript.0 (11529) script.js.CCU_State.Homeoffice_: registered 3 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.421 - info: javascript.0 (11529) Start javascript script.js.Garagentor.TorPosition 2023-05-30 15:25:44.424 - info: javascript.0 (11529) script.js.Garagentor.TorPosition: registered 2 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.424 - info: javascript.0 (11529) Start javascript script.js.Haus_Türen.Klingel 2023-05-30 15:25:44.426 - info: javascript.0 (11529) script.js.Haus_Türen.Klingel: registered 3 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.427 - info: javascript.0 (11529) Start javascript script.js.Schaltungen.Flur_Bewegung 2023-05-30 15:25:44.429 - info: javascript.0 (11529) script.js.Schaltungen.Flur_Bewegung: registered 3 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.429 - info: javascript.0 (11529) Start javascript script.js.Schaltungen.Garage_Lampen 2023-05-30 15:25:44.439 - info: javascript.0 (11529) script.js.Schaltungen.Garage_Lampen: registered 8 subscriptions, 6 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.439 - info: javascript.0 (11529) Start javascript script.js.Schaltungen.PDU_Garage_ON_OFF 2023-05-30 15:25:44.444 - info: javascript.0 (11529) script.js.Schaltungen.PDU_Garage_ON_OFF: registered 10 subscriptions, 2 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.444 - info: javascript.0 (11529) Start javascript script.js.Schaltungen.RolladenSchaltung 2023-05-30 15:25:44.448 - info: javascript.0 (11529) script.js.Schaltungen.RolladenSchaltung: registered 4 subscriptions, 3 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.448 - info: javascript.0 (11529) Start javascript script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung 2023-05-30 15:25:44.450 - info: javascript.0 (11529) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: registered 2 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.451 - info: javascript.0 (11529) Start javascript script.js.Verbrauch_Solaranlage_Sonstige.Solar_Mittelwerte 2023-05-30 15:25:44.453 - info: javascript.0 (11529) script.js.Verbrauch_Solaranlage_Sonstige.Solar_Mittelwerte: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:44.453 - info: javascript.0 (11529) Start javascript script.js.Verbrauch_Solaranlage_Sonstige.Wechselrichter_Ein_Aus 2023-05-30 15:25:44.458 - info: javascript.0 (11529) script.js.Verbrauch_Solaranlage_Sonstige.Wechselrichter_Ein_Aus: registered 1 subscription, 1 schedule, 0 messages, 0 logs and 0 file subscriptions 2023-05-30 15:25:48.858 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Waschmaschine.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:48.858 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Trockner.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:48.858 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Waschmaschine.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:48.858 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Trockner.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:54.932 - info: smartmeter.1 (10782) Received 7 values, 3 updated 2023-05-30 15:25:58.859 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Waschmaschine.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:58.900 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Trockner.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:58.859 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Waschmaschine.live consumption" has to be type "number" but received type "string" 2023-05-30 15:25:58.900 - info: device-reminder.0 (11470) State value to set for "device-reminder.0.Trockner.live consumption" has to be type "number" but received type "string" 2023-05-30 15:26:00.003 - info: javascript.0 (11529) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Auslöser Solaranpassung 2023-05-30 15:26:00.004 - info: javascript.0 (11529) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Begrenzer 980W 34 Mittelwert: 875.1 Spannung Mittelwert: 27.3V 100% 2023-05-30 15:26:00.005 - info: snmp.0 (11440) Scheduled restart. 2023-05-30 15:26:00.055 - info: snmp.0 (11440) terminating 2023-05-30 15:26:00.057 - info: snmp.0 (11440) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-05-30 15:26:00.003 - info: javascript.0 (11529) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Auslöser Solaranpassung 2023-05-30 15:26:00.004 - info: javascript.0 (11529) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Begrenzer 980W 34 Mittelwert: 875.1 Spannung Mittelwert: 27.3V 100%
node JS ist jetzt auf 18
-
RE: Javascript stürzt ab error log Fragen
@thomas-braun Aktuell schaut es so aus Instanz rot
iob logs | grep javascript.0 2023-05-30 14:52:54.644 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Auslöser Solaranpassung 2023-05-30 14:52:54.645 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 980 NEIN 2023-05-30 14:52:54.645 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 630 NEIN 2023-05-30 14:52:54.645 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 440 JA 2023-05-30 14:52:54.645 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Begrenzer 440W 26 Mittelwert: 842.3 Spannung Mittelwert: 27.2V 100% 2023-05-30 14:54:24.933 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Auslöser Solaranpassung 2023-05-30 14:54:24.934 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 980 NEIN 2023-05-30 14:54:24.934 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 630 NEIN 2023-05-30 14:54:24.934 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 440 JA 2023-05-30 14:54:24.934 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Begrenzer 440W 26 Mittelwert: 842.3 Spannung Mittelwert: 27.2V 100% 2023-05-30 14:55:53.852 - info: javascript.0 (530) script.js.CCU_State.Homeoffice_: Eltern im Wlan 2023-05-30 14:57:23.250 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Auslöser Solaranpassung 2023-05-30 14:57:23.250 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 980 NEIN 2023-05-30 14:57:23.250 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 630 NEIN 2023-05-30 14:57:23.250 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 440 JA 2023-05-30 14:57:23.250 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Begrenzer 440W 26 Mittelwert: 842.3 Spannung Mittelwert: 27.2V 100% 2023-05-30 15:00:24.649 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Auslöser Solaranpassung 2023-05-30 15:00:24.649 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 980 NEIN 2023-05-30 15:00:24.650 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 630 NEIN 2023-05-30 15:00:24.650 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: 440 JA 2023-05-30 15:00:24.650 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Begrenzer 440W 26 Mittelwert: 842.3 Spannung Mittelwert: 27.2V 100% 2023-05-30 15:01:48.388 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: mqtt.0: 2023-05-30 15:01:53.250 - info: javascript.0 (530) script.js.CCU_State.Homeoffice_: Eltern im Wlan 2023-05-30 15:01:53.251 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Solar_Mittelwerte: Mittelwert Ladung 3 MIN 842.3 Zähler: 24 2023-05-30 15:01:53.251 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Solar_Mittelwerte: Mittelwert Volt 27V Zähler: 24 2023-05-30 15:01:53.251 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Solar_Mittelwerte: Mittelwert Volt Shunt27.4V Zähler: 24 2023-05-30 15:03:21.338 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Auslöser Solaranpassung 2023-05-30 15:03:21.338 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Begrenzer 980W 34 Mittelwert: 730.9 Spannung Mittelwert: 27.2V 100% 2023-05-30 15:08:05.519 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: mqtt.0: 2023-05-30 15:08:06.614 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Auslöser Solaranpassung 2023-05-30 15:08:06.614 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: Begrenzer 980W 34 Mittelwert: 730.9 Spannung Mittelwert: 27.2V 100% 2023-05-30 15:09:35.085 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: mqtt.0: 2023-05-30 15:09:36.707 - info: javascript.0 (530) script.js.Verbrauch_Solaranlage_Sonstige.Leistung_Anpassung: mqtt.0:
which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.19.1 v16.19.1 9.6.5 nodejs: Installiert: 16.19.1-deb-1nodesource1 Installationskandidat: 16.20.0-deb-1nodesource1 Versionstabelle: 16.20.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main amd64 Packages *** 16.19.1-deb-1nodesource1 100 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u3 500 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages 10.24.0~dfsg-1~deb10u1 500 500 http://ftp.de.debian.org/debian buster/main amd64 Packages
-
RE: Javascript stürzt ab error log Fragen
Danke das steht jetzt diese Information
2023-05-30 07:14:50.828 - info: host.iobrokerCT stopInstance system.adapter.javascript.0 (force=false, process=true) 2023-05-30 07:14:50.918 - info: host.iobrokerCT stopInstance system.adapter.javascript.0 send kill signal 2023-05-30 07:14:51.919 - info: host.iobrokerCT stopInstance system.adapter.javascript.0 killing pid 641 2023-05-30 07:14:53.983 - info: host.iobrokerCT instance system.adapter.javascript.0 started with pid 16532 2023-05-30 07:14:55.137 - error: javascript.0 (16532) javascript.0 already running 2023-05-30 07:14:55.139 - warn: javascript.0 (16532) Terminated (ADAPTER_ALREADY_RUNNING): Without reason 2023-05-30 07:14:55.696 - error: host.iobrokerCT instance system.adapter.javascript.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 2023-05-30 07:14:55.696 - info: host.iobrokerCT Restart adapter system.adapter.javascript.0 because enabled 2023-05-30 07:15:25.678 - info: host.iobrokerCT "system.adapter.javascript.0" disabled 2023-05-30 07:15:27.432 - error: javascript.0 (16558) adapter disabled 2023-05-30 07:15:27.479 - warn: javascript.0 (16558) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason 2023-05-30 07:15:28.038 - error: host.iobrokerCT instance system.adapter.javascript.0 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND) 2023-05-30 07:15:28.038 - info: host.iobrokerCT Do not restart adapter system.adapter.javascript.0 because disabled or deleted 2023-05-30 07:15:29.695 - info: host.iobrokerCT "system.adapter.javascript.0" enabled 2023-05-30 07:15:29.834 - info: host.iobrokerCT instance system.adapter.javascript.0 started with pid 16569 2023-05-30 07:15:31.281 - info: javascript.0 (16569) starting. Version 6.1.4 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.19.1, js-controller: 4.0.24 2023-05-30 07:15:32.063 - info: javascript.0 (16569) requesting all states 2023-05-30 07:15:32.063 - info: javascript.0 (16569) requesting all objects 2023-05-30 07:15:32.841 - info: javascript.0 (16569) received all objects 2023-05-30 07:15:33.808 - info: javascript.0 (16569) received all states 2023-05-30 07:16:19.949 - info: host.iobrokerCT instance system.adapter.javascript.0 started with pid 16601 2023-05-30 07:16:19.962 - warn: javascript.0 (16569) Got terminate signal. Checking desired PID: 16601 vs own PID 16569 2023-05-30 07:16:20.492 - error: host.iobrokerCT instance system.adapter.javascript.0 terminated by request of the instance itself and will not be restarted, before user restarts it. 2023-05-30 07:16:20.493 - info: host.iobrokerCT Do not restart adapter system.adapter.javascript.0 because desired by instance 2023-05-30 07:16:21.370 - info: javascript.0 (16601) starting. Version 6.1.4 in /opt/iobroker/node_modules/iobroker.javascript, node: v16.19.1, js-controller: 4.0.24 2023-05-30 07:16:22.139 - info: javascript.0 (16601) requesting all states 2023-05-30 07:16:22.139 - info: javascript.0 (16601) requesting all objects 2023-05-30 07:16:22.779 - info: javascript.0 (16601) received all objects 2023-05-30 07:16:23.520 - info: javascript.0 (16601) received all states
Wenn ich das log richtig verstehe steht da nichts zu dem warum die Instanz nicht läuft. den es sind Einträge aus Script im log. Und die vorhandene Einträge müssten sein wo ich den Adapter dummer weise neu gestartet habe.