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.

    MMM-EOL

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    15 Posts 2 Posters 6.9k Views 2 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.
    • M Offline
      mash55
      last edited by

      Trying to get this module to work with my mirror. Even with the default config (copy/paste from Github) I only get a LIFE AS WE KNOW IT… message ate the specified location (bottom_right).

      Here my config entry:

      {
          module: 'MMM-EOL',                       // Best in left, right or center regions
          position: 'bottom_right',
          config: {
                        lifeForm: "Primates",
                        scrollDes: "yes",
                        dLength: 400,
                        useHeader: true, 
                        header: "EOL", 
                        maxWidth: "300px",
                        animationSpeed: 0,
                        rotateInterval: 1 * 60 * 1000,   // 1 minute
                        }
           },
      
      

      Can’t find anything in the log:

      /home/pi/.pm2/logs/mm-out.log last 15 lines:
      0|mm       | MMM-WunderGround helper started ...
      0|mm       | Connecting socket for: newsfeed
      0|mm       | Starting module: newsfeed
      0|mm       | Connecting socket for: MMM-EOL
      0|mm       | Starting node_helper for: MMM-EOL
      0|mm       | Sockets connected & modules started ...
      0|mm       | Launching application.
      0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics - Interval: 300000
      0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/xxxxx.org_2d35383537383430373xxxxx%40resource.calendar.google.com/public/basic.ics - Interval: 300000
      0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/xxxxxxxx%40gmail.com/private-f8bbcbb32xxxxx5e42be433227f77b93/basic.ics - Interval: 300000
      0|mm       | GET_WUNDERGROUND
      0|mm       | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
      0|mm       | Create new news fetcher for url: http://feeds.bbci.co.uk/news/science_and_environment/rss.xml - Interval: 300000
      0|mm       | MMM-voice: Checking files.
      0|mm       | MMM-voice: Starting pocketsphinx.
      
      

      Appreciate any pointers to fine the issue.

      1 Reply Last reply Reply Quote 0
      • M Offline
        mash55
        last edited by

        Found the following in the console… all Chinese to me but I guess its related to the problem

        MMM-EOL.js:183 Uncaught TypeError: Cannot read property '0' of undefined
            at Class.processEOL (MMM-EOL.js:183)
            at Class.socketNotificationReceived (MMM-EOL.js:218)
            at module.js:246
            at r.<anonymous> (socketclient.js:25)
            at r.emit (index.js:83)
            at r.onevent (index.js:83)
            at r.MMSocket.self.socket.onevent (socketclient.js:19)
            at r.onpacket (index.js:83)
            at r.<anonymous> (index.js:83)
            at r.emit (index.js:83)
        processEOL @ MMM-EOL.js:183
        socketNotificationReceived @ MMM-EOL.js:218
        
        
        Mykle1M 2 Replies Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @mash55
          last edited by

          @mash55

          Looks like an API data issue. Give me a little time and I’ll fix that for you. Sorry for the inconvenience…

          Create a working config
          How to add modules

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Mykle1
            last edited by

            @mykle1

            Ok, I’m going to look into this now. Sorry, life gets in the way.

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @mash55
              last edited by

              @mash55

              As I thought, the way the data is presented by the API has changed. The module is not completely fixed but it does work. It will rotate through the images but it will not display the nice description that the module normally displays.

              I’m struggling a bit with the new data, concerning the description. The data that comes from the node helper in the command terminal shows one thing. The data that is processed in the module.js file and shown in the dev console seems to show different amounts of data. Again, concerning the description. I’m very confused by it. I welcome any assistance that anyone is willing to give.

              Meanwhile, you can do agit pull for the partial fix (no description) and I’ll continue to investigate this problem

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • M Offline
                mash55
                last edited by

                Thanks for looking into this… I can confirm that it now rotates through the images (progress) but without the description. Hope you can figure out whats wrong pulling down the description as well.

                Mykle1M 2 Replies Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @mash55
                  last edited by

                  @mash55

                  Ok, thanks. I will continue to look at this and I’ll reach out to a friend or two if I can’t solve it on my own. I am working on a few other things so it likely will take some time. That’s why I issued the temporary fix just to get it up and running until I can devote some time to it.

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @mash55
                    last edited by

                    @mash55

                    I wanted to let you know that I looked at this for a while. Apparently, the element description that is in the API data has changed with most of the species. They used to provide lengthy, interesting information about the species you were viewing. Now those descriptions contain limited information, such as “bear eating acorns” which tells you nothing about the bear itself. It’s hit or miss, too. Some species have better descriptions than others. Some have none. If you would like to see and decide for yourself you can add this to your custom.css file

                    .MMM-EOL .description {
                      color: #FFFFFF;               /* Color the description text. Default is white. */
                    /*  text-align: center;   */        /* Align the description text. (left, center, right) */
                    /*    display: none; */         /* Uncomment if you don't want description text */
                    }
                    

                    If you are not pleased with the result you can uncomment display: none, to once again hide the description. There’s not much else I can do at this time. My apologies.

                    Create a working config
                    How to add modules

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      mash55 @Mykle1
                      last edited by

                      @Mykle1 Thanks for looking into this… I will check and see how useful the descriptions will be.

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @mash55
                        last edited by

                        @mash55

                        No problem. I’m very unhappy with the changes they made to the API data, especially in regards to the descriptive text. Before the changes, the text was extensive and very informative. Now, not so much.

                        Create a working config
                        How to add modules

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          mash55 @Mykle1
                          last edited by

                          @Mykle1 said in MMM-EOL:

                          the text was extensive and very informative

                          Thats what I was looking for :)

                          Oh well…

                          Mykle1M 1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @mash55
                            last edited by

                            @mash55

                            Again, I’m sorry, my friend. Maybe I’ll shoot them an email and see if anything can be done, or if it’s only temporary. I’ve had data fail in some other modules, only to see it become reliable again.

                            Create a working config
                            How to add modules

                            M 1 Reply Last reply Reply Quote 0
                            • M Offline
                              mash55 @Mykle1
                              last edited by

                              @Mykle1 said in MMM-EOL:

                              Again, I’m sorry, my friend

                              Don’t worry about it… not your fault… maybe we will see some progress on their side in the (near) future…

                              Mykle1M 1 Reply Last reply Reply Quote 1
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @mash55
                                last edited by

                                @mash55

                                I just wrote an email to the API provider, describing the issue. I linked my repo so they could see what I’ve done with the data. The pictures on the repo show the description that you and I both miss. Lets hope for the best.

                                Create a working config
                                How to add modules

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mash55 @Mykle1
                                  last edited by

                                  @Mykle1 said in MMM-EOL:

                                  :thumbs_up_medium_skin_tone:

                                  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 / 1
                                  • 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