MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-cryptocurrency

    Troubleshooting
    4
    4
    1807
    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
      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
        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
          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
          • ?
            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
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy