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 28.4k 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.
    • CyruS1337C Offline
      CyruS1337 Project Sponsor @cirdan
      last edited by CyruS1337

      @cirdan I did that. My username in config is adriano.b .....@gmail.com or am I mistaken you?

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

        usually when we show our config.js with personal stuff removed, we use … or xxx instead of the default ‘name’ and ‘pw’.

        this lets others looking at your issue know you have changed the content

        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 CyruS1337

          @sdetweil
          ok, i changed it. Thanks for the information

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

            @cyrus1337 thank you…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              But I have not come further. Is there something wrong with my config?

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

                @cyrus1337 ok, I cut/pasted your config, changed to my userid and password…

                failed… module imap not found…

                had to run npm install from the modules/email folder…

                restart mirror…

                note: this only shows NEWLY arriving email… i don’t know how the mail drops off, as it hasn’t updated for me… 5 emails shown…

                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 I did that you’ve got. Unfortunately without success

                  pi@raspberrypi2:~ $ cd MagicMirror
                  pi@raspberrypi2:~/MagicMirror $ cd modules
                  pi@raspberrypi2:~/MagicMirror/modules $ cd email
                  pi@raspberrypi2:~/MagicMirror/modules/email $ npm install
                  npm WARN email@0.0.1 No repository field.
                  npm WARN email@0.0.1 No license field.
                  
                  audited 24 packages in 4.491s
                  found 0 vulnerabilities
                  
                  pi@raspberrypi2:~/MagicMirror/modules/email $ sudo reboot
                  login as: pi
                  pi@192.168.1.102's password:
                  Linux raspberrypi2 4.14.67-v7+ #1139 SMP Wed Aug 29 15:17:05 BST 2018 armv7l
                  
                  The programs included with the Debian GNU/Linux system are free software;
                  the exact distribution terms for each program are described in the
                  individual files in /usr/share/doc/*/copyright.
                  
                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                  permitted by applicable law.
                  Last login: Thu Nov  8 20:03:08 2018 from 192.168.1.134
                  pi@raspberrypi2:~ $
                  
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    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
                        • 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 Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy