• 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
  1. Home
  2. Rmtcts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
R
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 0
  • Posts 2
  • Groups 0

Rmtcts

@Rmtcts

0
Reputation
359
Profile views
2
Posts
0
Followers
0
Following
Joined Dec 10, 2016, 8:42 PM
Last Online Dec 19, 2016, 10:12 PM

Rmtcts Unfollow Follow

Latest posts made by Rmtcts

  • RE: Fitbit

    Where could I get the access and refresh tokens from?

    posted in Troubleshooting
    R
    Rmtcts
    Dec 11, 2016, 11:20 AM
  • RE: Fitbit

    I’m having a bit of trouble getting this to work with my Magic Mirror. The display is there but it has 0 in all of the categories. I have followed the steps and I get up to running setupAccess.py which takes me to a webpage where I allow access to all of the checkboxes, but it then just redirects to the magic mirror screen with 0s in all of the categories. if I run getData.py it says

    {"message": "credentials.ini exists", "type": "status"}
    {"message": "Reading from credentials.ini", "type": "status"}
    {"message": "Read of credentials.ini successful.", "type": "status"}
    {"message": "credentials.ini exists", "type": "status"}
    {"message": "Reading from credentials.ini", "type": "status"}
    {"message": "Read of credentials.ini successful.", "type": "status"}
    {"message": "tokens.ini exists", "type": "status"}
    {"message": "Reading from tokens.ini", "type": "status"}
    {"message": "Read of tokens.ini successful.", "type": "status"}
    {"message": "Making API call", "type": "status"}
    {"message": {"401": {"errors": [{"message": "Access token invalid: <your access token>. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process.", "errorType": "invalid_token"}], "success": false}}, "type": "error"}
    {"message": "Invalid token, reauthorise fitbit API", "type": "status"}
    

    and the tokens.ini file says:

    [Tokens]
    acc_tok = <your access token>
    ref_tok = <your refresh token>
    
    posted in Troubleshooting
    R
    Rmtcts
    Dec 10, 2016, 8:49 PM
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