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-CoinMarketCap unable to get data

    Scheduled Pinned Locked Moved Solved Troubleshooting
    23 Posts 8 Posters 9.0k Views 7 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.
    • L Offline
      Linus68
      last edited by

      Thanks for the feedback.
      Some days ago I had also the problem, but after some reboots it was working. But now still not working. Then lets wait and see.

      1 Reply Last reply Reply Quote 0
      • H Offline
        hermlam
        last edited by

        Same problem here

        1 Reply Last reply Reply Quote 0
        • A Offline
          AvatarED007
          last edited by

          I have the same issue. Also multiple reboot did not help.
          Still message “Unable to get data from CoinMarketCap.com.”

          1 Reply Last reply Reply Quote 0
          • A Offline
            AvatarED007
            last edited by

            I updated to new version, and requested the API Key, Changed the config file and added the apiKey from CoinMarketCap.com. Also rebooted the MagicMirror.
            I still get the message : “Please provide an API key”

            1 Reply Last reply Reply Quote 0
            • L Offline
              Linus68
              last edited by

              Does any one know a other Module to run.
              I need the coins with graph and the tendency in color (red, green).

              1 Reply Last reply Reply Quote 0
              • A Offline
                AvatarED007
                last edited by

                You have to change the Documentation an move the apiKey to the config part.
                In the java-script you check on self.config.apiKey

                H D 2 Replies Last reply Reply Quote 0
                • H Offline
                  hermlam @AvatarED007
                  last edited by

                  @AvatarED007 Thanks!

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    Linus68
                    last edited by

                    @AvatarED007
                    ?? can you please explain more detailed.

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      Linus68
                      last edited by

                      got it, after update module.

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        DavidJ @AvatarED007
                        last edited by

                        @AvatarED007 Thank you.

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          enjoynering
                          last edited by

                          Have you solve the problem?

                          In my case it is loading… all the time.

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            ftap
                            last edited by

                            For anyone that finds this topic while trying to trouble shoot constant loading:

                            Where it says: ‘your api key here’

                            Change it to double quotes: “your api key here”

                            Doing this made the module work for me.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TheRedhawk
                              last edited by

                              Hey guxy,

                              could someone please post how it works? I updated all, got a new APIkey but it still dont work.

                              My code in config.js:

                              {
                              module: ‘MMM-CoinMarketCap’,
                              position: “top_left”,
                              header: “Crypto”,
                              config: {
                              apiKey: ‘APIKEY APIKEY’,
                              currencies: [‘bitcoin’, ‘ethereum’, ‘litecoin’, ‘stellar’],
                              view: ‘graphWithChanges’,
                              conversion: ‘EUR’,
                              }
                              },

                              F 1 Reply Last reply Reply Quote 0
                              • F Offline
                                ftap @TheRedhawk
                                last edited by

                                @TheRedhawk

                                Replace ‘APIKEY’, with “APIKEY”,

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

                                  @ftap which quote doesnt matter

                                  careful , dont use quotes that are curved, which are word processing. mm requires text type

                                  single or dual

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  F 1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TheRedhawk
                                    last edited by TheRedhawk

                                    Hi there, thanks.
                                    Got it, i did the edit in Greany… this dont work. User the text editor and it runs. :-)

                                    1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      ftap @sdetweil
                                      last edited by

                                      @sdetweil Ah, it didn’t work with single quotes for me. Double quotes fixed it.

                                      shrug

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TheRedhawk
                                        last edited by

                                        Hm, it only works once. After the next reboot/Refresh got the same “unable to get date”.
                                        What is wrong? Could someone help me here? Mybe with a remot session… I really dont know what the problem is.

                                        F 1 Reply Last reply Reply Quote 0
                                        • F Offline
                                          ftap @TheRedhawk
                                          last edited by

                                          @TheRedhawk Post up the module portion of the config file. Might be an error in there.

                                          T 1 Reply Last reply Reply Quote 0
                                          • T Offline
                                            TheRedhawk @ftap
                                            last edited by

                                            @ftap
                                            Hi ftap,
                                            it is still the same. it is the only module im running now, even if i change the ’ into " it dont work. If i use any other module with API’s like “mmm-weatherforcast or mmm-fuel etc.” everything works fine. It’s only this module.

                                            Nodejs = v15.6.0.
                                            MagicMirror = v2.14.0
                                            npm = v7.4.0

                                            var config = {
                                            	address: "localhost", 
                                            	port: 8080,
                                            	basePath: "/",
                                            	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
                                            	useHttps: false, 	// Support HTTPS or not, default "false" will use HTTP
                                            	httpsPrivateKey: "", 	// HTTPS private key path, only require when useHttps is true
                                            	httpsCertificate: "", 	// HTTPS Certificate path, only require when useHttps is true
                                            
                                            	language: "de",
                                            	timeFormat: 24,
                                            	units: "metric",
                                            	logLevel: ["INFO", "LOG", "WARN", "ERROR"],
                                            
                                            	modules: [
                                            		{
                                                    	module: 'MMM-CoinMarketCap',
                                                       	position: "top_left",
                                                        	header: "Crypto",
                                                        	config: {
                                                            	apiKey: 'myapikey12345678980',
                                                            	currencies: ['bitcoin', 'ethereum', 'litecoin', 'stellar'],
                                                            	view: 'graphWithChanges',
                                                            	conversion: 'EUR',
                                                   	     		}
                                                    	},
                                            	       ]
                                            };
                                            
                                            F 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
                                            • 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