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 5.7k 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

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