MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Problem with the Module "email"

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    57 Posts 4 Posters 32.5k Views 4 Watching
    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.
    • S Do not disturb
      sdetweil @CyruS1337
      last edited by

      @cyrus1337 ok , open a command prompt so we can look at the error output…

      then cd MagaicMirror and type
      npm start

      i see stuff like this

      > magicmirror@2.5.0 start /home/odroid/Magi
      > 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: calendar
      Initializing new module helper ...
      Module helper loaded: newsfeed
      handler helper in init
      Module helper loaded: MMM-SleepWake
      Initializing new module helper ...
      Module helper loaded: MMM-ImagesPhotos
      Initializing new module helper ...
      Module helper loaded: MMM-BMW-DS
      All module helpers loaded.
      Starting server on port 8086 ...
      You're using a full whitelist configuration
      Server started ...
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Connecting socket for: MMM-SleepWake
      handler helper in start
      Connecting socket for: MMM-ImagesPhotos
      Starting node helper for: MMM-ImagesPhotos
      Connecting socket for: MMM-BMW-DS
      Starting node_helper for: MMM-BMW-DS
      Sockets connected & modules started ...
      Launching application.
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil Thanks for the help, I will post my log tonight

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

          I also see things like you. Here are my logs:

          
          pi@raspberrypi2:~ $ cd MagicMirror
          pi@raspberrypi2:~/MagicMirror $ npm start
          
          > 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/zeptrion%40gmail.com/private-75149d8982f910a209e0fe7d0363d75f/basic.ics - Interval: 300000
          listening for emails...
          
          
          1 Reply Last reply Reply Quote 0
          • cirdanC Offline
            cirdan
            last edited by

            Looks good. What happens when you send a new mail to the emailaddress when the logs shows listening for email?

            Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

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

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

              Looks good. What happens when you send a new mail to the emailaddress when the logs shows listening for email?

              I could try that :) Also, I have 1 unread email in the folder. But I’m trying to send an email to myself tonight and see what happens.

              I’ll call you tonight

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

                I sent you an email earlier. Unfortunately, the module still does not show an email and it still says “load”

                :(

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

                  157/5000
                  I deleted the folder “email” again and then reinstalled the module. I do not know what the warnings after npm install mean:

                  pi@raspberrypi2:~ $ cd MagicMirror/modules
                  pi@raspberrypi2:~/MagicMirror/modules $ git clone https://github.com/ronny3050/e                                                                                                                                                             mail-mirror.git email
                  Klone nach 'email' ...
                  remote: Enumerating objects: 60, done.
                  remote: Total 60 (delta 0), reused 0 (delta 0), pack-reused 60
                  Entpacke Objekte: 100% (60/60), Fertig.
                  pi@raspberrypi2:~/MagicMirror/modules $ cd email
                  pi@raspberrypi2:~/MagicMirror/modules/email $ npm install
                  npm WARN deprecated mailparser@0.6.2: Mailparser versions older than v2.3.0 are                                                                                                                                                              deprecated
                  npm WARN deprecated mimelib@0.3.1: This project is unmaintained
                  npm notice created a lockfile as package-lock.json. You should commit this file.
                  npm WARN email@0.0.1 No repository field.
                  npm WARN email@0.0.1 No license field.
                  
                  added 21 packages from 18 contributors and audited 24 packages in 9.564s
                  found 0 vulnerabilities
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @CyruS1337
                    last edited by sdetweil

                    @cyrus1337 the warnings mean nothing for users.

                    This module will ONLY show email that arrives AFTER it is started.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

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

                      the warnings mean nothing for users.

                      ok, all right :) but I am not yet. The module will simply not load an email

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

                        @cyrus1337 I had to reboot to get it to work.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

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

                          I had to reboot to get it to work.

                          I just did sudo reboot unfortunately without success

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

                            Does it show the module on screen?

                            Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                            CyruS1337C 1 Reply Last reply Reply Quote 0
                            • CyruS1337C Offline
                              CyruS1337 Project Sponsor @cirdan
                              last edited by

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

                              oes

                              Yes, the title stands and under the title is “load”

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

                                Just did a fresh install. Git clone and npm install like you did. Added example config to config.js. Deleted one of the preset accounts and changed the google one into my email. Typed password

                                I had to change fade from true to false to get the module to show emails

                                Make sure there are new mails in the mailbox
                                Check your password

                                For every new email a line NEW EMAIL is printed in the console

                                Also when new mail arives, in the console of the webbrowser the payload can be found. When in magic mirror full screen mode, type ctrl shift i. Wait a few seconds. In the console log on the right you should a log containing " new payload array ()." Click on array opens the received emails

                                Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                                CyruS1337C 1 Reply Last reply Reply Quote 0
                                • CyruS1337C Offline
                                  CyruS1337 Project Sponsor @cirdan
                                  last edited by

                                  @cirdan Unfortunately, the module still does not work for me. Have it disabled mitlerweile again.

                                  mumblebajM 1 Reply Last reply Reply Quote 0
                                  • mumblebajM Offline
                                    mumblebaj Module Developer @CyruS1337
                                    last edited by

                                    @CyruS1337 With gmail you have to create an application key on gmail itself. Your email account password would not work.

                                    Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                    Check my blog-post: https://mumblebaj.xyz/
                                    Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                    CyruS1337C 1 Reply Last reply Reply Quote 0
                                    • CyruS1337C Offline
                                      CyruS1337 Project Sponsor @mumblebaj
                                      last edited by

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

                                      @CyruS1337 With gmail you have to create an application key on gmail itself. Your email account password would not work.

                                      And how do I create an application key myself? :-/

                                      mumblebajM 1 Reply Last reply Reply Quote 0
                                      • mumblebajM Offline
                                        mumblebaj Module Developer @CyruS1337
                                        last edited by

                                        @CyruS1337 In gmail, you need to select the Google Apps menu: 0_1567611843267_e4890805-370c-4dac-b435-300a7a0fdb2c-image.png

                                        Next click on Account. On the left hand side click on Security.
                                        On the right Select App Passwords and create a password for your app. Copy that key into your mirror where you need to enter the password and that should work.

                                        Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                        Check my blog-post: https://mumblebaj.xyz/
                                        Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                                          Hello

                                          Sorry if I ask again, but unfortunately I can not find it. So I go like this -> Account -> Security and then I do not find what you mean.

                                          0_1567657987918_2019-09-05_06-30-38.jpg

                                          mumblebajM 1 Reply Last reply Reply Quote 0
                                          • mumblebajM Offline
                                            mumblebaj Module Developer @CyruS1337
                                            last edited by

                                            @CyruS1337 No problem:
                                            When loggin into gmail, on the right hand side there is the “hamburger menu”:
                                            0_1567691436238_f4313eaa-8a4a-4186-b95f-a508940eaf92-image.png

                                            When you click that you get a list of apps, select Account from there. On the left click security:
                                            0_1567691547044_ed5f3d88-fa5f-48e4-a27e-52f0dd2b9fa0-image.png

                                            On the right you will see Signing into Google. Click on the “>” on the line “App Passwords”
                                            0_1567691628894_069c7c94-1896-4748-8f6e-0c84dc66c673-image.png

                                            On the next screen enter your password and then on the next screen you will be able to create the key.
                                            0_1567691769140_f78991d4-1421-4040-aa34-92c39340311b-image.png

                                            Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                            Check my blog-post: https://mumblebaj.xyz/
                                            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy