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.

    Currency Exchange Rates?

    Scheduled Pinned Locked Moved Solved Requests
    22 Posts 8 Posters 16.4k Views 8 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.
    • yawnsY Offline
      yawns Moderator
      last edited by

      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

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        foggy @yawns
        last edited by

        @yawns The one on the penultimate line.
        modules: [
        {
        module: ‘MMM-CurrencyExchange’,
        position: ‘top_right’,
        config: {
        base: ‘EUR’,
        symbols: [‘GBP’, ‘USD’]
        },
        }

        1 Reply Last reply Reply Quote 0
        • yawnsY Offline
          yawns Moderator
          last edited by

          Thanks. Fixed!

          1 Reply Last reply Reply Quote 0
          • CatoC Offline
            Cato Module Developer
            last edited by

            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… (?)

            1 Reply Last reply Reply Quote 0
            • yawnsY Offline
              yawns Moderator
              last edited by

              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.

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                frog @yawns
                last edited by

                @yawns Hi,

                How often does this refresh? I’m getting no changes on my mirror even though I’m restarting it.

                1 Reply Last reply Reply Quote 0
                • yawnsY Offline
                  yawns Moderator
                  last edited by

                  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

                  F E 2 Replies Last reply Reply Quote 0
                  • F Offline
                    frog @yawns
                    last edited by

                    @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

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      elmerito25 @yawns
                      last edited by

                      @yawns Appreciate developing this module. Just added this to my “soon-to-be-completed” MM and looks good!

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        AviY @yawns
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          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