horihiro / node-fitbit-livedata

This project aims to getting `livedata` from Fitbit tracker, is unofficial and experimental.
MIT License
10 stars 3 forks source link

Heart rate help #2

Open VanniDb opened 6 years ago

VanniDb commented 6 years ago

Hello! I need HELP! I don't see heart rate on raspberry pi 2 with my "Charge 2"

I have install npm i fitbit-livedata in my directory and if i test it with

$ DEBUG=noble,bleno,fitbit-livedata node ./dist/bin/cli.js -u -p -t "Charge 2"

this is result:

shell

can you help me? what I can do?

horihiro commented 6 years ago

Sorry, I have not tried this module with Charge 2 because I don't have it.

Please check again whether Heart Rate settings of Charge HR is On or Auto using FItbit app for a smartphone, and sync again. Refer to https://github.com/horihiro/node-fitbit-livedata/issues/1#issuecomment-346490010

# but It seems that not only `heartRate' but also other data are not got on your screenshot... :worried:

VanniDb commented 6 years ago

No no the string it's ok. scatto2

it's only heart rate that is KO... I try all app's configuration but the situation it's the same...

horihiro commented 6 years ago

Sorry, I don't have Charge 2, so I can't investigate any further.

VanniDb commented 6 years ago

I try to solve the enigma but I don't understand because there are 3 version of this package: npm packge; gitHub repository master; gitHub repository developer.

the only package that node "cli.js" is npm package... the sequence in readme don't work... the sequence that you have post in the previous help don't work...

this is error:

error

I test this module in Os sierra, Os hight sierra, raspbian.. and the situation is the same...

where did I go wrong? you can suggest something?

horihiro commented 6 years ago

The codes in the GitHub repositories and a sample in readme are written in ES6. So the codes has to be built by npm run gulp babel and the sample has to be executed by babel-node.