Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter ioBroker.imap latest/stable

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Test Adapter ioBroker.imap latest/stable

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Lucky_ESA Developer Most Active @MCU last edited by

      @mcu sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

      @lucky_esa Liegt nicht an einem Konto, sondern daran, wenn man mehrere gmail-Konten nutzt.

      Wie hast du mehere Konten in der Instanz Konfig angelegt? Da gibt es doch immer unterschiedliche Benutzernamen...
      Die eMail Adesse im Header musst du unter remote.html ändern.

      Gruß//Lucky

      M 1 Reply Last reply Reply Quote 0
      • M
        MCU @Lucky_ESA last edited by MCU

        @lucky_esa

        1. Wenn möglich bitte die E-Mail Adresse automatisch in remote.html setzen.

        2. zurzeit keine doppelten Einträge in html
          c694bdc8-30c0-42b3-b0bd-81d032b4ed34-image.png

        3. Im HTML-Code sind 2 Dinge die für jarvis nicht passen .

        class "container"
        e5be647d-e148-4fb6-b955-21c1647ccef3-image.png

        Style -> Tabelle wird falsch angezeigt

        div.container {
             align-items: center;
             justify-content: center
        }
        

        74deda5e-cd52-4df6-aa60-9435bc0cd030-image.png

        Nehme ich die Klasse raus passt es

        8e2ca622-9092-4280-9d2d-93832d0d542f-image.png

        1. Einträge in remote.html werden nicht umgesetzt

        586aefb5-5a30-46c7-8b47-10ee67ff8dea-image.png

        <th style="text-align:center; width:auto">
                    &ensp;ID&ensp;
                    </th>
                    <th style="text-align:center; width:auto">
                    &ensp;Von&ensp;
                    </th>
                    <th style="text-align:center; width:auto">
                    &ensp;Betreff&ensp;
                    </th>
                    <th style="text-align:center; width:auto">
                    &ensp;Datum&ensp;
                    </th>
                    <th style="text-align:center; width:auto">
                    &ensp;Inhalt&ensp;
                    </th>
                    <th style="text-align:center; width:auto">
                    &ensp;Sequenznummer&ensp;
                    </th>
                    <th style="text-align:center; width:auto">
                    &ensp;Flaggen&ensp;
                    </th>
        
        1. Bitte auch ein json-DP mit den E-Maildaten
        sigi234 L 2 Replies Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @Lucky_ESA last edited by

          @lucky_esa

          Was mache ich Falsch?

          Fehler bei Host xxxxxxxxx_gmail_com - Error: Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure) at Connection._resTagged (C:\ioBroker\node_modules\node-imap\lib\Connection.js:1272:13) at Parser.<anonymous> (C:\ioBroker\node_modules\node-imap\lib\Connection.js:190:12) at Parser.emit (node:events:513:28) at Parser._resTagged (C:\ioBroker\node_modules\node-imap\lib\Parser.js:169:12) at Parser._parse (C:\ioBroker\node_modules\node-imap\lib\Parser.js:135:18) at Parser._tryread (C:\ioBroker\node_modules\node-imap\lib\Parser.js:77:17) at TLSSocket.Parser._cbReadable (C:\ioBroker\node_modules\node-imap\lib\Parser.js:55:14) at TLSSocket.emit (node:events:513:28) at emitReadable_ (node:internal/streams/readable:578:12) at processTicksAndRejections (node:internal/process/task_queues:82:21) { type: 'no', textCode: 'ALERT', source: 'authentication' }.
          
          1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @Lucky_ESA last edited by

            @lucky_esa sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

            Ich verwende das NPM Modul node-imap und es funktioniert noch. Habe allerdings auch ein aktuelles imapflow gefunden was ich parrallel teste.

            Muss ich das node-imap in JS als zusätzliches Modul eintragen?

            L 1 Reply Last reply Reply Quote 0
            • L
              Lucky_ESA Developer Most Active @sigi234 last edited by

              @sigi234 Gmail hat doch wie immer eine Extrawurst. Du musst nach dieser Anleitung dein PW generieren 🙂

              sigi234 1 Reply Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @Lucky_ESA last edited by

                @lucky_esa sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

                @sigi234 Gmail hat doch wie immer eine Extrawurst. Du musst nach dieser Anleitung dein PW generieren 🙂

                Funktioniert!

                1 Reply Last reply Reply Quote 0
                • sigi234
                  sigi234 Forum Testing Most Active @MCU last edited by

                  @mcu sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

                  Bitte auch ein json-DP mit den E-Maildaten

                  Ja, und bitte einen DP Json Table

                  1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @Lucky_ESA last edited by

                    @lucky_esa

                    Hallo, sehe das nicht als error:

                    imap.0
                    2023-02-27 06:41:49.532	error	Fehler bei Host xxxxxxxxx_gmail_com - Mailbox is empty.
                    
                    L 1 Reply Last reply Reply Quote 0
                    • L
                      Lucky_ESA Developer Most Active @MCU last edited by

                      @mcu sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

                      @lucky_esa

                      1. Wenn möglich bitte die E-Mail Adresse automatisch in remote.html setzen.
                        done
                      2. Im HTML-Code sind 2 Dinge die für jarvis nicht passen .
                        Kannst du jetzt mit html.jarvis == true deaktivieren
                      3. Einträge in remote.html werden nicht umgesetzt
                        done
                      4. Bitte auch ein json-DP mit den E-Maildaten
                        done

                      Gruß//Lucky

                      1 Reply Last reply Reply Quote 0
                      • L
                        Lucky_ESA Developer Most Active @sigi234 last edited by

                        @sigi234 sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

                        @lucky_esa

                        Hallo, sehe das nicht als error:

                        imap.0
                        2023-02-27 06:41:49.532	error	Fehler bei Host xxxxxxxxx_gmail_com - Mailbox is empty.
                        

                        geändert in Info

                        Gruß//Lucky

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

                          Hallo zusammen,

                          nun zu den JSON. Habe lange Zeit darüber nachgedacht diesen zur Verfügung zu stellen und hatte mich eigentlich dagegen entschieden. Warum? Es sind einfach zu viele Daten die in die DB von iobroker geschrieben werden.
                          Habe jetzt mal 2 Alternativen implementiert.
                          Zum testen gibt es den neuen Datenpunkt imap.0.xx.json in dem jetzt die Daten geschrieben werden. Ihr könnt euch da selber mal ein Bild von der enormen Datenmenge machen.
                          Daher habe ich noch ein Blockly hinzugefügt. Hier könnt ihr den JSON holen oder alle Sequenz ID`s und diese weiter verarbeiten.
                          Screenshot 2023-02-27 193802.png
                          Was meint ihr?

                          Gruß//Lucky

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            MCU @Lucky_ESA last edited by

                            @lucky_esa Bei html.jarvis ist anscheinend noch div.container im style drin. Also Problem noch vorhanden.

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              Lucky_ESA Developer Most Active @MCU last edited by

                              @mcu sagte in Test Adapter ioBroker.imap v0.0.1 GitHub:

                              @lucky_esa Bei html.jarvis ist anscheinend noch div.container im style drin. Also Problem noch vorhanden.

                              Upps, Gedankenfehler. Mach bitte mal im Datenpunkt xxx.html aus

                              div.container
                              

                              das hier:

                              .container
                              
                              M 1 Reply Last reply Reply Quote 0
                              • M
                                MCU @Lucky_ESA last edited by MCU

                                @lucky_esa Dann gibt es noch ein Problem mit der Höhe ?
                                0f68a687-0df6-449d-8341-5b1c714c0295-image.png

                                JSON Aufbau müsste geändert werden, damit man es nutzen kann.

                                [{"Received":"","from":"", "html":"","flag":""}]
                                

                                Das andere ist für Super-Experten?

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

                                  also muss dann alles raus? Verstehe das nicht wie jarvis das darstellt. Habe den HTML Code mit Validator geprüft und habe 0 Fehler...

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    MCU @Lucky_ESA last edited by MCU

                                    @lucky_esa
                                    Ich vermute das jarvis intern auch container Klasse nutzt?
                                    Vielleicht kannst du dich mit @Zefau absprechen? Discussion in github?
                                    https://github.com/Zefau/ioBroker.jarvis/discussions

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      Lucky_ESA Developer Most Active @MCU last edited by

                                      @mcu Habe css jetzt bei true auch entfernt.

                                      Der JSON ist eigentlich für alle und ist nichts besonderes.

                                      Gruß//Lucky

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        MCU @Lucky_ESA last edited by MCU

                                        @lucky_esa
                                        Die JSON ist zu kompliziert für jsonTable.
                                        Möchte doch nur wissen, wann ist eine Mail von wem gekommen mit welchem Inhalt. Mehr sollte da nicht drin sein, oder?
                                        Sieht so aus in jarvis
                                        imap jsontable.gif

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          Lucky_ESA Developer Most Active @MCU last edited by

                                          @mcu Aber jeder möchte andere Informationen haben und diese kann man sich aus dem JSON holen. Ich werde mal ein Beispiel Blockly erstellen.

                                          Gruß//Lucky

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            MCU @Lucky_ESA last edited by MCU

                                            @lucky_esa Mach bitte ein JSON_Light oder direkt jarvisJSON so? Dann kann jeder mit dem anderen arbeiten wie er möchte?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            838
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            26
                                            406
                                            55025
                                            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