-
Notifications
You must be signed in to change notification settings - Fork 4
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
exchangeratesapi.io now requires an access key #8
Comments
Yes, this is very recent. Even if you get an access key, the free version by default only allows EUR as the base, and updates I think are limited to 250 per month. I have made some changes which makes it work for me. Happy to share as long as you are aware I am not a javascript expert. It also cuts the number of decimal places shown down to 4. |
I signed up and found, just like you, that base is default at EUR and 250 requests per month, its like 8 requests per day. |
Making the attached changes to the config.js and MMM-CurrencyExchange.js worked for me. It gets the exchange rates against EUR for the currencies and then recalculates the rate against your entered base currency (USD in the example). Also amended the apiBase from https to http, changed the updateInterval to once every 3 hours (max of 248 times per month), and changed the number of decimal place to 4. |
Thanks Fritz for sharing your findings and solution. My module is running again. Much appreciated |
Thank you Fritz for making this work again!
|
It's because it's hard coded in the .js file. |
Discovered today when accessing exchangeratesapi.io:
`
The text was updated successfully, but these errors were encountered: