• 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 - v1.4

Scheduled Pinned Locked Moved Utilities
77 Posts 21 Posters 77.6k Views 25 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.
  • M Offline
    matteodanelli @rmeskill
    last edited by Oct 23, 2017, 3:15 PM

    @rmeskill Hi, sure! You can contribute to the project if you want :)

    You can either create a fork of my repository and develop it with your needs. But you’ll lose my updates.
    Else, to keep updated, fork the repository and then make a pull request to merge your fork with my repository.
    I’ll accept it and everyone will have your useful work :)

    1 Reply Last reply Reply Quote 1
    • F Offline
      fox @SvenSommer
      last edited by fox Nov 3, 2017, 6:13 PM Nov 3, 2017, 6:05 PM

      @SvenSommer Amazing Changes.
      Thank you both. My question:
      How to change the font size?
      I was in MMM-cryptocurrency.css but there is no font.
      thanks

      edit: i found it

      .mmm-cryptocurrency-icon > tr > td {
          padding-bottom: 10px;
          text-align: left;
      	font-size: 80%;
      }
      

      How can i show other graphs?
      Bild Text

      Issues With MMM-WatchDog known?

      https://forum.magicmirror.builders/post/29827

      Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

      M 1 Reply Last reply Nov 3, 2017, 7:45 PM Reply Quote 0
      • M Offline
        matteodanelli @fox
        last edited by Nov 3, 2017, 7:45 PM

        @fox Hi,
        About the graphs, you should add your currency inside sparklineIds array (in Js file), which have to be taken directly from coinmarketcap.com.

        Let me know if it works!

        F 1 Reply Last reply Nov 5, 2017, 10:31 AM Reply Quote 1
        • F Offline
          fox @matteodanelli
          last edited by Nov 5, 2017, 10:31 AM

          @matteodanelli thank you.
          But i dont know where the sparkline Id is written in coinmarketcap.
          e.g. for IOTA: https://coinmarketcap.com/currencies/iota/#tools ?

          Issues With MMM-WatchDog known?

          https://forum.magicmirror.builders/post/29827

          Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

          M 1 Reply Last reply Nov 5, 2017, 12:54 PM Reply Quote 0
          • M Offline
            matteodanelli @fox
            last edited by Nov 5, 2017, 12:54 PM

            @fox You can find id in the homepage of coinmarketcap. Just get the link of the image of the graph of the desired currency.

            EG. For IOTA, link is https://files.coinmarketcap.com/generated/sparklines/1720.png, so id is 1720.

            F 1 Reply Last reply Nov 5, 2017, 3:08 PM Reply Quote 1
            • F Offline
              fox @matteodanelli
              last edited by Nov 5, 2017, 3:08 PM

              @matteodanelli Thank you! It worked and again - what an amazing module. Thank you very much.

              Issues With MMM-WatchDog known?

              https://forum.magicmirror.builders/post/29827

              Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

              1 Reply Last reply Reply Quote 0
              • F Offline
                fox
                last edited by Nov 7, 2017, 7:13 PM

                @matteodanelli , @Klizzy
                a portfolio view would be amazing, what do you think?
                Like on the iOS app delta or on cryptocompare or etc. portfolios.
                But its harder to implement i think because its the view of each MagicMirror User’s portfolio ?!

                Issues With MMM-WatchDog known?

                https://forum.magicmirror.builders/post/29827

                Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                C 1 Reply Last reply Nov 13, 2017, 7:53 PM Reply Quote 0
                • C Offline
                  canadrian @fox
                  last edited by Nov 13, 2017, 7:53 PM

                  @fox said in MMM-cryptocurrency - v1.4:

                  @matteodanelli , @Klizzy
                  a portfolio view would be amazing, what do you think?
                  Like on the iOS app delta or on cryptocompare or etc. portfolios.
                  But its harder to implement i think because its the view of each MagicMirror User’s portfolio ?!

                  alternate way, use maybe coinfolium.com, generate your link and use iframe in the mirror

                  F 1 Reply Last reply Nov 14, 2017, 8:15 PM Reply Quote 1
                  • F Offline
                    fox @canadrian
                    last edited by Nov 14, 2017, 8:15 PM

                    @canadrian
                    thank you i will give it a try. But i have to maintain the link after every trade?

                    @matteodanelli
                    what is my problem with bitcoin-gold?

                    : {
                      currency: [
                               "bitcoin",
                                "monero",
                                "iota",
                                "eos",
                                 "bitcoin-gold"
                     ],
                    
                    

                    and the

                      sparklineIds: {
                        bitcoin: 1,
                        ethereum: 1027,
                        ripple: 52,
                        litecoin: 2,
                        'ethereum-classic': 1321,
                        nem: 873,
                        stratis: 1343,
                        iota: 1720,
                        monero: 328,
                        eos: 1765,
                        'bitcoin-cash': 1831,
                        'bitcoin-gold': 2083
                      },
                    
                    

                    Logo is bitcoin-gold.png

                    But is does not appear on my Magic mirror :/

                    Issues With MMM-WatchDog known?

                    https://forum.magicmirror.builders/post/29827

                    Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                    M C 2 Replies Last reply Nov 14, 2017, 9:30 PM Reply Quote 0
                    • M Offline
                      matteodanelli @fox
                      last edited by Nov 14, 2017, 9:30 PM

                      @fox Because in the ranking is too low. You should change limit from 100 to at least 1000 in getTicker function to get it working.

                      F 1 Reply Last reply Nov 15, 2017, 8:17 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 5 / 8
                      • 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