Skip to content

Skripten / Logik

Hilfe zu JavaScript, Blockly, TypeScript, Node-RED, Scenes und text2command

16.6k Themen 214.0k Beiträge

NEWS

Unterkategorien


  • Hilfe für Skripterstellung mit JavaScript

    2k 49k
    2k Themen
    49k Beiträge
    O
    @crunchip ich habe mir das Skript jetzt mal installiert und folgende Fragen und Anregungen dazu: In Zeile 2240 steht: 'system.adapter.' + processes[i].name + '.' + processes[i].instance + '.info.connection'; Den Datenpunkt kann ich nicht finden, ist das der richtige Pfad? Die Auswertung der Log Einträge funktioniert bei mir leider nicht, mein System läuft auf einem Windows Rechner. In Zeile 1195 steht: on({ id: /^system.adapter...logMessage$/, change: 'any' }, function (obj) {* Kann es vielleicht daran liegen? Besteht die Möglichkeit eine Liste und die Anzahl der deaktivierten Adapter mit einzubauen? Ich finde dieses Skript echt genial, danke fürs bereitstellen!!!
  • Hilfe für Skripterstellung mit Blockly

    7k 80k
    7k Themen
    80k Beiträge
    B
    @Murphy-0 Wieder was dazu gelernt, dachte immer man soll die Akkus nur ab und zu zum kalibrieren mal ganz voll laden. Der Spannungsverlauf kurz vor erreichen der 3,5V sah bei mir ähnlich aus. Auch die Akku Temperaturen lagen auch in dem Bereich wie bei dir. Die hyperTmp lag so knapp unter 40°C. Muss ich mal beobachten, denke bis 40°C kann ich noch ohne Lüfter auskommen. Danke noch mal für deine super hilfreichen Rückmeldungen und die Unterstützung! Habe sehr viel dabei gelernt.
  • Hilfe für Skripterstellung mit Node-RED

    953 13k
    953 Themen
    13k Beiträge
    Marc BergM
    Es gibt in der Verson 1.3.0 einen neuen Node: iob-setObject (Stand 10.02.26 noch beta) Mit dem neuen Node kann man ioBroker-Objektdefinitionen (Metadaten) direkt schreiben und ändern. Hauptfunktionen: Instanz-Konfigurationen ändern - z.B. MQTT publish-Pattern, Intervalle, etc. Objekt-Eigenschaften aktualisieren - Namen, Rollen, Einheiten, Min/Max-Werte ändern es gibt zwei Modi: Merge-Modus : Ändert nur die angegebenen Eigenschaften, alle anderen bleiben erhalten Replace-Modus: Überschreibt das komplette Objekt Typischer Workflow: Objekt mit iob-getobject holen Mit Change-Node gewünschte Properties ändern Mit iob-setobject zurückschreiben
  • io.javascript.0 immer bei rund 100%

    15
    0 Stimmen
    15 Beiträge
    1k Aufrufe
    mcm1957M
    @tasuanetrukiat Eher schon spät aber noch ne Nachfrage: Hast du nach dem Stoppen aller Scripte im Adapter auch mal den ganzen Rechner (nicht nur ioBroker) neu gestartet? Es kann ja auch sein, dass ein Prozess amok gelaufen ist den ioBroker gar nicht mehr als einen eigenen erkannt hat. Und der könnte dann nur z.B. manuell gestoppt werden oder ebern durch einen Reboot des Betriebssystems.
  • HEOS Player Queue als html tabelle?

    2
    0 Stimmen
    2 Beiträge
    220 Aufrufe
    icebearI
    @icebear Ich antworte mir mal selber. Habs rausgefunden mit jsonata = $.payload.{"Art": image_url, "Artist":artist, "album": album, "Titel": song} Bring als Ergebnis: [ { "Art": "https://m.media-amazon.com/images/I/B1EQ4x6+cPL.jpg", "Artist": "Kx5", "album": "Take Me High", "Titel": "Take Me High" }, { "Art": "https://m.media-amazon.com/images/I/617MVZdW+9L.jpg", "Artist": "Papa Roach", "album": "Who Do You Trust? [Explicit]", "Titel": "The Ending" }, { "Art": "https://m.media-amazon.com/images/I/614X7vU4kvL.jpg", "Artist": "Swedish House Mafia", "album": "Paradise Again [Explicit]", "Titel": "Heaven Takes You Home" }, { "Art": "https://m.media-amazon.com/images/I/91WFfUhav8L.jpg", "Artist": "Fred again..", "album": "Turn On The Lights again.. (feat. Future) [Explicit]", "Titel": "Turn On The Lights again.. (feat. Future)" }, { "Art": "https://m.media-amazon.com/images/I/71nY9Fa-06L.jpg", "Artist": "Gorgon City", "album": "Dreams (Terrace Dub / Amazon Original)", "Titel": "Dreams (Terrace Dub / Amazon Original)" }, { "Art": "https://m.media-amazon.com/images/I/91859e+jTSL.jpg", "Artist": "Papa Roach", "album": "Dying To Believe", "Titel": "Dying To Believe [Explicit]" }, { "Art": "https://m.media-amazon.com/images/I/81pg+33+WiL.jpg", "Artist": "Fred again..", "album": "Actual Life 3 (January 1 - September 9 2022) [Explicit]", "Titel": "Clara (the night is dark)" }, { "Art": "https://m.media-amazon.com/images/I/81bZ4dEMUhL.jpg", "Artist": "Chase & Status", "album": "What Came Before [Explicit]", "Titel": "Mixed Emotions" }, { "Art": "https://m.media-amazon.com/images/I/81pg+33+WiL.jpg", "Artist": "Fred again..", "album": "Actual Life 3 (January 1 - September 9 2022) [Explicit]", "Titel": "Kammy (like i do)" }, { "Art": "https://m.media-amazon.com/images/I/910MrctHG9L.jpg", "Artist": "Biffy Clyro", "album": "A Celebration Of Endings [Explicit]", "Titel": "Instant History" }, { "Art": "https://m.media-amazon.com/images/I/A1LKu3twuLL.jpg", "Artist": "John Summit", "album": "Human (feat. Echoes)", "Titel": "Human (feat. Echoes)" }, { "Art": "https://m.media-amazon.com/images/I/81+lGZN8RaL.jpg", "Artist": "070 Shake", "album": "Modus Vivendi [Explicit]", "Titel": "Morrow [Explicit]" }, { "Art": "https://m.media-amazon.com/images/I/61+IZElnaJL.jpg", "Artist": "London Grammar", "album": "Californian Soil [Explicit]", "Titel": "Lose Your Head" }, { "Art": "https://m.media-amazon.com/images/I/71Zv20vA1KL.jpg", "Artist": "Sigala", "album": "Melody", "Titel": "Melody" }, { "Art": "https://m.media-amazon.com/images/I/A19aTcXcAZS.jpg", "Artist": "gardenstate", "album": "Take Me There (Falden Remix)", "Titel": "Take Me There" }, { "Art": "https://m.media-amazon.com/images/I/81vMxIyDZ9L.jpg", "Artist": "Glass Animals", "album": "Dreamland [Explicit]", "Titel": "Heat Waves" }, { "Art": "https://m.media-amazon.com/images/I/81ClMoKQXtL.jpg", "Artist": "Anne-Marie", "album": "Don't Play", "Titel": "Don't Play" }, { "Art": "https://m.media-amazon.com/images/I/81CZHVekd3L.jpg", "Artist": "Olly Alexander (Years & Years)", "album": "Night Call (New Year's Edition) [Explicit]", "Titel": "Sooner Or Later" }, { "Art": "https://m.media-amazon.com/images/I/51mcmSwN3yL.jpg", "Artist": "SUB-X", "album": "What You Do To Me", "Titel": "What You Do To Me" }, { "Art": "https://m.media-amazon.com/images/I/A1n4oQ6tvkL.jpg", "Artist": "Robin Schulz", "album": "Young Right Now", "Titel": "Young Right Now" }, { "Art": "https://m.media-amazon.com/images/I/71A9YljT53L.jpg", "Artist": "Kx5", "album": "Alive", "Titel": "Alive" }, { "Art": "https://m.media-amazon.com/images/I/71RMVPlE8sL.jpg", "Artist": "Topic", "album": "All Or Nothing", "Titel": "All Or Nothing" }, { "Art": "https://m.media-amazon.com/images/I/812T5aAeMRL.jpg", "Artist": "Daniel Blume", "album": "Better", "Titel": "Better" }, { "Art": "https://m.media-amazon.com/images/I/71RyhGdHj4L.jpg", "Artist": "Purple Disco Machine", "album": "Exotica (Deluxe)", "Titel": "Hypnotized" }, { "Art": "https://m.media-amazon.com/images/I/A1Aq18EMk9L.jpg", "Artist": "Fred again..", "album": "Jungle (Rico Nasty Remix) [Explicit]", "Titel": "Jungle (Rico Nasty Remix) [Explicit]" }, { "Art": "https://m.media-amazon.com/images/I/71Xcvw1W3sS.jpg", "Artist": "Becky Hill", "album": "Only Honest On The Weekend [Clean]", "Titel": "My Heart Goes (La Di Da)" }, { "Art": "https://m.media-amazon.com/images/I/91oU-LoTeBL.jpg", "Artist": "TSHA", "album": "Dancing In The Shadows", "Titel": "Dancing In The Shadows" }, { "Art": "https://m.media-amazon.com/images/I/81bZ4dEMUhL.jpg", "Artist": "Chase & Status", "album": "What Came Before [Explicit]", "Titel": "Don't Be Scared [feat. Takura]" }, { "Art": "https://m.media-amazon.com/images/I/91JwD4kecOL.jpg", "Artist": "Grafix", "album": "Half Life", "Titel": "Feel Alive" }, { "Art": "https://m.media-amazon.com/images/I/81bZ4dEMUhL.jpg", "Artist": "Chase & Status", "album": "What Came Before [Explicit]", "Titel": "When It Rains [Explicit]" }, { "Art": "https://m.media-amazon.com/images/I/71v4TvAQ7UL.jpg", "Artist": "Mabel", "album": "Overthinking [Explicit]", "Titel": "Overthinking [Explicit]" }, { "Art": "https://m.media-amazon.com/images/I/71f-F6A-SpL.jpg", "Artist": "Alesso", "album": "Words", "Titel": "Words" }, { "Art": "https://m.media-amazon.com/images/I/717MR4yRF5L.jpg", "Artist": "Fred again..", "album": "Jungle [Explicit]", "Titel": "Jungle [Explicit]" }, { "Art": "https://m.media-amazon.com/images/I/81biZj+P+GL.jpg", "Artist": "Mazzy Star", "album": "So Tonight That I Might See", "Titel": "Fade Into You" }, { "Art": "https://m.media-amazon.com/images/I/A1UJ43C7DzL.jpg", "Artist": "Tion Wayne", "album": "IFTK [Explicit]", "Titel": "IFTK [Explicit]" }, { "Art": "https://m.media-amazon.com/images/I/61SdrYe7XGL.jpg", "Artist": "Sub Focus", "album": "Ready To Fly (Sub Focus & Dimension)", "Titel": "Ready To Fly (Sub Focus & Dimension)" }, { "Art": "https://m.media-amazon.com/images/I/B1EQ4x6+cPL.jpg", "Artist": "Kx5", "album": "Take Me High", "Titel": "Take Me High" }, { "Art": "https://m.media-amazon.com/images/I/617MVZdW+9L.jpg", "Artist": "Papa Roach", "album": "Who Do You Trust? [Explicit]", "Titel": "The Ending" }, { "Art": "https://m.media-amazon.com/images/I/614X7vU4kvL.jpg", "Artist": "Swedish House Mafia", "album": "Paradise Again [Explicit]", "Titel": "Heaven Takes You Home" }, { "Art": "https://m.media-amazon.com/images/I/91WFfUhav8L.jpg", "Artist": "Fred again..", "album": "Turn On The Lights again.. (feat. Future) [Explicit]", "Titel": "Turn On The Lights again.. (feat. Future)" }, { "Art": "https://m.media-amazon.com/images/I/71nY9Fa-06L.jpg", "Artist": "Gorgon City", "album": "Dreams (Terrace Dub / Amazon Original)", "Titel": "Dreams (Terrace Dub / Amazon Original)" }, { "Art": "https://m.media-amazon.com/images/I/91859e+jTSL.jpg", "Artist": "Papa Roach", "album": "Dying To Believe", "Titel": "Dying To Believe [Explicit]" }, { "Art": "https://m.media-amazon.com/images/I/81pg+33+WiL.jpg", "Artist": "Fred again..", "album": "Actual Life 3 (January 1 - September 9 2022) [Explicit]", "Titel": "Clara (the night is dark)" }, { "Art": "https://m.media-amazon.com/images/I/81bZ4dEMUhL.jpg", "Artist": "Chase & Status", "album": "What Came Before [Explicit]", "Titel": "Mixed Emotions" }, { "Art": "https://m.media-amazon.com/images/I/81pg+33+WiL.jpg", "Artist": "Fred again..", "album": "Actual Life 3 (January 1 - September 9 2022) [Explicit]", "Titel": "Kammy (like i do)" }, { "Art": "https://m.media-amazon.com/images/I/910MrctHG9L.jpg", "Artist": "Biffy Clyro", "album": "A Celebration Of Endings [Explicit]", "Titel": "Instant History" }, { "Art": "https://m.media-amazon.com/images/I/A1LKu3twuLL.jpg", "Artist": "John Summit", "album": "Human (feat. Echoes)", "Titel": "Human (feat. Echoes)" }, { "Art": "https://m.media-amazon.com/images/I/81+lGZN8RaL.jpg", "Artist": "070 Shake", "album": "Modus Vivendi [Explicit]", "Titel": "Morrow [Explicit]" }, { "Art": "https://m.media-amazon.com/images/I/61+IZElnaJL.jpg", "Artist": "London Grammar", "album": "Californian Soil [Explicit]", "Titel": "Lose Your Head" }, { "Art": "https://m.media-amazon.com/images/I/71Zv20vA1KL.jpg", "Artist": "Sigala", "album": "Melody", "Titel": "Melody" }, { "Art": "https://m.media-amazon.com/images/I/A19aTcXcAZS.jpg", "Artist": "gardenstate", "album": "Take Me There (Falden Remix)", "Titel": "Take Me There" }, { "Art": "" } ] und dann in VIS-2 [image: 1737967156014-playlist.png] Jetzt muß ich nur noch schauen wie ich das in ein blockly bekomme
  • Rutenbeck TCR IP4 wie korrekt schalten

    5
    3
    0 Stimmen
    5 Beiträge
    1k Aufrufe
    B
    Ich habe mir folgenden JS-Code mit Hilfe von ChatGPT erstellt: const dgram = require('dgram'); const deviceIP = 'xxx.xxx.xxx.xxx'; // IP-Adresse der Zeitschaltuhr const port = 30303; // UDP-Port der Zeitschaltuhr const states = ['OUT1', 'OUT2', 'OUT3', 'OUT4']; // Zustände (ohne Temperatur) const warnCooldown = {}; // Warnungstimer für Statusabweichungen const retryAttempts = 3; // Anzahl der Wiederholungen bei Abfrageabweichungen const warnLimit = 2; // Anzahl maximaler Warnungen pro Abweichung // Datenpunkte im ioBroker erstellen states.forEach(state => { createState(`javascript.0.Zeitschaltuhr.${state}`, false, { name: `${state} Schalter`, type: 'boolean', def: false, read: true, write: true }); }); // Spezieller Datenpunkt für Temperatur createState(`javascript.0.Zeitschaltuhr.Temperatur`, 0, { name: 'Temperatur Status', type: 'mixed', def: 0, read: true, write: false }); // Funktion, um UDP-Befehl zu senden und Antwort abzurufen function sendUDPCommandAndReceive(command, callback) { const message = Buffer.from(command); const client = dgram.createSocket('udp4'); client.on('message', (msg, rinfo) => { const response = msg.toString(); // Antwort analysieren und Datenpunkte aktualisieren if (response.startsWith('T')) { const parts = response.split('='); if (parts.length > 1) { const value = parseFloat(parts[1].trim()); if (!isNaN(value)) { const currentState = getState(`javascript.0.Zeitschaltuhr.Temperatur`).val; if (value === -27) { if (currentState !== 'nicht angeschlossen') { setState(`javascript.0.Zeitschaltuhr.Temperatur`, 'nicht angeschlossen', true); } } else { if (currentState !== value) { setState(`javascript.0.Zeitschaltuhr.Temperatur`, value, true); } } } } } else { states.forEach(state => { if (response.startsWith(state)) { const parts = response.split('='); if (parts.length > 1) { const value = parseInt(parts[1].trim(), 10); if (value === 0 || value === 1) { const currentState = getState(`javascript.0.Zeitschaltuhr.${state}`).val; if (currentState !== (value === 1)) { setState(`javascript.0.Zeitschaltuhr.${state}`, value === 1, true); } } } } }); } client.close(); if (callback) callback(response); }); client.send(message, 0, message.length, port, deviceIP, (err) => { if (err) { console.error(`Fehler beim Senden: ${err.message}`); client.close(); } }); } // Funktion zur Steuerung der Ports (ein- und ausschalten) function controlPort(portNumber, state) { if (portNumber < 1 || portNumber > 4) { console.error('Ungültige Portnummer. Bitte 1 bis 4 angeben.'); return; } if (state !== 0 && state !== 1) { console.error('Ungültiger Zustand. Bitte 0 (aus) oder 1 (ein) angeben.'); return; } const command = `OUT${portNumber} ${state}`; sendUDPCommandAndReceive(command, () => { let attempts = 0; let warnings = 0; function checkStatus() { const queryCommand = `OUT${portNumber} ?`; sendUDPCommandAndReceive(queryCommand, (response) => { const parts = response.split('='); if (parts.length > 1) { const value = parseInt(parts[1].trim(), 10); if (value === state) { setState(`javascript.0.Zeitschaltuhr.OUT${portNumber}`, value === 1, true); } else { attempts++; if (attempts < retryAttempts) { setTimeout(checkStatus, 500); // Wiederholen nach 500ms } else { warnings++; if (warnings <= warnLimit) { console.warn(`Status von OUT${portNumber} stimmt nicht überein: Erwartet ${state}, erhalten ${value}`); } } } } }); } // Erste Statusprüfung nach 1 Sekunde setTimeout(checkStatus, 1000); }); } // Listener für Schalter in ioBroker states.forEach((state, index) => { on({ id: `javascript.0.Zeitschaltuhr.${state}`, change: 'any' }, (obj) => { const newState = obj.state.val ? 1 : 0; controlPort(index + 1, newState); }); }); // Funktion zur regelmäßigen Abfrage function queryStates() { states.concat('T').forEach((state) => { const command = `${state} ?`; sendUDPCommandAndReceive(command); }); } // Intervall für regelmäßige Abfragen (alle 10 Sekunden) setInterval(queryStates, 10000); // Initialer Aufruf queryStates(); Der Code ließt den aktuellen Zustand der Ports 1-4 sowie der Temperatur (Ich besitze keinen Sensor und kann die Ausgabe der Temp. nicht testen) per UDP-Protokoll und erstellt in ioBroker passende Datenpunkte. Diese können dann aus ioBroker oder VIS geschaltet werden.
  • Syntaxerror JSON Fehler abfangen

    14
    1
    0 Stimmen
    14 Beiträge
    1k Aufrufe
    P
    Quick and dirty, er soll es 2x versuchen :-) [image: 1737789632714-6dad05d7-5a1b-4489-9fd9-9759af83e876-8bf80c08-a497-4200-8b22-00d2e12cf589.png]
  • Alle Datenpunkte umziehen und Skripte automatisiert anpassen

    6
    0 Stimmen
    6 Beiträge
    652 Aufrufe
    T
    @mlapp Punkt 2 da hättest du den Datenbaum exportier können, im erhaltenen JSON die Datenpunkt ändern und wieder importieren können Sonst sie sehe ich kein vernesserungspotenzial 😊
  • Script Hilfe für Abfrage Serielle Kommunikation gesucht!

    Verschoben
    192
    0 Stimmen
    192 Beiträge
    31k Aufrufe
    Axel KoenekeA
    @spawnsen 6.0.2 = 1 6.0.3 = 1 6.0.4 = 0
  • Ulanzi T001 / AWTRIX Unwetterwarnung

    7
    3
    1 Stimmen
    7 Beiträge
    618 Aufrufe
    F
    @chefkochts Dann muss es irgendwo hier liegen: // Hilfsfunktion für Farben function setWarningColor(app, level) { const colors = { 0: { text: '#ffff00', bg: '#000000' }, 1: { text: '#ffff00', bg: '#000000' }, 2: { text: '#ffff00', bg: '#000000' }, 3: { text: '#ff0000', bg: '#000000' }, 4: { text: '#ffffff', bg: '#ff0000' }, default: { text: '#ffffff', bg: '#000000' } }; const color = colors[level] || colors.default; setState(`awtrix-light.0.apps.${app}.textColor`, color.text); setState(`awtrix-light.0.apps.${app}.backgroundColor`, color.bg); Das die Zuordnung des Level der Warnung nicht passt, aber dann sollte der default-Wert genommen werden.
  • Blockley Heizstab verschiedene Phasen bei PV-Überschuss

    3
    0 Stimmen
    3 Beiträge
    405 Aufrufe
    MaschlM
    @paul53 Danke für die schnelle Antwort, sieht sehr vielversprechend aus :-) Das werde ich ausprobieren, dauert aber eine weile bis ich dazu kommen werde
  • [Vorlage] Luftqualitätswerte abrufen

    52
    2
    3 Stimmen
    52 Beiträge
    7k Aufrufe
    BoronsbruderB
    @Rene55 hat die Luftqualitätswerte-Abfrage in einen Test Adapter Airquality [v0.1.4 GitHub/Latest] gepackt. Danke für die Arbeit!
  • Home Connect - Bosch Waschmaschine steuern

    10
    1
    0 Stimmen
    10 Beiträge
    901 Aufrufe
    mickemupM
    @hunduster [image: 1736970881796-e86bee4f-8f11-4823-a263-07973452089a-image.png] Ich mache as eigentlich genauso wie du es vorhast. Mit dem selektierten Programm "aktiv" steuern und schwups gehts los... Dies unabhänigig ob ich das per Blockly mache, oder im Objektbaum: { "type": "state", "common": { "name": "BSH_Common_Root_ActiveProgram", "type": "string", "role": "indicator", "write": true, "read": true, "states": { "Dishcare.Dishwasher.Program.Intensiv70": "Intensiv 70°C", "Dishcare.Dishwasher.Program.Auto2": "Auto 45-65°C", "Dishcare.Dishwasher.Program.Eco50": "Eco 50°C", "Dishcare.Dishwasher.Program.NightWash": "Leise", "Dishcare.Dishwasher.Program.Kurz60": "Kurz 60°C", "Dishcare.Dishwasher.Program.Glas40": "Glas 40°C", "Dishcare.Dishwasher.Program.Quick45": "Schnell 45°C", "Dishcare.Dishwasher.Program.PreRinse": "Vorspülen", "Dishcare.Dishwasher.Program.MachineCare": "Maschinenpflege" }, "unit": "" }, "native": {}, "from": "system.adapter.homeconnect.0", "user": "system.user.admin", "ts": 1736969070897, "_id": "homeconnect.0.BOSCH-SBA88TD16E-68A40E155E77.programs.active.BSH_Common_Root_ActiveProgram", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } } So sieht das Objekt aus
  • Werte aus der Cloud regelmäßig abfragen

    11
    0 Stimmen
    11 Beiträge
    920 Aufrufe
    D
    @ticaki sagte in Werte aus der Cloud regelmäßig abfragen: Und was ist damit? Das klingt vielversprechend. Ich habe mir ein Konto auf https://platform.tuya.com/ erstellt, dann bin ich aber auch schon am Ende. Die Seite ist wohl im Wesentlichen für App Entwickler und dementsprechend komplex. Wie oder wo ich da mein App-Konto verknüpfen kann oder dann eine Cloud-MQTT Verbindung herstellen kann finde ich nicht. :-(
  • Parser String umwandeln um damit rechnen zu können

    10
    3
    0 Stimmen
    10 Beiträge
    740 Aufrufe
    HomoranH
    @oliverio DANKE! jetzt fehlt noch die Antwort von @Olek_Michdoch was der Parser auswarf. Dann kann er das direkt testen.
  • Mathematik in Blockly - was übersehe ich?

    13
    1
    0 Stimmen
    13 Beiträge
    1k Aufrufe
    CodierknechtC
    @david-g sagte in Mathematik in Blockly - was übersehe ich?: Hat er doch oder? Den Code hat er mir auf Nachfrage gesendet. @David-G @BertDerKleine Sorry, glatt übersehen :-( Asche auf mein Haupt.
  • Latenztest/Verzögerung mit Zeitstempel berechnen

    4
    1
    0 Stimmen
    4 Beiträge
    446 Aufrufe
    R
    @meister-mopper sagte in Latenztest/Verzögerung mit Zeitstempel berechnen: @roelli sagte in Latenztest/Verzögerung mit Zeitstempel berechnen: Als so eine Art Gesundheitszustand. Weil teilweise das Licht mal erst nach 15 Sekunden eingeschaltet wird. Es könnte auch der Gesundheitszustand des Systems sein. 15 Sekunden ist nämlich unterirdisch und absolut unüblich. Was sagen top und iob diag (bitte die Langfassung in </> codetags hier rein stellen) in der Konsole? [image: 1736616410411-top.jpg] [image: 1736616415103-htop.jpg] ```bash Script v.2024-10-19 *** BASE SYSTEM *** Static hostname: iobroker-lxc Icon name: computer-container Chassis: container Virtualization: lxc Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.8.8-1-pve Architecture: x86-64 OS is similar to: model name : Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz Docker : false Virtualization : lxc Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 18:30:27 up 3 days, 21:37, 1 user, load average: 6.91, 6.22, 5.70 CPU threads: 8 *** LIFE CYCLE STATUS *** Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time! *** TIME AND TIMEZONES *** Local time: Sat 2025-01-11 18:30:27 CET Universal time: Sat 2025-01-11 17:30:27 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev redis bluetooth User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev redis bluetooth A default user should be created! This user will be enabled to temporarily switch to root via 'sudo'! A root login is not required in most Linux Distributions. Run 'iobroker fix' or use the system tools to create a user. *** DISPLAY-SERVER SETUP *** Display-Server: false Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 16G 8.0G 8.0G 0.0K 342M 8.6G Swap: 0B 0B 0B Total: 16G 8.0G 8.0G Active iob-Instances: 57 16384 M total memory 8045 M used memory 8114 M active memory 0 M inactive memory 7995 M free memory 0 M buffer memory 342 M swap cache 0 M total swap 0 M used swap 0 M free swap *** top - Table Of Processes *** top - 18:30:28 up 3 days, 21:37, 1 user, load average: 6.91, 6.22, 5.70 Tasks: 119 total, 4 running, 115 sleeping, 0 stopped, 0 zombie %Cpu(s): 51.9 us, 4.7 sy, 0.0 ni, 42.6 id, 0.0 wa, 0.0 hi, 0.8 si, 0.0 st MiB Mem : 16384.0 total, 7995.5 free, 8046.1 used, 342.4 buff/cache MiB Swap: 0.0 total, 0.0 free, 0.0 used. 8646.5 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * run-rpc_pipefs.mount loaded failed failed RPC Pipe File System * sys-kernel-config.mount loaded failed failed Kernel Configuration File System * nut-driver.service loaded failed failed Network UPS Tools - power device driver controller * nut-monitor.service loaded failed failed Network UPS Tools - power device monitor and shutdown controller * systemd-journald-audit.socket loaded failed failed Journal Audit Socket LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 5 loaded units listed. *** DMESG CRITICAL ERRORS *** dmesg: read kernel buffer failed: Operation not permitted No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on rpool/data/subvol-201-disk-0 zfs 64G 16G 49G 24% / none tmpfs 492K 4.0K 488K 1% /dev udev devtmpfs 16G 0 16G 0% /dev/tty tmpfs tmpfs 16G 0 16G 0% /dev/shm tmpfs tmpfs 6.3G 480K 6.3G 1% /run tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 3.2G 0 3.2G 0% /run/user/0 tmpfs tmpfs 3.2G 0 3.2G 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / rpool/data/subvol-201-disk-0 zfs rw,relatime,xattr,posixacl,casesensitive Files in neuralgic directories: /var: 7.7G /var/ 6.8G /var/lib 5.4G /var/lib/docker 3.6G /var/lib/docker/containers/66af97a102d568e200f457413a4542fc75b1add1081eb2cd0a8d88ba309befcd 3.6G /var/lib/docker/containers Hint: You are currently not seeing messages from other users and the system. Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to turn off this notice. Archived and active journals take up 90.4M in the file system. /opt/iobroker/backups: 460M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 665M /opt/iobroker/iobroker-data/ 287M /opt/iobroker/iobroker-data/files 189M /opt/iobroker/iobroker-data/backup-objects 146M /opt/iobroker/iobroker-data/esphome.0/.esphome 146M /opt/iobroker/iobroker-data/esphome.0 The five largest files in iobroker-data are: find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to change directory: /root: Permission denied find: Failed to restore initial working directory: /root: Permission denied USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' HINT: Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting: tcp HINT: Your zigbee.1 COM-Port is NOT matching 'by-id'. Please check your setting: tcp *** NodeJS-Installation *** /usr/bin/nodejs v20.18.1 /usr/bin/node v20.18.1 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.4 nodejs: Installed: 20.18.1-1nodesource1 Candidate: 20.18.1-1nodesource1 Version table: *** 20.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 12.22.12~dfsg-1~deb11u5 500 500 http://security.debian.org bullseye-security/main amd64 Packages 12.22.12~dfsg-1~deb11u4 500 500 http://ftp.debian.org/debian bullseye/main amd64 Packages find: Failed to restore initial working directory: /root: Permission denied Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. At least one iobroker host is running. Objects type: redis States type: redis Hosts: iobroker-lxc iobroker-lxc (version: 7.0.6, hostname: iobroker-lxc , alive, uptime: 337054) Core adapters versions js-controller: 7.0.6 admin: 7.4.10 javascript: 8.8.3 nodejs modules from github: 3 +-- iobroker.admin-mono@ (git+ssh://git@github.com/ioBroker/ioBroker.admin.git#4bc4babcf524300e7ac34558060b779252e368aa) +-- iobroker.life360@0.2.22 (git+ssh://git@github.com/MiGoller/ioBroker.life360.git#23166aab1b2e36d917a9b7b480d9faa7f73ca2d1) +-- iobroker.onvif-alt@0.2.0 (git+ssh://git@github.com/Jey-Cee/iobroker.onvif-alt.git#f524cdbc00567a3351217272ab5af29d9947c967) Adapter State + system.adapter.admin.0 : admin : iobroker-lxc - enabled, port: 7777, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : iobroker-lxc - enabled system.adapter.alias-manager.0 : alias-manager : iobroker-lxc - enabled system.adapter.artnet.0 : artnet : iobroker-lxc - disabled, port: 6454 + system.adapter.backitup.0 : backitup : iobroker-lxc - enabled + system.adapter.bring.0 : bring : iobroker-lxc - enabled system.adapter.cameras.0 : cameras : iobroker-lxc - disabled, port: 8200, bind: 127.0.0.1 + system.adapter.cloud.0 : cloud : iobroker-lxc - enabled system.adapter.countdown.0 : countdown : iobroker-lxc - disabled + system.adapter.daikin-cloud.0 : daikin-cloud : iobroker-lxc - enabled + system.adapter.daikin.0 : daikin : iobroker-lxc - enabled + system.adapter.daikin.1 : daikin : iobroker-lxc - enabled + system.adapter.daikin.2 : daikin : iobroker-lxc - enabled + system.adapter.daikin.3 : daikin : iobroker-lxc - enabled + system.adapter.daikin.4 : daikin : iobroker-lxc - enabled system.adapter.daswetter.0 : daswetter : iobroker-lxc - enabled + system.adapter.device-reminder.0 : device-reminder : iobroker-lxc - enabled + system.adapter.device-watcher.0 : device-watcher : iobroker-lxc - enabled + system.adapter.ecovacs-deebot.0 : ecovacs-deebot : iobroker-lxc - enabled + system.adapter.email.0 : email : iobroker-lxc - enabled + system.adapter.fakeroku.0 : fakeroku : iobroker-lxc - enabled + system.adapter.followthesun.0 : followthesun : iobroker-lxc - enabled system.adapter.fullybrowser.0 : fullybrowser : iobroker-lxc - disabled + system.adapter.harmony.0 : harmony : iobroker-lxc - enabled system.adapter.hass.0 : hass : iobroker-lxc - disabled, port: 8123 system.adapter.heatingcontrol.0 : heatingcontrol : iobroker-lxc - disabled + system.adapter.hikvision-alarmserver.0 : hikvision-alarmserver : iobroker-lxc - enabled, port: 8089, bind: 192.168.64.3 system.adapter.history.0 : history : iobroker-lxc - disabled system.adapter.ical.0 : ical : iobroker-lxc - enabled system.adapter.iceroad.0 : iceroad : iobroker-lxc - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iobroker-lxc - enabled + system.adapter.influxdb.0 : influxdb : iobroker-lxc - enabled, port: 8086 + system.adapter.iot.0 : iot : iobroker-lxc - enabled + system.adapter.javascript.0 : javascript : iobroker-lxc - enabled + system.adapter.javascript.1 : javascript : iobroker-lxc - enabled system.adapter.life360.0 : life360 : iobroker-lxc - disabled + system.adapter.meater.0 : meater : iobroker-lxc - enabled + system.adapter.mielecloudservice.0 : mielecloudservice : iobroker-lxc - enabled + system.adapter.modbus.0 : modbus : iobroker-lxc - enabled + system.adapter.mqtt.0 : mqtt : iobroker-lxc - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.net-tools.0 : net-tools : iobroker-lxc - enabled system.adapter.netatmo-crawler.0 : netatmo-crawler : iobroker-lxc - enabled + system.adapter.netatmo-energy.0 : netatmo-energy : iobroker-lxc - enabled + system.adapter.netatmo-energy.1 : netatmo-energy : iobroker-lxc - enabled + system.adapter.netatmo-energy.2 : netatmo-energy : iobroker-lxc - enabled + system.adapter.netatmo-energy.3 : netatmo-energy : iobroker-lxc - enabled + system.adapter.nina.0 : nina : iobroker-lxc - enabled + system.adapter.notification-manager.0 : notification-manager : iobroker-lxc - enabled system.adapter.odl.0 : odl : iobroker-lxc - enabled + system.adapter.onvif.0 : onvif : iobroker-lxc - enabled, port: 80, 7575, 8000, 8080, 8081, 8899 system.adapter.parser.1 : parser : iobroker-lxc - disabled + system.adapter.ping.0 : ping : iobroker-lxc - enabled system.adapter.proxmox.0 : proxmox : iobroker-lxc - disabled, port: 8006 system.adapter.proxmox.1 : proxmox : iobroker-lxc - disabled, port: 8006 system.adapter.pushover.0 : pushover : iobroker-lxc - disabled system.adapter.radar2.0 : radar2 : iobroker-lxc - disabled system.adapter.scenes.0 : scenes : iobroker-lxc - disabled system.adapter.schoolfree.0 : schoolfree : iobroker-lxc - enabled + system.adapter.shelly.0 : shelly : iobroker-lxc - enabled, port: 1882, bind: 0.0.0.0 system.adapter.shuttercontrol.0 : shuttercontrol : iobroker-lxc - disabled + system.adapter.simple-api.0 : simple-api : iobroker-lxc - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : iobroker-lxc - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.sourceanalytix.0 : sourceanalytix : iobroker-lxc - enabled + system.adapter.telegram.0 : telegram : iobroker-lxc - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.text2command.0 : text2command : iobroker-lxc - enabled + system.adapter.time-switch.0 : time-switch : iobroker-lxc - enabled system.adapter.tr-064.0 : tr-064 : iobroker-lxc - disabled system.adapter.tractive-gps.0 : tractive-gps : iobroker-lxc - disabled + system.adapter.trashschedule.0 : trashschedule : iobroker-lxc - enabled + system.adapter.tuya.0 : tuya : iobroker-lxc - enabled + system.adapter.unifi.0 : unifi : iobroker-lxc - enabled + system.adapter.vds2465-server.0 : vds2465-server : iobroker-lxc - enabled system.adapter.vis-2-widgets-inventwo.0 : vis-2-widgets-inventwo: iobroker-lxc - enabled + system.adapter.vis-2.0 : vis-2 : iobroker-lxc - enabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : iobroker-lxc - enabled system.adapter.vis-icontwo.0 : vis-icontwo : iobroker-lxc - enabled + system.adapter.vis-inventwo.0 : vis-inventwo : iobroker-lxc - enabled system.adapter.vis-justgage.0 : vis-justgage : iobroker-lxc - enabled system.adapter.vis.0 : vis : iobroker-lxc - enabled + system.adapter.web.0 : web : iobroker-lxc - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.web.1 : web : iobroker-lxc - enabled, port: 8083, bind: 0.0.0.0, run as: admin + system.adapter.windows-control.0 : windows-control : iobroker-lxc - enabled + system.adapter.wled.0 : wled : iobroker-lxc - enabled + system.adapter.ws.0 : ws : iobroker-lxc - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.yahka.1 : yahka : iobroker-lxc - enabled system.adapter.yr.0 : yr : iobroker-lxc - enabled + system.adapter.zigbee.0 : zigbee : iobroker-lxc - enabled, port: tcp://192.168.64.6:20108 system.adapter.zigbee.1 : zigbee : iobroker-lxc - disabled, port: tcp://192.168.72.0:6638 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker-lxc - enabled, port: 7777, bind: 0.0.0.0, run as: admin + system.adapter.hikvision-alarmserver.0 : hikvision-alarmserver : iobroker-lxc - enabled, port: 8089, bind: 192.168.64.3 + system.adapter.influxdb.0 : influxdb : iobroker-lxc - enabled, port: 8086 + system.adapter.mqtt.0 : mqtt : iobroker-lxc - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.onvif.0 : onvif : iobroker-lxc - enabled, port: 80, 7575, 8000, 8080, 8081, 8899 + system.adapter.shelly.0 : shelly : iobroker-lxc - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : iobroker-lxc - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : iobroker-lxc - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : iobroker-lxc - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : iobroker-lxc - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.web.1 : web : iobroker-lxc - enabled, port: 8083, bind: 0.0.0.0, run as: admin + system.adapter.ws.0 : ws : iobroker-lxc - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : iobroker-lxc - enabled, port: tcp://192.168.64.6:20108 ioBroker-Repositories ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'stable' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'beta' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): stable Upgrade policy: none Installed ioBroker-Instances Used repository: stable Adapter "adguard" : 1.0.1 , installed 1.0.1 Adapter "admin" : 7.4.10 , installed 7.4.10 Adapter "alexa2" : 3.26.5 , installed 3.26.5 Adapter "alias-manager": 2.0.0 , installed 2.0.0 Adapter "artnet" : 1.2.2 , installed 1.2.2 Adapter "backitup" : 3.0.31 , installed 3.0.31 Adapter "ble" : 0.14.0 , installed 0.14.0 Adapter "bring" : 1.8.4 , installed 1.8.4 Adapter "cameras" : 2.1.2 , installed 2.1.2 Adapter "cloud" : 5.0.1 , installed 5.0.1 Adapter "coronavirus-statistics": 0.9.0, installed 0.9.0 Adapter "countdown" : 2.3.0 , installed 2.3.0 Adapter "daikin" : 1.4.2 , installed 1.4.2 Adapter "daikin-cloud" : 0.4.11 , installed 0.4.11 Adapter "daswetter" : 3.2.2 , installed 3.2.2 Adapter "device-reminder": 3.1.2 , installed 3.1.2 Adapter "device-watcher": 2.12.1 , installed 2.12.1 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "doorio" : 2.1.5 , installed 2.1.5 Adapter "drag-indicator": 2.3.0 , installed 2.3.0 Adapter "ecovacs-deebot": 1.4.15 , installed 1.4.15 Adapter "email" : 1.3.1 , installed 1.3.1 Adapter "fakeroku" : 0.3.0 , installed 0.3.0 Adapter "flot" : 1.12.0 , installed 1.12.0 Adapter "followthesun" : 0.5.1 , installed 0.5.1 Adapter "fullybrowser" : 3.0.12 , installed 3.0.12 Adapter "geofency" : 1.2.4 , installed 1.2.4 Adapter "habpanel" : 0.5.0 , installed 0.5.0 Adapter "harmony" : 1.5.0 , installed 1.5.0 Adapter "hass" : 1.4.0 , installed 1.4.0 Adapter "heatingcontrol": 2.12.13 , installed 2.12.13 Adapter "hikvision-alarmserver": 0.1.0, installed 0.1.0 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "ical" : 1.16.1 , installed 1.16.1 Adapter "iceroad" : 1.2.1 , installed 1.2.1 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 4.0.2 , installed 4.0.2 Adapter "iot" : 3.3.0 , installed 3.3.0 Adapter "javascript" : 8.8.3 , installed 8.8.3 Controller "js-controller": 7.0.6 , installed 7.0.6 Adapter "material" : 1.3.1 , installed 1.3.1 Adapter "meater" : 1.1.1 , installed 1.1.1 Adapter "mielecloudservice": 6.5.7, installed 6.5.7 Adapter "modbus" : 6.3.2 , installed 6.3.2 Adapter "mqtt" : 6.1.2 , installed 6.1.2 Adapter "net-tools" : 1.0.11 , installed 1.0.11 Adapter "netatmo-crawler": 0.8.1 , installed 0.8.1 Adapter "netatmo-energy": 2.7.3 , installed 2.7.3 Adapter "nina" : 0.0.25 , installed 0.0.25 Adapter "notification-manager": 1.2.1, installed 1.2.1 Adapter "nut" : 1.6.0 , installed 1.6.0 Adapter "odl" : 4.0.2 , installed 4.0.2 Adapter "onvif" : 1.1.4 , installed 1.1.4 Adapter "parser" : 2.2.4 , installed 2.2.4 Adapter "pegelalarm" : 1.3.6 , installed 1.3.6 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "proxmox" : 2.3.0 , installed 2.3.0 Adapter "pushover" : 4.1.0 , installed 4.1.0 Adapter "radar2" : 2.2.0 , installed 2.2.0 Adapter "scenes" : 3.2.3 , installed 3.2.3 Adapter "schoolfree" : 1.1.6 , installed 1.1.6 Adapter "shelly" : 8.5.1 , installed 8.5.1 Adapter "shuttercontrol": 1.8.5 , installed 1.8.5 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.1 , installed 6.7.1 Adapter "sonoff" : 3.1.2 , installed 3.1.2 Adapter "telegram" : 3.9.0 , installed 3.9.0 Adapter "terminal" : 1.0.0 , installed 1.0.0 Adapter "text2command" : 3.0.3 , installed 3.0.3 Adapter "tr-064" : 4.3.0 , installed 4.3.0 Adapter "traccar" : 1.1.6 , installed 1.1.6 Adapter "tractive-gps" : 2.1.0 , installed 2.1.0 Adapter "trashschedule": 3.3.0 , installed 3.3.0 Adapter "tuya" : 3.16.0 , installed 3.16.0 Adapter "tvprogram" : 2.1.0 , installed 2.1.0 Adapter "tvspielfilm" : 2.1.0 , installed 2.1.0 Adapter "unifi" : 0.7.0 , installed 0.7.0 Adapter "upnp" : 1.1.0 , installed 1.1.0 Adapter "vds2465-server": 1.0.0 , installed 1.0.0 Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "vis-2" : 2.9.64 , installed 2.9.64 Adapter "vis-2-widgets-inventwo": 0.1.11, installed 0.1.11 Adapter "vis-canvas-gauges": 1.0.1, installed 1.0.1 Adapter "vis-colorpicker": 2.0.3 , installed 2.0.3 Adapter "vis-hqwidgets": 1.5.1 , installed 1.5.1 Adapter "vis-icontwo" : 1.11.0 , installed 1.6.3 [Updatable] Adapter "vis-inventwo" : 3.3.4 , installed 3.3.4 Adapter "vis-jqui-mfd" : 1.1.1 , installed 1.1.1 Adapter "vis-justgage" : 2.1.7 , installed 2.1.7 Adapter "vis-map" : 1.1.2 , installed 1.1.2 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "windows-control": 0.1.5 , installed 0.1.5 Adapter "wled" : 0.7.2 , installed 0.7.2 Adapter "ws" : 2.6.2 , installed 2.6.2 Adapter "yahka" : 1.0.3 , installed 1.0.3 Adapter "yr" : 5.3.0 , installed 5.3.0 Adapter "zigbee" : 1.10.14 , installed 1.10.14 Adapter "zwave2" : 3.1.0 , installed 3.1.0 Objects and States Please stand by - This may take a while Objects: 290543 States: 165115 *** OS-Repositories and Updates *** Hit:1 http://ftp.debian.org/debian bullseye InRelease Hit:2 http://security.debian.org bullseye-security InRelease Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease Hit:4 https://download.docker.com/linux/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease Hit:6 https://packages.redis.io/deb bullseye InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:8086 0.0.0.0:* LISTEN 0 1064837313 557/docker-proxy tcp 0 0 0.0.0.0:4100 0.0.0.0:* LISTEN 1000 1064848955 1816/io.vds2465-ser tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 104 1064827809 122/systemd-resolve tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 104 1064827803 122/systemd-resolve tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN 0 1064832800 642/docker-proxy tcp 0 0 192.168.64.3:9093 0.0.0.0:* LISTEN 1000 1064838355 1420/io.fakeroku.0 tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 1064832300 1/init tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1000 1064840144 1553/io.mqtt.0 tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1000 1064846774 1728/io.sonoff.0 tcp 0 0 192.168.64.3:8089 0.0.0.0:* LISTEN 1000 1064851585 2022/io.hikvision-a tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 110 1064832457 155/redis-server 12 tcp 0 0 127.0.0.1:34757 0.0.0.0:* LISTEN 1000 1064862872 2418/io.yahka.1 tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 1064832522 365/master tcp 0 0 0.0.0.0:8765 0.0.0.0:* LISTEN 0 1064826066 534/docker-proxy tcp 0 0 127.0.0.1:3493 0.0.0.0:* LISTEN 0 1064846541 1759/upsd tcp 0 0 0.0.0.0:41011 0.0.0.0:* LISTEN 1000 1064857178 2418/io.yahka.1 tcp 0 0 0.0.0.0:10001 0.0.0.0:* LISTEN 0 1064834543 549/docker-proxy tcp 0 0 0.0.0.0:10002 0.0.0.0:* LISTEN 0 1064834551 564/docker-proxy tcp 0 0 0.0.0.0:10003 0.0.0.0:* LISTEN 0 1064826073 596/docker-proxy tcp 0 0 0.0.0.0:10004 0.0.0.0:* LISTEN 0 1064834561 612/docker-proxy tcp 0 0 0.0.0.0:10005 0.0.0.0:* LISTEN 0 1064834572 634/docker-proxy tcp6 0 0 :::8082 :::* LISTEN 1000 1069858027 40890/io.web.0 tcp6 0 0 :::8083 :::* LISTEN 1000 1069861323 40889/io.web.1 tcp6 0 0 :::8084 :::* LISTEN 1000 1064852058 2407/io.ws.0 tcp6 0 0 :::8086 :::* LISTEN 0 1064837318 572/docker-proxy tcp6 0 0 :::8087 :::* LISTEN 1000 1064854009 2162/io.simple-api. tcp6 0 0 ::1:25 :::* LISTEN 0 1064832523 365/master tcp6 0 0 :::8000 :::* LISTEN 0 1064835476 809/portainer tcp6 0 0 :::7777 :::* LISTEN 1000 1064834910 1049/io.admin.0 tcp6 0 0 ::1:3493 :::* LISTEN 0 1064846542 1759/upsd tcp6 0 0 :::5355 :::* LISTEN 104 1064827806 122/systemd-resolve tcp6 0 0 :::3000 :::* LISTEN 0 1064833566 667/docker-proxy tcp6 0 0 :::22 :::* LISTEN 0 1064779650 1/init tcp6 0 0 :::111 :::* LISTEN 0 1064832302 1/init tcp6 0 0 ::1:6379 :::* LISTEN 110 1064832458 155/redis-server 12 tcp6 0 0 :::61991 :::* LISTEN 1000 1064838392 1466/io.harmony.0 tcp6 0 0 :::41741 :::* LISTEN 1000 1064854478 2418/io.yahka.1 tcp6 0 0 :::8765 :::* LISTEN 0 1064836504 541/docker-proxy tcp6 0 0 :::10001 :::* LISTEN 0 1064834546 555/docker-proxy tcp6 0 0 :::10002 :::* LISTEN 0 1064832789 579/docker-proxy tcp6 0 0 :::10003 :::* LISTEN 0 1064834556 603/docker-proxy tcp6 0 0 :::10004 :::* LISTEN 0 1064834567 624/docker-proxy tcp6 0 0 :::10005 :::* LISTEN 0 1064834577 645/docker-proxy tcp6 0 0 :::9443 :::* LISTEN 0 1064835480 809/portainer udp 0 0 127.0.0.53:53 0.0.0.0:* 104 1064827808 122/systemd-resolve udp 0 0 0.0.0.0:111 0.0.0.0:* 0 1064832301 1/init udp 0 0 0.0.0.0:1900 0.0.0.0:* 1000 1064838356 1420/io.fakeroku.0 udp 0 0 0.0.0.0:34706 0.0.0.0:* 1000 1090416276 1717/io.shelly.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1000 1064854479 2418/io.yahka.1 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1000 1064857175 2418/io.yahka.1 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1000 1064854958 2396/io.wled.0 udp 0 0 0.0.0.0:5355 0.0.0.0:* 104 1064827802 122/systemd-resolve udp 0 0 0.0.0.0:5683 0.0.0.0:* 1000 1064855597 1717/io.shelly.0 udp 0 0 0.0.0.0:6666 0.0.0.0:* 1000 1064826796 1762/io.tuya.0 udp 0 0 0.0.0.0:6667 0.0.0.0:* 1000 1064826797 1762/io.tuya.0 udp 0 0 0.0.0.0:61991 0.0.0.0:* 1000 1064838393 1466/io.harmony.0 udp6 0 0 :::111 :::* 0 1064832303 1/init udp6 0 0 :::5355 :::* 104 1064827805 122/systemd-resolve *** Log File - Last 25 Lines *** 2025-01-11 18:30:07.546 - info: netatmo-crawler.0 (206367) Getting data for stationid:70:ee:50:74:3e:4c 2025-01-11 18:30:10.194 - info: netatmo-crawler.0 (206367) Terminated (ADAPTER_REQUESTED_TERMINATION): Everything done. Going to terminate till next schedule 2025-01-11 18:30:10.715 - info: host.iobroker-lxc instance system.adapter.netatmo-crawler.0 having pid 206367 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2025-01-11 18:30:27.559 - error: netatmo-energy.0 (1579) API-Anfrage nicht OK: 2025-01-11 18:30:32.636 - error: netatmo-energy.1 (1594) API-Anfrage nicht OK: 2025-01-11 18:30:41.046 - info: netatmo-energy.2 (1614) API-Anfrage starten: homesdata 2025-01-11 18:30:41.196 - error: netatmo-energy.2 (1614) API-Anfrage nicht OK: 2025-01-11 18:30:41.198 - info: netatmo-energy.2 (1614) API-Anfrage starten: homestatus 2025-01-11 18:30:41.456 - info: netatmo-energy.2 (1614) Method "deleteChannel" is deprecated and will be removed in js-controller 7.1, use "delObject" instead 2025-01-11 18:30:47.926 - info: netatmo-energy.3 (1630) API-Anfrage starten: homesdata 2025-01-11 18:30:48.050 - error: netatmo-energy.3 (1630) API-Anfrage nicht OK: 2025-01-11 18:30:48.051 - warn: telegram.0 (1223) 1 of 1 recipients are unknown! 2025-01-11 18:30:48.055 - info: netatmo-energy.3 (1630) API-Anfrage starten: homestatus 2025-01-11 18:30:48.247 - info: netatmo-energy.3 (1630) Method "deleteChannel" is deprecated and will be removed in js-controller 7.1, use "delObject" instead 2025-01-11 18:30:53.013 - info: host.iobroker-lxc instance system.adapter.daswetter.0 in version "3.2.2" started with pid 206736 2025-01-11 18:30:55.765 - info: daswetter.0 (206736) starting. Version 3.2.2 in /opt/iobroker/node_modules/iobroker.daswetter, node: v20.18.1, js-controller: 7.0.6 2025-01-11 18:31:00.451 - info: daswetter.0 (206736) Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment 2025-01-11 18:31:00.964 - info: daswetter.0 (206736) cleaned everything up... 2025-01-11 18:31:00.991 - info: host.iobroker-lxc instance system.adapter.daswetter.0 having pid 206736 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2025-01-11 18:31:27.465 - error: netatmo-energy.0 (1579) API-Anfrage nicht OK: 2025-01-11 18:31:32.600 - error: netatmo-energy.1 (1594) API-Anfrage nicht OK: 2025-01-11 18:31:41.047 - info: netatmo-energy.2 (1614) API-Anfrage starten: homesdata 2025-01-11 18:31:41.167 - error: netatmo-energy.2 (1614) API-Anfrage nicht OK: 2025-01-11 18:31:41.169 - info: netatmo-energy.2 (1614) API-Anfrage starten: homestatus 2025-01-11 18:31:41.318 - info: netatmo-energy.2 (1614) Method "deleteChannel" is deprecated and will be removed in js-controller 7.1, use "delObject" instead
  • Alias Umwandlung bei JSON mit "null" bereitet Probleme

    javascript blockly
    19
    1
    0 Stimmen
    19 Beiträge
    2k Aufrufe
    C
    @paul53 @mickym Ich hab die Varianten jetzt laufen lassen und die Variante von @mickym funktioniert. Bei der anderen Variante kommt dann wieder "null" und die Fehlermeldung, Danke für die Hilfe.
  • [gelöst] Javascript: nicht erwünschte Einträge im Log

    10
    0 Stimmen
    10 Beiträge
    682 Aufrufe
    Rene55R
    @paul53 sagte in Javascript: nicht erwünschte Einträge im Log: Verbose- Ja Danke, das wars. Ich hab überall woanders gesucht - nur da oben nicht. Jetzt ist das Log friedlich. Danke euch beiden.
  • Selector mit variabler Raumbezeichnung

    22
    1
    0 Stimmen
    22 Beiträge
    2k Aufrufe
    paul53P
    @tobib sagte: Raum A und Raum B hin oder Raum "Haus" außer Raum "Schlafzimmer" Das geht mit dem Selektor nicht. Wenn aber die Alias-ID den Raum enthält, kann man leicht in der Schleife filtern.
  • Neustart vom IoBroker sowie einen kompletten Reboot über die VIS mit Blockly

    Verschoben
    39
    0 Stimmen
    39 Beiträge
    31k Aufrufe
    L
    @michihorn , auch das Video von relaxedhome.de kenne ich ... das habe ich gelesen, bevor ich in diesem Thread gelandet bin.. Aber beide Vorgehensweisen - auch bei denen in anderen Beiträgen in diesem Forum und jenseits dessen sind sehr rigoros.. Bis auf in diesem Beitrag (https://forum.iobroker.net/post/106607), in dem man erst der IOBroker gstoppt wird bevor man die PI runterfährt oder rebootet. Das Skript gemäß dem Entrag vom 20. August 2020 habe ich dementsprechend ergänzt. Mein PI stopt den IOBroker und fährts erst dann herunter. Das funktioniert aber wie beschrieben nicht beim Upgrade des IOBrokers selber weil man in Summe mehre Befehle hat - siehe oben (und auch hier https://hobbyblogging.de/iobroker-update). Und da sehe ich ihalt m Moment nur die Variante via eines Abarbeitung durch ein BASH
  • Funktion läuft mehrfach. Wie stopen?

    4
    2
    0 Stimmen
    4 Beiträge
    391 Aufrufe
    CodierknechtC
    @juergschwarz sagte in Funktion läuft mehrfach. Wie stopen?: rufe ich eine Funktion auf, die nichts anderes macht als die Variable "active" auf wahr zu setzen? Das soll lediglich ein mögliches Prinzip darstellen. Der (oder die) Trigger müssen auf jeden Fall aus den Funktionen raus. https://forum.iobroker.net/topic/70481/blockly-for-dummies-starthilfe-und-tipps
  • Script für Mondphase

    3
    0 Stimmen
    3 Beiträge
    316 Aufrufe
    Berges01B
    @paul53 Besten Dank ! Das funktioniert Gut, jetzt kann ich weiter machen und habe eine Vorlage.

633

Online

32.7k

Benutzer

82.5k

Themen

1.3m

Beiträge