Read the statement by Michael Teeuw here.
Currency Exchange Rates?
-
@yawns Super job. Thank you. Works well.
Is it possible to define which currency is displayed first?Just in case another newbie comes along. the last (,) comma is in the wrong place and should be moved to the end.
Best wishes.
-
I guess I could add some sorting mechanism, maybe based on the array order.
Which comma exactly? I’m just on my smartphone, so I might oversee it
-
@yawns The one on the penultimate line.
modules: [
{
module: ‘MMM-CurrencyExchange’,
position: ‘top_right’,
config: {
base: ‘EUR’,
symbols: [‘GBP’, ‘USD’]
},
} -
Thanks. Fixed!
-
Great module - works perfectly!
I’m not sure if this is just me, but for some currencies I like to switch the base currency because that makes more sence to me.
Suggestion: make an array of base/currencies, like this:
currencies: [ { base: 'NOK', symbol 'THB' }, { base: 'EUD', symbol 'NOK' }, { base: 'USD', symbol 'NOK' } ]
A little harder to configure, but much more flexible.
Again - not sure if this is for everyone… (?)
-
Nice idea!
I’m at home on Wednesday, I guess I’ll find some time to look at this. Would require more api requests or more conversion and math. -
@yawns Hi,
How often does this refresh? I’m getting no changes on my mirror even though I’m restarting it.
-
The api provider is http://fixer.io and updates once a day. If you check the website and click on the first code snippet it should unfold and show the latest update including exchange rates. Does this match with what you see on the mirror? Or is the data on your mirror older?
You could enable the customHeader, then the update date is shown as retrieved from the api -
@yawns thanks. The date says a day out I.e the 5th for today (the 6th). I wasn’t aware of only a daily update, so it must be working OK. Thanks
-
@yawns Appreciate developing this module. Just added this to my “soon-to-be-completed” MM and looks good!