• 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.7k 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.
  • A Offline
    ArkantosArk @matteodanelli
    last edited by Sep 3, 2017, 8:03 PM

    @matteodanelli Hi have reinstalled the module and keeps showing the same error on the logs:

    modules/MMM-cryptocurrency//MMM-cryptocurrency.js @68: TypeError: undefined is not a function (evaluating ‘this.config.headers.includes(‘change1h’)’)

    It seems that it can be an issue on line 68 on that file. If I copy and paste the content of the file on JSHint.com, it shows me that there is an error on some lines:

    0_1504468978573_Captura de pantalla 2017-09-03 a las 21.02.11.png

    I would love it to have this module on detail mode, but it seems that is only working properly in logo mode for now.

    M 1 Reply Last reply Sep 7, 2017, 9:13 PM Reply Quote 0
    • M Offline
      matteodanelli @ArkantosArk
      last edited by Sep 7, 2017, 9:13 PM

      @ArkantosArk Hey,
      I make a bug fix where you outlined some problems. You can checkout updated code from repository.

      Now you should have the module working in both configuration.
      Let me know.

      Thank you!

      A 1 Reply Last reply Sep 8, 2017, 6:29 PM Reply Quote 0
      • A Offline
        ArkantosArk @matteodanelli
        last edited by Sep 8, 2017, 6:29 PM

        @matteodanelli Hi!

        I can see your update and now JShint doesn’t find any issues. However I still have the same exact issue as my previous post. Can this be a browser related issue? I am using Midori instead of Chrome (cause I’m implementing everything on a Raspberry pi 1).

        Anyway thanks a lot for correcting those bugs, I’m sure that would help somebody with the same issue!

        S M 2 Replies Last reply Sep 8, 2017, 7:42 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @ArkantosArk
          last edited by Sep 8, 2017, 7:42 PM

          @ArkantosArk Yes, midori doesn’t support ES6 and the module makes use of it. Try to run it and access it via a browser on another machine for testing purposes it should probably work.

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • M Offline
            matteodanelli @ArkantosArk
            last edited by Sep 9, 2017, 9:52 AM

            @ArkantosArk As @strawberry-3-141 mentioned, I use ES6 in the module and so some old browsers aren’t working. Midori uses an old version of the web engine, but I know that it’s the best browser on the RPi1.

            However, I tried to replace in my module a function which creates a problem. I am not sure to have solved totally the problem because I cannot test on Midori.
            I’ve updated the module so you can test it now, hoping that it’s working, or at least it shows less problems :)

            Let me know!

            A 1 Reply Last reply Sep 11, 2017, 7:35 PM Reply Quote 0
            • A Offline
              ArkantosArk @matteodanelli
              last edited by Sep 11, 2017, 7:35 PM

              @matteodanelli Now it’s working! thanks a lot for this I feel really privileged!. Thanks for taking the effort to update the module just for this.

              1 Reply Last reply Reply Quote 0
              • C Offline
                canadrian
                last edited by canadrian Sep 27, 2017, 12:47 AM Sep 27, 2017, 12:47 AM

                Thank you for this module.
                In order to add a new coin, I’ve added into sparklineIds the id, eg. chainlink: 1975,
                ran an nmp install into the MMM-cryptocurrency module, but still no luck,
                sparklineId is correct, am I missing something?
                Thanks in advance.

                M 1 Reply Last reply Sep 30, 2017, 1:54 PM Reply Quote 0
                • M Offline
                  matteodanelli @canadrian
                  last edited by matteodanelli Sep 30, 2017, 2:18 PM Sep 30, 2017, 1:54 PM

                  @canadrian said in MMM-cryptocurrency - v1.1:

                  chainlink: 1975

                  Hi,
                  I had configured module to get only top 25 currencies, in order to be more efficient.
                  Now I’ve updated module in order to get all 100. If you want to check it out last version you should be able to get it.

                  C 1 Reply Last reply Oct 1, 2017, 11:43 PM Reply Quote 0
                  • C Offline
                    canadrian @matteodanelli
                    last edited by Oct 1, 2017, 11:43 PM

                    @matteodanelli works great, thank you!

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      SvenSommer
                      last edited by SvenSommer Oct 19, 2017, 8:33 AM Oct 19, 2017, 8:32 AM

                      Hey @matteodanelli ,
                      thank you for this great module.
                      I added an alternative display mode to see the changes within the logo view.

                      0_1508401855634_logoWithChangesView.png

                      0_1508401863387_logoWithChangesAndGraphView.png

                      I made a pull request. Here are the changes:

                      • 1 hour , 1 day and 7days changes can be displayed by adding ‘logoWithChanges’ as display type.
                      • option and screenshots added to README.md

                      Looking for some building inspiration?
                      Check out my large, thin and metal framed mirror on robstechlog.com.

                      Modules released:
                      MMM-GoogleAnalytics
                      MMM-GrafanaChart
                      MMM-GrafanaGauges

                      M F 2 Replies Last reply Oct 20, 2017, 7:32 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 4 / 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