• 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 19.9k 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 @Phate
    last edited by Jul 15, 2016, 8:19 PM

    @Phate

    I did some private mining a long time ago but its not worthwhile anymore.

    What do you offer for what kind of module? :D

    Here is a link to github but remember that work is still in process!

    https://www.capsload.it/images/1468613581.png

    P 3 Replies Last reply Jul 16, 2016, 7:01 AM Reply Quote 0
    • P Offline
      Phate @schnep202
      last edited by Jul 16, 2016, 7:01 AM

      @schnep202

      You are a legend…

      I guess you mined in the CPU/GPU days…

      I’m in a unique situation…

      I have access to free power :-)

      Running:
      300mh Scrypt KNC Titan ASIC
      4 X 40mh Scrypt Zeus ASICS
      2 X Antminer 4.7th Sha S7’s
      Just got an Antminer S9 - 12.9th

      As soon as I get home from work I’m going to try installing your module… Excited…

      How much would you consider fair to code a module?

      I want some sort of module that makes it easy for people like me to get any data. Thats why i’m thinking import.io or something like it.

      One module for as much data as you can find on the net.

      But I may be able to adapt your module to import.o’s api… maybe lol

      1 Reply Last reply Reply Quote 0
      • P Offline
        Phate @schnep202
        last edited by Jul 16, 2016, 9:50 AM

        @schnep202 said in Its may a problem with node_helper:

        link

        hmmmm frustrating… had a quick try while working…

        No luck so far…

        Where are the dependencies meant to be installed…

        Straight to pi? In the Magic Mirror folder? Module folder?

        I think this is the same reason i can’t get the iCloud module to work…

        Have another attempt after work…

        Cheers again… Awesome work… it looks great

        1 Reply Last reply Reply Quote 0
        • P Offline
          Phate
          last edited by Jul 16, 2016, 5:16 PM

          I had another play around…

          Pretty sure my issues is with the dependencies…

          No idea whats going wrong… either installing in wrong place or errors stop me…

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

            @schnep202

            I think its node_helper issue…

            What was it you changed to fix that?

            Thanks again for building this

            S 1 Reply Last reply Jul 17, 2016, 5:22 PM Reply Quote 0
            • S Offline
              schnep202 @Phate
              last edited by Jul 17, 2016, 5:22 PM

              hey @Phate

              sorry for the late answer. was a bit busy these days :o

              you need to install the dependencies directly in the MMM-Bitcoin folder to run the request.
              hope you will get it run ;)

              my problem at the beginning of writing the module was just a wrong file name of module_helper.js. yes i know, it was a bit stupid…

              i started mining with some usb asic miners. if i remember it right, they had about 300Mhash each :D

              a module to get any type of data would a bit complicated because you need to know what kind of fields you have in you json. a real dynamic module for any json input would be over my horizon i guess. but if i have some time, i would give it i try ;)

              P 1 Reply Last reply Jul 17, 2016, 5:37 PM Reply Quote 0
              • P Offline
                Phate @schnep202
                last edited by Jul 17, 2016, 5:37 PM

                @schnep202

                No problem at all mate… Appreciate any help at all lol

                USB little blade things… I skipped that stage… Went GPU rig straight to larger ASICS… Cost a fortune at the time tho lol

                My issue is installing the dependencies in the actual Bitcoin module folder… it throws an error…

                I’ll try again now and see if I can copy paste the error

                In case I’m doing this wrong…

                Cd into module folder MMM-Bitcoin

                npm install request

                P 1 Reply Last reply Jul 17, 2016, 5:44 PM Reply Quote 0
                • P Offline
                  Phate @Phate
                  last edited by paviro Jul 17, 2016, 6:22 PM Jul 17, 2016, 5:44 PM

                  @Phate

                  I’ve tried a bunch of different ways to get the dependencies installed in the modules folder… No luck…

                  Keep getting:

                  ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json
                  ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_helper/package.json
                  

                  I’m guessing I’m still doing something wrong


                  Note from admin: Please use Markdown on code and console output for easier reading!

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Phate
                    last edited by Jul 18, 2016, 3:17 PM

                    I haven’t had another chance to have a play yet. Think I need a reinstall of the whole magic mirror system. Start fresh.

                    It occurs to me tho that I should be able to adapt you module to lookup an address balance…

                    I love the idea of being able to set notifications for the price… Haven’t been able to see how that works yet but I wonder if a config setting is possible where it takes the previous value and indicates the price changes compared to the new price… i.e. up or down

                    Again awesome job… can’t believe how quick some of you guys write these modules… lol

                    S 1 Reply Last reply Jul 18, 2016, 4:31 PM Reply Quote 0
                    • S Offline
                      schnep202 @Phate
                      last edited by Jul 18, 2016, 4:31 PM

                      Ahoi @Phate

                      had this problem a few weeks ago. dont remember how i fixed it :D
                      You can try to copy the dependency by your own to …/MMM-Bitcoin/node_modules/request/.
                      but i am not sure if this will work…

                      a comparison between to prices should not be a big problem ;)

                      P 1 Reply Last reply Jul 18, 2016, 4:54 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        19/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