• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.1k 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 Apr 19, 2018, 8:49 PM Apr 19, 2018, 8:48 PM

    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 Apr 20, 2018, 1:21 AM Reply Quote 0
    • S Offline
      Stellanova @kbostick88
      last edited by Apr 20, 2018, 1:21 AM

      @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 Apr 20, 2018, 4:42 PM

        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 Apr 29, 2018, 5:23 PM Apr 29, 2018, 5:22 PM

          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 Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy