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 89.4k 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

      @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
      • foxF Offline
        fox @SvenSommer
        last edited by fox

        @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 Reply Quote 0
        • M Offline
          matteodanelli @fox
          last edited by

          @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!

          foxF 1 Reply Last reply Reply Quote 1
          • foxF Offline
            fox @matteodanelli
            last edited by

            @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 Reply Quote 0
            • M Offline
              matteodanelli @fox
              last edited by

              @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.

              foxF 1 Reply Last reply Reply Quote 1
              • foxF Offline
                fox @matteodanelli
                last edited by

                @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
                • foxF Offline
                  fox
                  last edited by

                  @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 Reply Quote 0
                  • C Offline
                    canadrian @fox
                    last edited by

                    @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

                    foxF 1 Reply Last reply Reply Quote 1
                    • foxF Offline
                      fox @canadrian
                      last edited by

                      @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 Reply Quote 0
                      • M Offline
                        matteodanelli @fox
                        last edited by

                        @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.

                        foxF 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 8 / 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