mlbonniec / MMM-Coinbase

A module for Michael Teeuw's MagicMirror project that displays your crypto-currencies Coinbase balance.

Home Page:https://magicmirror.builders/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dont work?

pacherdj opened this issue · comments

Hi, I've created my API without any problem and I added to the config the API KEY, and the API Secret.
Then i set BTC as my coin and when I restart the mirror I can only see: COINBASE .................0

This is my module config:

module: "MMM-Coinbase",
position: "top_left", // put it where you want it
header: "Coinbase", // optional
classes: 'default everyone',
config: {
apiKey: "MYAPIKEY", // the key previously copied
apiSecret: "MYAPISECRET",
wallet: ["BTC"], // list of currencies
icons: true, // currently only Ethereum and Bitcoin supported
label: false // shows currency labels (e.g. BTC, ETH and so on)
}

I dont know where is the problem.
Can you confirm its working nowadays?
Thank you.

Hi, actually I can't confirm that the module is still working. There are currently 3 of you identifying the problem.
Maybe the API has changed, I don't know. I'll try to figure that out when I have time.
In the meantime, are you sure you checked the right wallet when you created the API key?

Hello
coinbase module (used in MMC-coinbase) is deprecated so the code need to be update (make directly requests)

Hey!

The module's fixed!
Sorry for the delay, but now it's working!
Tell me if you have a problem.

Hey Guys, I was checking it for a day now! And could get it work.

Just act like this and you will be fine, including the deprecated issues! DO NOT FIX THEM!

run in following order

1.) Go to the directory modules in the MagicMirror folder

2.) git clone https://github.com/mlbonniec/MMM-Coinbase.git

3.) cd MMM-Coinbase

4.) npm install


Just let it install like this and adjust/insert your config.js It will work! Trust me!

DO NOT FIX YOUR DEPRECATED FILES!

Peace!

commented

I got the following Error
[2020-10-15 18:49:56.278] [ERROR] Error: ESOCKETTIMEDOUT
at ClientRequest. (/opt/magic_mirror/modules/MMM-Coinbase/node_modules/request/request.js:813:19)
at Object.onceWrapper (events.js:421:28)
at ClientRequest.emit (events.js:315:20)
at TLSSocket.emitRequestTimeout (_http_client.js:709:9)
at Object.onceWrapper (events.js:421:28)
at TLSSocket.emit (events.js:327:22)
at TLSSocket.Socket._onTimeout (net.js:482:8)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7) {
code: 'ESOCKETTIMEDOUT',
connect: false
}

Hey
Please for future problems, open a specific issue. For your error, does module succefully connect to coinbase the first time ?

commented

No, it does not

commented

I also found this in the Chrome Console
image

Please open an other issue