MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. kckndrgn
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 22
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Looking for Beta-testers!

      I am now on the development branch.
      I have verified that the changes fixed my “blank screen” with the language set in the config file.

      Thanks!

      posted in MagicMirror
      K
      kckndrgn
    • RE: Fitbit

      Solved my issues.

      Saw the following when starting up MM

      results: [{"message":"Writing credentials to credentials.ini","type":"status"},{"message":"Writing id: undefined and secret: undefined","type":"status"},{"message":"Credentials write successful","type":"status"}]
      Create new todo fetcher for list: Groceries - Interval: 60000
      Create new todo fetcher for list: Family - Interval: 60000
      Whoops! There was an uncaught exception...
      { Error: process exited with code 1
          at terminateIfNeeded (/home/pi/MagicMirror/modules/node_modules/python-shell/index.js:100:23)
          at ChildProcess.<anonymous> (/home/pi/MagicMirror/modules/node_modules/python-shell/index.js:88:9)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
        executable: 'python',
        options: null,
        script: 'modules/MMM-fitbit/python/getData.py',
        args: null,
        exitCode: 1 }
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      

      Tracing the information back, it was in the config.js file. I had an extra set of [] around the credentials data. Not sure how or why I had it that way, but all cleared up now.

      posted in Troubleshooting
      K
      kckndrgn
    • RE: Fitbit

      I’m having a problem with my fitbit module. (mods if this should be a new thread just let me know).
      I can start the MM and the FB data loads, then after a time my ‘credentials.ini’ file gets changed to “undefined” for both entries

      [Credentials]
      c_id = undefined
      c_secret = undefined
      

      Now, when I ran setupAccess.py the file was correct and my tokens file was created. What I’m seeing happen is that after a while the FB module stops refreshing. I’m guessing it’s because the tokens need to be refreshed and because my credentials are gone, it can’t authorize.

      Any thoughts?
      I’m not sure how to get any logs or info out of the system. I’m running MM through pm2 and I don’t see any log files.

      TIA

      posted in Troubleshooting
      K
      kckndrgn
    • RE: Looking for Beta-testers!

      Cool, I’m in, I like breaking things LOL :D

      As a noob to the MM project I’m really fascinated by it and eager to start writing my own modules (though I keep finding modules that suit my purpose).

      posted in MagicMirror
      K
      kckndrgn
    • RE: Fitbit

      OK, So I’m working on this and being new to MM, NodeJS, GIT, etc. is not helping :) (I am a programmer, so at least I have that going for me).
      Something that I don’t think was too clear, at least it wasn’t for me. When running setupAccess.py, it’s starting a web service, the direction say to log into your fitbit account and authorize your app, what I had to do, on my Pi, was to go to 127.0.0.1:8080. This initiated the redirect to Fitbit, when I logged in I had the check boxes to enable/disable items and the allow/deny buttons.
      When I clicked on the “allow” then the terminal with setupAccess running showed that the tokens were getting written out, and indeed the tokens.ini file was finally created.

      posted in Troubleshooting
      K
      kckndrgn
    • RE: Fitbit

      Lots of good info to try out. I failed at getting this working this morning before leaving for work.

      I do have a question. The directions say MM has to be started with sudo, i’m starting it by running ‘pm2 start mm’ per the MM install setup. How do I run this as root?

      Thanks

      posted in Troubleshooting
      K
      kckndrgn
    • RE: mm-system-temperature

      @PointPubMedia
      Sorry,
      the correct syntax is prependString per the documentation:

      prependString: 'Pi 3 Temp: '
      

      worked on my system.

      posted in Troubleshooting
      K
      kckndrgn
    • RE: mm-system-temperature

      @PointPubMedia Yes, the prepend string is in the config

      modules: [
          {
              module: 'mmm-systemtemperature',
              position: 'top_center', // This can be any of the regions.
              classes: 'small dimmed', // Add your own styling. Optional.
              config: {
                 **prepend: 'your string'**
              }
          }
      ]
      ~~~
      posted in Troubleshooting
      K
      kckndrgn
    • RE: mm-system-temperature

      The module worked for me, running on RPi 3. The plugin is just executing a script, then stripping off extra data.

      What system are you running the module on?

      posted in Troubleshooting
      K
      kckndrgn
    • RE: System temperature really hot

      My system runs 144F when in a case and about 130F out of the case (well, with the top removed). It a Vilros case for the PI3.

      Is your Pi in a case or somewhere where there is no good air flow? Do you have a heat sink on the CPU?

      posted in Troubleshooting
      K
      kckndrgn
    • 1
    • 2
    • 3
    • 2 / 3