Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Problem with the Module "email"

    Troubleshooting
    4
    57
    6646
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CyruS1337
      CyruS1337 Project Sponsor last edited by

      I have a problem with the module “email”.

      Unfortunately, the module shows me no emails. It is always “loading”

      I do not know any more and hope you can help me.

      That would be the pm2 log:

      > magicmirror@2.5.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      Starting MagicMirror: v2.5.0
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: MMM-SystemStats
      Initializing new module helper ...
      Module helper loaded: MMM-MyCommute
      Initializing new module helper ...
      Module helper loaded: newsfeed
      Initializing new module helper ...
      Module helper loaded: MMM-GoogleMapsTraffic
      No helper found for module: MMM-PIR-Sensor.
      Initializing new module helper ...
      Module helper loaded: MMM-SoccerLiveScore
      Initializing new module helper ...
      Module helper loaded: MMM-MyCalendar
      Initializing new module helper ...
      Module helper loaded: email
      All module helpers loaded.
      Starting server on port 8080 ... 
      Server started ...
      Connecting socket for: updatenotification
      Connecting socket for: MMM-SystemStats
      Connecting socket for: MMM-MyCommute
      ====================== Starting node_helper for module [MMM-MyCommute]
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Connecting socket for: MMM-GoogleMapsTraffic
      Starting node_helper for module: MMM-GoogleMapsTraffic
      Connecting socket for: MMM-SoccerLiveScore
      MMM-SoccerLiveScore helper started...
      Connecting socket for: MMM-MyCalendar
      Starting node helper for: MMM-MyCalendar
      Connecting socket for: email
      email helper started ...
      Sockets connected & modules started ...
      Launching application.
      Create new news fetcher for url: https://api.20min.ch/rss/view/1 - Interval: 300000
      Create new news fetcher for url: https://api.20min.ch/rss/view/67 - Interval: 300000
      Working notification system. Notification: MMM-GOOGLE_MAPS_TRAFFIC-GET payload:  { style: 'standard' }
      Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/gmail.com/private-75149d8982f910a209e0fe7d0363d75f/basic.ics - Interval: 300000
      listening for emails...
      
      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @CyruS1337 last edited by sdetweil

        @cyrus1337 press ctrl-shift-i (letter i)
        To open the dev console, then select the console tab. Scroll to see if error on module.js side

        CyruS1337 1 Reply Last reply Reply Quote 0
        • CyruS1337
          CyruS1337 Project Sponsor @sdetweil last edited by

          @sdetweil Sorry, but where do I have to execute the command.

          Sorry, I’m really a beginner …

          1 Reply Last reply Reply Quote 0
          • CyruS1337
            CyruS1337 Project Sponsor last edited by

            I hope this helps:

            0|MagicMirror  | Email notifier error:  { Error: Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
            0|MagicMirror  |     at Connection._resTagged (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Connection.js:1502:11)
            0|MagicMirror  |     at Parser.<anonymous> (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Connection.js:194:10)
            0|MagicMirror  |     at emitOne (events.js:116:13)
            0|MagicMirror  |     at Parser.emit (events.js:211:7)
            0|MagicMirror  |     at Parser._resTagged (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:175:10)
            0|MagicMirror  |     at Parser._parse (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:139:16)
            0|MagicMirror  |     at Parser._tryread (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:82:15)
            0|MagicMirror  |     at TLSSocket.Parser._cbReadable (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Parser.js:53:12)
            0|MagicMirror  |     at emitNone (events.js:106:13)
            0|MagicMirror  |     at TLSSocket.emit (events.js:208:7) type: 'no', textCode: 'ALERT', source: 'authentication' }
            
            

            That does not stop and it always comes back to the mistake itself

            S 1 Reply Last reply Reply Quote 0
            • S
              sdetweil @CyruS1337 last edited by

              @cyrus1337 I don’t know anything about this module, but I would guess that your email config is wrong.

              The error means the module failed parsing the email data, because there was a connection or permissions error (tls implies ssl connection problem)

              1 Reply Last reply Reply Quote 0
              • CyruS1337
                CyruS1337 Project Sponsor last edited by

                I have the config as described on the page https://github.com/ronny3050/email-mirror

                {
                		        module: 'email',
                                position: 'top_left',
                                header: 'Email',
                                config: {
                                    accounts: [
                
                                        {
                                            user: 'name@gmail.com',
                                            password: 'pw',
                                            host: 'imap.gmail.com',
                			    port: 993,
                                            tls: true,
                                            authTimeout: 10000,
                                            numberOfEmails: 5,
                                        }
                                    ],
                                    fade: true,
                                    maxCharacters: 30
                                }
                	},
                
                S 1 Reply Last reply Reply Quote 0
                • S
                  sdetweil @CyruS1337 last edited by sdetweil

                  @cyrus1337 and password: ‘pw’ where pw is YOUR EMAIL password, right?

                  And name@gmail.com is YOUR Gmail username

                  1 Reply Last reply Reply Quote 0
                  • CyruS1337
                    CyruS1337 Project Sponsor last edited by

                    @sdetweil said in Problem with the Module "email":

                    @cyrus1337 and password: ‘pw’ where pw is YOUR EMAIL password, right?
                    And name@gmail.com is YOUR Gmail username

                    Genau, das ist das Passwort für den Emailaccount.

                    Bei user habe ich meine Emailadresse angegeben.

                    1 Reply Last reply Reply Quote 0
                    • cirdan
                      cirdan last edited by cirdan

                      Did you set google security lower than the default. Something with allow third party apps?

                      1 Reply Last reply Reply Quote 0
                      • CyruS1337
                        CyruS1337 Project Sponsor last edited by

                        @cirdan said in Problem with the Module "email":

                        Did you set google security lower than the default. Something with allow third party apps?

                        Yey, i have set

                        0_1541395631798_2018-11-05_06-25-37.png

                        cirdan 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 1 / 6
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy