GithubHelp home page GithubHelp logo

Amount stuck on 0 about mmm-coinbase HOT 7 CLOSED

mlbonniec avatar mlbonniec commented on August 22, 2024
Amount stuck on 0

from mmm-coinbase.

Comments (7)

mlbonniec avatar mlbonniec commented on August 22, 2024

Hello, the variable is indeed set to 0 when API keys are not set. Your problem is that even with API keys, the Bitcoin value remains at 0?
Did you enter the right API keys? And did you authorize the API to access the reading of your Bitcoin wallet?
(I am French too so no problem)

from mmm-coinbase.

Fennsy avatar Fennsy commented on August 22, 2024

Yes, I've entered the apiKey and apiSecret in config.js (with the right permissions in Coinbase) but I think it do not check my apiKey, I will continue to look for where the problem may come from because it stuck on 0.

Thank's for your answer and great job for your module !

from mmm-coinbase.

mlbonniec avatar mlbonniec commented on August 22, 2024

It is indeed strange, I will also look on my side. Let me know if you find anything!
Thank you very much for your support!

from mmm-coinbase.

Fennsy avatar Fennsy commented on August 22, 2024

I will try an update of raspbian and magicmirror because I am in 2.6.0 and I come back to you

from mmm-coinbase.

Fennsy avatar Fennsy commented on August 22, 2024

After the update, it's the same but the error log display :

ReferenceError: account is not defined
at /home/pi/MagicMirror/modules/MMM-Coinbase/node_helper.js:15:21
at handleError (/home/pi/MagicMirror/modules/MMM-Coinbase/node_modules/coinbase/lib/errorHandler.js:62:5)
at onGet (/home/pi/MagicMirror/modules/MMM-Coinbase/node_modules/coinbase/lib/ClientBase.js:254:10)
at handleHttpError (/home/pi/MagicMirror/modules/MMM-Coinbase/node_modules/coinbase/lib/errorHandler.js:52:5)
at Request.onGet [as _callback] (/home/pi/MagicMirror/modules/MMM-Coinbase/node_modules/coinbase/lib/ClientBase.js:160:10)
at Request.self.callback (/home/pi/MagicMirror/modules/MMM-Coinbase/node_modules/request/request.js:186:22)
at Request.emit (events.js:182:13)
at Request. (/home/pi/MagicMirror/modules/MMM-Coinbase/node_modules/request/request.js:1163:10)
at Request.emit (events.js:182:13)
at IncomingMessage. (/home/pi/MagicMirror/modules/MMM-Coinbase/node_modules/request/request.js:1085:12)

But I have entered my apiKeys in config.js correctly :/
Hope that help you

from mmm-coinbase.

Fennsy avatar Fennsy commented on August 22, 2024

I've find the problem ! missing "s" in account"s" in line 15 of the node_helper.js, before "[0]", I've do the modification and it work for me !

from mmm-coinbase.

mlbonniec avatar mlbonniec commented on August 22, 2024

Hi!
Sorry about that mistake... it was finally all silly! So I updated the module! Thank you for finding him! And don't hesitate to ask me again if you need anything!

from mmm-coinbase.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.