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

Its may a problem with node_helper

Scheduled Pinned Locked Moved Development
31 Posts 3 Posters 20.1k Views 2 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.
  • S Offline
    schnep202
    last edited by Jul 14, 2016, 8:15 PM

    I want to built a module wich can show me the actual price of a Bitcoin in €.
    The price should come from the API of blockchain.info via json.

    I used the MMM-Traffic module to see how it works and built my own like you can see in the files below.

    After updating the config file and run the Mirror, nothing happens…
    I dont get any feedback from the node_helper :(

    I would be really thankful if anyone can help me out!

    0_1468526935331_MMM-Bitcoin.js
    0_1468526949170_node-helper.js

    1 Reply Last reply Reply Quote 1
    • P Offline
      Phate
      last edited by Phate Jul 15, 2016, 1:51 PM Jul 15, 2016, 1:50 PM

      Yes yes yes yes yesssssss please…

      I also would love to be able to track the details of my mining pools even the miners them selves…

      They all have api’s or I know I could use import.io and their api to get the data just don’t know how to display it…

      Bitcoin Price was my first must have module to work out…

      I’d also love a wallet amount display… I think blockchain.info has an api for looking up wallets

      Hope this happens…

      NB: Australian dollar price would be awesome but I’d settle for US lol

      1 Reply Last reply Reply Quote 0
      • S Offline
        schnep202
        last edited by Jul 15, 2016, 7:13 PM

        I got it and will upload it to github ASAP ;)

        P 2 Replies Last reply Jul 15, 2016, 7:22 PM Reply Quote 0
        • P Offline
          Phate @schnep202
          last edited by Jul 15, 2016, 7:22 PM

          @schnep202

          Really. 😳 Awesome.

          So excited. Fine. 5am and was about to go to bed.

          Better stay up a little later lol

          1 Reply Last reply Reply Quote 0
          • P Offline
            Phate @schnep202
            last edited by Jul 15, 2016, 7:25 PM

            @schnep202

            How by the way. Did you write this yourself?

            Modify someone else’s something?

            Awesome.

            1 Reply Last reply Reply Quote 0
            • S Offline
              schnep202
              last edited by Jul 15, 2016, 7:33 PM

              I used the MMM-Traffic module as base for learning how the hole thing should work.

              Now i am working on some styling stuff and make it a bit more dynamic.

              BTW: Australian dollar is possible ;)

              I think i will upload it tomorrow evening (CET).

              P 1 Reply Last reply Jul 15, 2016, 7:34 PM Reply Quote 0
              • P Offline
                Phate @schnep202
                last edited by Jul 15, 2016, 7:34 PM

                @schnep202

                Dude… Legend…

                lol

                Will hang out in anticipation… Just ordered some PIR senses… getting exciting lol

                Thanks again…

                Hopefully I can pick through your module to learn how to make my own… I’m trying…

                Where are you pulling the prices from?

                1 Reply Last reply Reply Quote 0
                • S Offline
                  schnep202
                  last edited by Jul 15, 2016, 7:50 PM

                  I get them from https://blockchain.info/ticker and read the json line for a selected currency.

                  You can define a desired Price. The displayed price is marked green when its reached. In addition i want to display a graph for a week or so, but its not implemented yes…

                  P 1 Reply Last reply Jul 15, 2016, 7:55 PM Reply Quote 1
                  • P Offline
                    Phate @schnep202
                    last edited by Jul 15, 2016, 7:55 PM

                    @schnep202

                    God that sounds so great… i would have been happy with just the price… Indicators would be so awesome…

                    And from the sounds of it I may be able to adapt the module to pull json from import.io…

                    That will allow me to grab the from my mining pools…

                    I was hoping there was someone else interested… I was going to offer up a bitcoin reward for someone to make the module…

                    Are you a miner also?

                    K S 2 Replies Last reply Jul 15, 2016, 8:18 PM Reply Quote 0
                    • K Offline
                      KirAsh4 Moderator @Phate
                      last edited by Jul 15, 2016, 8:18 PM

                      @Phate said in Its may a problem with node_helper:

                      Are you a miner also?

                      I used to be … but there’s no competing with China (yes, the country), the biggest miner in the world.

                      A Life? Cool! Where can I download one of those from?

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        9/31
                        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