• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 6.5k 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.
  • T Offline
    TheRedhawk
    last edited by Jan 18, 2021, 6:43 PM

    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 Jan 19, 2021, 11:09 PM Reply Quote 0
    • F Offline
      ftap @TheRedhawk
      last edited by Jan 19, 2021, 11:09 PM

      @TheRedhawk

      Replace ‘APIKEY’, with “APIKEY”,

      S 1 Reply Last reply Jan 20, 2021, 12:14 AM Reply Quote 0
      • S Away
        sdetweil @ftap
        last edited by Jan 20, 2021, 12:14 AM

        @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 Jan 23, 2021, 3:53 AM Reply Quote 0
        • T Offline
          TheRedhawk
          last edited by TheRedhawk Jan 21, 2021, 7:33 AM Jan 21, 2021, 7:05 AM

          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 Jan 23, 2021, 3:53 AM

            @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 Jan 23, 2021, 11:17 AM

              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 Jan 23, 2021, 9:08 PM Reply Quote 0
              • F Offline
                ftap @TheRedhawk
                last edited by Jan 23, 2021, 9:08 PM

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

                T 1 Reply Last reply Jan 24, 2021, 8:16 AM Reply Quote 0
                • T Offline
                  TheRedhawk @ftap
                  last edited by Jan 24, 2021, 8:16 AM

                  @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 Jan 24, 2021, 3:23 PM Reply Quote 0
                  • F Offline
                    ftap @TheRedhawk
                    last edited by Jan 24, 2021, 3:23 PM

                    @TheRedhawk Strange, I wonder why mine breaks with single quotes. If I change mine back to single quotes, it won’t load.

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 3
                    • 2 / 3
                    2 / 3
                    • First post
                      19/23
                      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