Read the statement by Michael Teeuw here.
Its may a problem with node_helper
-
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 -
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
-
I got it and will upload it to github ASAP ;)
-
Really. š³ Awesome.
So excited. Fine. 5am and was about to go to bed.
Better stay up a little later lol
-
-
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).
-
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?
-
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ā¦
-
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?
-
@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.
-
-
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.9thAs 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
-
@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
-
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ā¦
-
I think its node_helper issueā¦
What was it you changed to fix that?
Thanks again for building this
-
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 ;)
-
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
-
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.jsonIām guessing Iām still doing something wrong
Note from admin: Please use Markdown on code and console output for easier reading!
-
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
-
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 ;)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better š
Register Login
