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

ascension

@ascension

0
Reputation
730
Profile views
11
Posts
0
Followers
0
Following
Joined Jun 13, 2016, 12:14 AM
Last Online Jul 21, 2016, 8:05 PM

ascension Unfollow Follow

Latest posts made by ascension

  • RE: Fitbit

    @onetwankyfive
    Just the first part.

    posted in Troubleshooting
    A
    ascension
    Jul 7, 2016, 2:30 PM
  • RE: Fitbit

    @ascension
    Forgot to mention that you will need to create “tokens.ini” if you haven’t already. Editing the existing “tokens.ini.sample” won’t give the desired result when running the script, since it’s looking for “tokens.ini”.

    posted in Troubleshooting
    A
    ascension
    Jul 6, 2016, 5:48 PM
  • RE: Fitbit

    @Maldras
    I’ve mostly resolved the issue. I’ve still got to work out an issue with my access token not updating, but I think that may be down to an intermittent connectivity issue. My resolution started with the knowledge that the documentation for the module is a bit lacking… there is a list of underlying dependencies, also a" requirements.txt" which one would assume would verify all requirements are satisfied. This doesn’t seem to be the case. I first clicked on the fitbit dependency listed on the fitbit module. Once I navigated to it’s Github page, I cloned it to my MM modules folder. To be sure I didn’t have an issue of broken references, etc, I checked the files in the new python folder against those in MMM - fitbit/python folder, copy/pasting those files that were missing from the 2nd folder. There is a procedure for resolving this issue which If you have the issue I had is caused by an authentication failure listed on a webpage I found. Its a good read, but not all of the listed procedures were necessary. I’m listing what I did from memory, so hopefully I get it right… first, the site: http://pdwhomeautomation.blogspot.com/2016/01/fitbit-api-access-using-oauth20-and.html?m=1. When I copy/pasted from the folder created by the newer cloned Git, I saw that some files he lists were missing. One I had to create myself. I copied the script from the linked page (the first script listed in all green), saving it to my MMM-fitbit/python folder as “runthis.py”. I ran "setupAccess’, which opened a page whose url started with https://127.0.0.1, and ended with 2 long strings separated by “code” and I think some other text. I copied the entire url. Opened “runthis.py” and filled in client Id, secret, and the first code/key from the copied url. Be aware of the syntax in the script before editing. Double quotes, etc. Once edited run this script. Unless I’ve forgotten something your should get access tokens, Which will be listed in the script results window. Copy them. Be sure to get entire auth token and refresh token. Open tokens.ini. The tokens have likely been copied there already, but if not add them, without quotes. Assuming I haven’t forgotten anything, running “getdata.py” should now be successful, listing the retrieved data assuming your fitbit has been synched - it’ll only pull data if your fitbit dashboard shows data. Somewhere in the previously listed steps, you should be directed to the fitbit page which will advise you that you are now authorized.
    I’m not near my pc, and as I’ve mentioned this is all from memory. I can try to assist further if I’ve left something out…

    posted in Troubleshooting
    A
    ascension
    Jul 6, 2016, 5:29 PM
  • RE: Fitbit

    @ascension
    Made some progress by replacing braces with swirly brackets. The script moves further along and my credentials.ini gets updated. Running setupAccess.py is sucessful, it brings up a fitbit page which requests authorization, but even when I approve it, tokens.ini isn’t populated, fitbit app reads all zeros, and terminal returns error " There was an uncaught exception…{ [Error: process exited with code 1] executable: ‘python’, options: null, script: ‘modules/MMM-fitbit/python/getdata.py’, args: null, exitCode: 1}.

    posted in Troubleshooting
    A
    ascension
    Jun 29, 2016, 3:59 AM
  • RE: Fitbit

    This Module is driving me insane… Magic Mirror doesn’t start if I add the module script to my config.js as it is written in the example config.js. I can only get it to work by removing “Credentials: {” ,replacing the “[” from the previous line (config:[) with “{” and replacing the matching “]” with"}" . Magic Mirror will then run with the fitbit module displayed on screen with zeros for every field. It simply won’t update. I get “null” value errors and the .py script overwrites my credentials.ini file with empty spaces, I assume because of the missing “credentials” line in my config.js. I simply cannot make it work with any modification of the “credentials” line that I’ve tried. I’d really appreciate some help on this…

    posted in Troubleshooting
    A
    ascension
    Jun 28, 2016, 7:31 PM
  • RE: Profile switching API

    @KirAsh4
    Thanks for the quick response! I’ll take a look at the BUTTON module. Hopefully it’ll work the way I need it to. Fortunately, I only have 2 profiles I’ll need to cycle thru.

    posted in Requests
    A
    ascension
    Jun 27, 2016, 5:01 PM
  • RE: Profile switching API

    @00conman
    Any progress on this? Facial recognition looks great, but I can’t get approval from my better half to put a camera in the bathroom mirror… Changing profiles using a physical button or a gesture would work perfectly.

    posted in Requests
    A
    ascension
    Jun 26, 2016, 11:27 PM
  • RE: Don't know where to start...looking to build my 1st module, a Microsoft health module.

    @KirAsh4

    Thanks! I posted a request, but no responses as yet. I’m willing to give building it a try though.

    posted in Forum
    A
    ascension
    Jun 21, 2016, 12:30 AM
  • RE: Don't know where to start...looking to build my 1st module, a Microsoft health module.

    @KirAsh4

    Looks like there is! https://developer.microsoftband.com/

    posted in Forum
    A
    ascension
    Jun 21, 2016, 12:04 AM
  • Don't know where to start...looking to build my 1st module, a Microsoft health module.

    I’d like to build a Microsoft health module to pull info from my Microsoft account for display on my mirror. I’ve started researching how to do this, but confess to being a bit over my head with it at the moment. Can someone point me in the right direction?

    posted in Forum
    A
    ascension
    Jun 20, 2016, 10:58 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