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 7.2k 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.
    • 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
                        • 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