Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Log Parser 2.4.x Latest

    NEWS

    • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    Test Adapter Log Parser 2.4.x Latest

    This topic has been deleted. Only users with topic management privileges can see it.
    • AFi
      AFi @mcm1957 last edited by

      @mcm1957 Hi, mir ist aber nicht klar, warum es bis vor ca. 2 Wochen gelaufen ist und dann auf einmal nicht mehr. Der Log Parser lief mindestens 3 Jahre (hoffe ich hab mich in der Zeit nicht verhauen). VG Axel

      mcm1957 2 Replies Last reply Reply Quote 0
      • mcm1957
        mcm1957 @AFi last edited by

        @afi
        möglicherweise hast du zu dem Zeitpunkt etwas deinstalliert oder aktualosiert u npm hat das nicht referenzierte Paket da weggeräumt.

        1 Reply Last reply Reply Quote 0
        • mcm1957
          mcm1957 @AFi last edited by

          @afi

          Release 2.3.0 wurde eben erstellt und sollte ab morgen im LATEST / BETA Repository verfügbar sein. Änderungen siehe Releasenotes in README.md bzw. 1. Beitrag.

          Bitte mal testen obs damit besser geht.

          AFi 1 Reply Last reply Reply Quote 1
          • Nashra
            Nashra Most Active Forum Testing last edited by Nashra

            V 2.2.2
            Jetzt habe ich wieder das leidige Thema mit Heute, Gestern, Uhrzeit.
            Hatte die Tage 3 Adapter (Accuweather, Pegelalarm, Yr.no) deinstalliert
            und danach fing es wieder an. Ok, installieren wir mal die neue Beta 2.3.0,
            aber leider damit das selbe Problem 😞
            Was können wir tun?

            1 Reply Last reply Reply Quote 0
            • E
              eitljoerggmx.at last edited by

              Hallo!

              Ich versuche Logeinträge in verschiedenen Farben dazustellen, schaffe es aber nicht, da ich keinen Weg finde.
              Toll wäre, wenn bei Logeinträgen nach Begriffen gesucht werden könnte und dann die entsprechende Farbe für den gesamten Logeintrag anpassbar wäre.
              Als Beispiel: Ein Logeintrag enthält den Begriff "Klimaanlage". Der gesamte Logtext wird dann in der gewählten Farbe ausgegeben.

              Kennt da jemand einen Weg?

              Liebe Grüße

              1 Reply Last reply Reply Quote 0
              • AFi
                AFi @mcm1957 last edited by

                @mcm1957 Hi, wann kommt den die Release 2.3....

                mcm1957 1 Reply Last reply Reply Quote 0
                • mcm1957
                  mcm1957 @AFi last edited by

                  @afi
                  2.3.0 Ist seit 2.3.25 wie im ersten Post beschrieben im LATEST / BETA Repository verfügbar.

                  1 Reply Last reply Reply Quote 0
                  • arteck
                    arteck Developer Most Active last edited by

                    @nashra sagte in Test Adapter Log Parser 2.3.x Latest:

                    das leidige Thema mit Heute, Gestern, Uhrzeit.

                    sollte behoben sein .. bitte von GIT installieren

                    https://github.com/iobroker-community-adapters/ioBroker.logparser/tarball/todayProblem
                    

                    hier mal lesen
                    https://github.com/iobroker-community-adapters/ioBroker.logparser/issues/178#issuecomment-2953704381

                    weindler created this issue in iobroker-community-adapters/ioBroker.logparser

                    closed Datumsformat wird nicht richtig umgewandelt #178

                    Nashra 1 Reply Last reply Reply Quote 3
                    • Nashra
                      Nashra Most Active Forum Testing @arteck last edited by

                      @arteck
                      ja, hatte ich schon gelesen da von github Benachrichtigung bekommen.
                      Habs installiert, bis jetzt ok. Vielen Dank 👍
                      Und das es am löschen Button gelegen hat wäre ich nie drauf gekommen
                      und was haben wir alles vermutet, wahnsinn 😀

                      1 Reply Last reply Reply Quote 1
                      • Negalein
                        Negalein Global Moderator last edited by Negalein

                        Hallo

                        Seit gestern wird nichts von Alexa vom Logparser 2.4.0 geloggt.

                        Einstellungen sind identisch wie vorher.

                        Was kann da hängen?

                        b265638c-f0f7-4b6d-8c82-2fc33dd4b92f-image.png

                        a5b4c176-808e-413c-8d65-4963801abb79-image.png

                        /******************************************************************************************************
                         * JavaScript Adapter Script for Log-Parser-Adapter: https://github.com/Mic-M/ioBroker.logparser
                         * --------------------------------------------------------------
                         * Purpose: Get the history of all spoken Alexa commands into the log
                         *          Required: Alexa adapter - https://github.com/Apollon77/ioBroker.alexa2
                         * Source:  https://github.com/Mic-M/ioBroker.logparser
                         * Autor:   Mic-M (Github) | Mic (ioBroker)
                         * --------------------------------------------------------------------------------------
                         * Change Log:
                         *  1.0.0  ciddi89 * Added try/catch to fix error
                         *  1.0.0  Mic-M   * Adoption to Log Parser Adapter
                         *  0.1.0  Mic-M   * Initial release (for Log Script - https://github.com/Mic-M/iobroker.logfile-script).
                         ******************************************************************************************************/
                        
                        /******************************************************************************************************
                         * Script Settings
                         ******************************************************************************************************/
                        
                        // **Capitalize First Letters**
                        // The spoken command to Alexa is being returned in lowercase, like "turn on kitchen light".
                        // With this option set to true, the output will be "Turn On Kitchen Light" (so capitalized first letter of each word)
                        const g_capFirstLetters = true;
                        
                        /******************************************************************************************************
                         * End of Script Settings. Please do not change anything below here.
                         ******************************************************************************************************/
                        
                        main();
                        function main() {
                        	// All Alexa adapter instances, so alexa2.0.History.json, alexa2.1.History.json, alexa2.2.History.json, etc.
                        	on({ id: /^alexa2\.\d\.History\.json$/, change: 'any' }, function (obj) {
                        		try {
                        			// obj.state.val: JSON string of oject.
                        			// Like: {"name":"Alexa Flur","serialNumber":"xxxxxxxxxx","summary":"Wohnlicht an","creationTime":1582843794820, ... }
                        			let objHistory = JSON.parse(obj.state.val);
                        
                        			// ignore alexa keywords or empty value.
                        			if (!['', 'alexa', 'echo', 'computer', 'ziggy'].includes(objHistory['summary'])) {
                        				// ignore "sprich mir nach"
                        				if (!objHistory['summary'].includes('sprich mir nach ')) {
                        					log('[Alexa-Log-Script] ##{"message":"' + formatAlexaSummary(objHistory['summary']) + '", "from":"' + objHistory['name'] + '"}##');
                        				}
                        			}
                        		} catch (error) {
                        			log(error);
                        		}
                        	});
                        }
                        
                        /**
                         * Formats the Alexa summary text accordingly.
                         * @param {string} summaryText   The summary text
                         * @return {string} the formatted summary
                         */
                        function formatAlexaSummary(summaryText) {
                        	if (g_capFirstLetters) summaryText = summaryText.replace(/(^|\s)\S/g, (l) => l.toUpperCase()); // Capitalize if set. https://stackoverflow.com/questions/2332811/
                        	return summaryText;
                        }
                        

                        EDIT: komisch, nachdem ich den Adapter auf Debug und wieder retour auf Info stellte, gehts wieder

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        1.1k
                        Online

                        32.4k
                        Users

                        81.2k
                        Topics

                        1.3m
                        Posts

                        21
                        108
                        16845
                        Loading More Posts
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes
                        Reply
                        • Reply as topic
                        Log in to reply
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                        The ioBroker Community 2014-2023
                        logo