Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working #24

Closed
PierreGode opened this issue Mar 30, 2020 · 4 comments
Closed

Not working #24

PierreGode opened this issue Mar 30, 2020 · 4 comments

Comments

@PierreGode
Copy link

Hi! I have installed the module under modules and added to the magic mirror config.js
{
module: 'MMM-COVID19',
config: {
updateInterval: 30000,
worldStats: true,
//countries: [ "USA", "Italy", "Spain" ],
headerRowClass: "small",
rapidapiKey : "b82151b3d5msh55f3629c1a9MY -rapidapi-KEY*****"
}
},

But the module is now showing in the mirror. I have several modules that are working.

also I con not see position config in your setup like: ( position: "top_left", )

I guess that I am missing something.

Best regards Pierre

@testdruif
Copy link
Contributor

Hi Pierre,

I notice your api key includes the string "MY -rapidapi-KEY*****"
If that's in your live config it might be why no data is displayed

@PierreGode
Copy link
Author

Hi no I hid it with purpose! I found the issue! 'MMM-COVID19', should be "MMM-COVID19",
I made some changes to your readme file and sent an pull request

@PierreGode
Copy link
Author

Solved fixing config.

my config is: ( api key is hidden ) replace rapidapiKey: "get api from https://rapidapi.com/astsiatsko/api/coronavirus-monitor" with api key!
{
module: "MMM-COVID19",
header: "COVID19",
position: "top_left",
config:{
countries: ["USA", "Sweden", "China", "Spain", "Italy"],
delta: true,
worldStats: true,
updateInterval: 60 * 60 * 1000,
infoRowClass: "small",
headerRowClass: "small",
rapidapiKey: "get api from https://rapidapi.com/astsiatsko/api/coronavirus-monitor"
}
},

@PierreGode
Copy link
Author

example image for the "Wecome page"
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants