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.

    MMM-cryptocurrency

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 4 Posters 2.3k Views 3 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.
    • K Offline
      kbostick88
      last edited by kbostick88

      I am having some issues all of a sudden with this module, I have can not get Ethereum, Litecoin, and Ripple to display the price. I get NaN

      also if someone could help me change to use colored logos that would be awesome, I can’t figure it out

      	module: "MMM-cryptocurrency",
      	position: "top_right",
      	config: {
      		currency: ['bitcoin', 'ethereum', 'litecoin', 'ripple'],
      		displayType: 'logo',
      		showGraphs: false
      	}
      }```
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        Stellanova @kbostick88
        last edited by

        @kbostick88 I got the same problem. If I change the order of the currency the first one shows but the other is still NAN.
        I think it’s a problem with the MMM-cryptocurrency.js file.

        replied here also, so ppl can see

        1 Reply Last reply Reply Quote 0
        • C Offline
          Charley Module Developer
          last edited by

          I have made an updated extended version of MMM-cryptocurrency it is based on Mattelo’s work

          MMM-crypto-portfolio

          MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by A Former User

            I had this problem too and spent way too long digging into it. The problem is in config/config.js. In the config for the MMM-cryptocurrency module, both “currency” and “significantDigits” SHOULD be arrays. If you’re trying to show more than one crypto, but don’t update “significant digits” then any index after 0 will show as NaN.

            Here’s my config as an example:

                        {
                                module: "MMM-cryptocurrency",
                                position: "top_center",
                                config: {
                                        currency: ['ethereum', 'bitcoin'],
                                        conversion: 'USD',
                                        showUSD: false,
                                        //headers: ['change24h', 'change1h', 'change7d'],
                                        displayType: 'logoWithChanges',
                                        showGraphs: false,
                                        significantDigits: [2,2],
                                        coloredLogos: true,
                                }
                        },
            
            1 Reply Last reply Reply Quote 0

            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
            • 1 / 1
            • 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