Read the statement by Michael Teeuw here.
MMM-CoinMarketCap unable to get data
-
Have you solve the problem?
In my case it is loading… all the time.
-
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.
-
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’,
}
}, -
Replace ‘APIKEY’, with “APIKEY”,
-
@ftap which quote doesnt matter
careful , dont use quotes that are curved, which are word processing. mm requires text type
single or dual
-
Hi there, thanks.
Got it, i did the edit in Greany… this dont work. User the text editor and it runs. :-) -
@sdetweil Ah, it didn’t work with single quotes for me. Double quotes fixed it.
shrug
-
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. -
@TheRedhawk Post up the module portion of the config file. Might be an error in there.
-
@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.0var 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', } }, ] }; -
@TheRedhawk Strange, I wonder why mine breaks with single quotes. If I change mine back to single quotes, it won’t load.
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