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

    Posts

    Recent Best Controversial
    • RE: Help with MMM-Remote control

      As always, Sam - thanks so much! I did those changes, and it broke MMM-pi-hole which is stuck on loading. It also crashes magicmirror every 5 minutes or so. This happens even if I just change the address and allowed ip whitelist, comment out remote control and pistats. Any ideas?

      posted in Troubleshooting
      N
      nakulbende
    • Help with MMM-Remote control

      Hello - I am trying to install MMM-remote control to have some control over my raspberry pi. My config file looks like:

      {
      			module: 'MMM-Remote-Control',
      			//position: 'top_bar',
      			config: {
      				        apiKey: "XXXXXXXXXXXXXXX",
      			}
      		},
      

      And my header for the config file looks like:

      address: "localhost", 
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.114"], 
      
      

      I do not get a control page when I go to 192.168.1.15:8080/remote.html (which is my IP for Pi) from my computer (which has .1.14 IP). Is there something I am missing? I have tried this with or without the api key, which I know is optional for basic functionality.

      posted in Troubleshooting
      N
      nakulbende
    • RE: Want to display 2 modules side-by-side

      Apologies that I cant upload the photos. For some reason, the forum is throwing an error. So I just made 2 instances of the repo - renamed everything from folder, .css and .js files inside the module folder. Then I went to .js file, and changed names to css target. Should that work?

      posted in Troubleshooting
      N
      nakulbende
    • Want to display 2 modules side-by-side

      Hey all,

      I have two MBTA modules in my mirror - made possible by cloning the repo twice with changed name. So, the config.json looks like:

      		// MBTA - Main x Emerson
      		{
      			module: 'MMM-MBTA',
      			position: 'bottom_left', // This can be any of the regions.
      			header: "MBTA: ",
      			config: {
      				apikey: '69a372ea82d748ad8531f55dd05d8df3',
      				updateInterval: 60,
      				stations: [ "Main St @ Emerson St" ], //[ "Davis Square" ]
      				formatETA: true,
      				maxEntries: 4,
      				showOnly: ["Bus"],
      				colorIcons: true,
      				direction: 'Inbound',
      			}
      		},
      		// // MBTA - Davis
      		{
      			module: 'MMM-MBTA1',
      			position: 'bottom_left', // This can be any of the regions.
      			header: "MBTA: ",
      			config: {
      				apikey: '69a372ea82d748ad8531f55dd05d8df3',
      				updateInterval: 65,
      				stations: [ "Davis Square" ],
      				formatETA: true,
      				maxEntries: 4,
      				showOnly: ["Subway"],
      				colorIcons: true,
      				direction: 'Inbound',
      			}
      		},
      

      And the bottom of my mirror looks like:

      0_1581375720228_9c67d378-0cb6-4c4f-817c-a1972b3f2b52-image.png

      I would like to have these modules side by side (see below). There are pretty complicated answers on this forum, and I could not get a simple straightforward way to do that with css. Is it possible?

      0_1581375804111_6e189e10-618a-45a9-b2a5-e049674356eb-image.png

      PS: Bonus gratitude for solving the desaturation of one of the modules. They have renamed css, folders and .json files. But one shows colors, other appears only white.

      posted in Troubleshooting
      N
      nakulbende
    • RE: Issues after update - restoring?

      I saw that - the new fitbit module looks great, I am going to try it later today. Thanks!

      posted in Troubleshooting
      N
      nakulbende
    • RE: Issues after update - restoring?

      I am! It ran overnight without crashing, as soon as I disabled fitbit. Sad that I cant use it.

      I am still having issues with ssh. I ran your update script again, but it said it is already on new version. Did my update go well, except that stupid error pi-hole stats threw?

      posted in Troubleshooting
      N
      nakulbende
    • RE: Issues after update - restoring?

      @sdetweil Thank you so much for your time. If you are ever in Boston area, please let me buy you dinner. You have been a huge help and a great teacher.

      I think I fixed the pihole-stats thing as you said. Here is the config.json entry

      
      		// Pihole stats
      		{
      			module: 'MMM-pihole-stats',
      			position: 'bottom_bar',
      			config: {
      				apiURL: 'http://pi.hole/admin/api.php'
      			}
      		},
      
      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Fitbit throwing an error

      It is still giving me an error:

      [09:34:25.018] [LOG]    Whoops! There was an uncaught exception...
      [09:34:25.020] [ERROR]  TypeError: PythonShell.run is not a function
          at Class.setCreds (/home/pi/MagicMirror/modules/MMM-fitbit/node_helper.js:32:15)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-fitbit/node_helper.js:18:9)
          at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:113:11)
          at Socket.emit (events.js:182:13)
          at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
          at process._tickCallback (internal/process/next_tick.js:61:11)
      [09:34:25.026] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [09:34:25.029] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [09:34:25.136] [LOG]    Initial run request recieved.
      [09:34:25.139] [LOG]    Running getData.py
      [09:34:25.143] [LOG]    Whoops! There was an uncaught exception...
      [09:34:25.146] [ERROR]  TypeError: PythonShell is not a constructor
          at Class.getData (/home/pi/MagicMirror/modules/MMM-fitbit/node_helper.js:43:25)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-fitbit/node_helper.js:22:9)
          at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:113:11)
          at Socket.emit (events.js:182:13)
          at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
          at process._tickCallback (internal/process/next_tick.js:61:11)
      [09:34:25.148] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [09:34:25.150] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      

      This is my output of npm install (usually the log for npm audit fix too):

      pi@magicmirror:~/MagicMirror/modules/MMM-fitbit $ sudo npm install python-shell -f
      npm WARN using --force I sure hope you know what you are doing.
      npm WARN saveError ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
      npm WARN modules No description
      npm WARN modules No repository field.
      npm WARN modules No README data
      npm WARN modules No license field.
      
      + python-shell@1.0.8
      updated 1 package and audited 391 packages in 3.359s
      
      1 package is looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      

      I was able to solve this by invoking npm init and generating a new package.json file. Now, the output to installing pythoin-shell was

      pi@magicmirror:~/MagicMirror/modules/MMM-fitbit $ sudo npm install python-shell -f
      npm WARN using --force I sure hope you know what you are doing.
      npm notice created a lockfile as package-lock.json. You should commit this file.
      + python-shell@1.0.8
      added 1 package from 1 contributor and audited 1 package in 1.4s
      found 0 vulnerabilities
      

      No cigar, I still get the above error on npm install

      posted in Troubleshooting
      N
      nakulbende
    • MMM-Fitbit throwing an error

      I followed the procedure - the module is reading client id and secret right, but failts in a following way.

      [10:59:56.939] [LOG]    Set credential request recieved.
      [10:59:56.945] [LOG]    { client_id: 'XXXXXX',
        client_secret: 'XXXXXXXX' }
      [10:59:56.968] [LOG]    Whoops! There was an uncaught exception...
      [10:59:56.969] [ERROR]  TypeError: PythonShell.run is not a function
          at Class.setCreds (/home/pi/MagicMirror/modules/MMM-fitbit/node_helper.js:32:15)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-fitbit/node_helper.js:18:9)
          at Socket. (/home/pi/MagicMirror/js/node_helper.js:113:11)
          at Socket.emit (events.js:182:13)
          at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
          at process._tickCallback (internal/process/next_tick.js:61:11)
      [10:59:56.974] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [10:59:56.977] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      

      It shows the icons in UI, but does not show stats. Also results in mirror crashing after a while. What am I missing?

      posted in Troubleshooting
      N
      nakulbende
    • RE: Issues after update - restoring?

      @sdetweil

      {
        "name": "mmm-pihole-stats",
        "version": "1.0.0",
        "description": "Pi-Hole stats for MagicMirror2",
        "repository": {
          "type": "git",
          "url": "git+https://github.com/sheyabernstein/mmm-pihole-stats.git"
        },
        "keywords": [
          "MagicMirror",
          "Pi-Hole",
        ],
        "author": "sheyabernstein",
        "license": "MIT",
        "bugs": {
          "url": "https://github.com/sheyabernstein/mmm-pihole-stats/issues"
        },
        "homepage": "https://github.com/sheyabernstein/mmm-pihole-stats#readme"
      }
      
      posted in Troubleshooting
      N
      nakulbende
    • RE: Issues after update - restoring?
      
      Upgrade started - Sun Jan 19 15:52:57 EST 2020
      system is Linux magicmirror 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      user requested to apply changes
      doing test run = false
      
      saving custom.css
      remote name = origin
      upgrading from version 2.9.0 to 2.10.1
      fetching latest revisions
      git fetch rc=0
      current branch = master
      On branch master
      Your branch is behind 'origin/master' by 2836 commits, and can be fast-forwarded.
        (use "git pull" to update your local branch)
      
      Changes to be committed:
        (use "git reset HEAD <file>..." to unstage)
      
      	deleted:    css/custom.css
      
      Changes not staged for commit:
        (use "git add <file>..." to update what will be committed)
        (use "git checkout -- <file>..." to discard changes in working directory)
      
      	modified:   package.json
      
      Untracked files:
        (use "git add <file>..." to include in what will be committed)
      
      	0
      	core
      	css/save_custom.css
      
      there are 1 local files that are different than the master repo
      
         package.json
      
      save/restore files selection = y
      Saved working directory and index state WIP on master: 500147e Merge pull request #1776 from MichMich/develop
      test merge result rc='' , if empty, no conflicts
      executing merge, apply specified
      merge result rc= 0
       Updating 500147e..5bf90ae Fast-forward  .gitignore                                         
          6 -  .snyk                                              
         14 -  .travis.yml                                        
          8 +-  CHANGELOG.md                                       
         33 +-  README.md                                          
        210 +-  config/config.js.sample                            
          7 +-  css/custom.css                                     
         14 -  installers/dumpactivemodules.js                    
         15 +  installers/fixuppm2.sh                             
        183 +  installers/raspberry.sh                            
        560 ++-  installers/screensaveroff.sh                       
        101 +  installers/upgrade-script.sh                       
        361 ++  js/app.js                                          
          6 +  js/main.js                                         
         17 +-  .../node_helper/index.js => js/node_helper.js      
          2 +-  js/server.js                                       
          2 +-  modules/default/calendar/calendar.js               
          1 +  modules/default/calendar/calendarfetcher.js        
          7 +-  modules/default/calendar/debug.js                  
          4 +-  modules/default/compliments/compliments.js         
         39 +-  modules/default/weatherforecast/weatherforecast.js 
          4 +-  package-lock.json                                  
       4187 +++++++++++---------  package.json                                       
         17 +-  run-start.sh                                       
         64 +-  tests/e2e/modules/weather_spec.js                  
        138 +-  tests/e2e/vendor_spec.js                           
          5 +-  untrack-css.sh                                     
          2 +-  vendor/package-lock.json                           
          2 +-  28 files changed, 3652 insertions(+), 2357 deletions(-)  delete mode 100644 .snyk  delete mode 100644 css/custom.css  
      create mode 100644 installers/dumpactivemodules.js  
      create mode 100755 installers/fixuppm2.sh  
      mode change 100644 => 100755 installers/raspberry.sh  
      create mode 100755 installers/screensaveroff.sh  
      create mode 100755 installers/upgrade-script.sh  rename modules/node_modules/node_helper/index.js => js/node_helper.js (98%)  
      mode change 100644 => 100755 run-start.sh
      processor architecture is armv7l
      updating MagicMirror runtime, please wait
      
      > console-stamp@0.2.9 postinstall /home/pi/MagicMirror/node_modules/console-stamp
      > node ./msg.js
      
      Attention
          Console-stamp version 3.0.0 Release Candidate is out. Install by using the tag '@next'. NB: Breaking changes.
          For more details goto: https://www.npmjs.com/package/console-stamp/v/next
      
      
      > magicmirror@2.10.1 install /home/pi/MagicMirror
      > cd vendor && npm install
      
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      
      audited 2191 packages in 12.474s
      
      1 package is looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      
      > magicmirror@2.10.1 postinstall /home/pi/MagicMirror
      > sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
      
      MagicMirror installation successful!
      
      > magicmirror@2.10.1 install-fonts /home/pi/MagicMirror
      > cd fonts && npm install
      
      audited 1 package in 1.105s
      found 0 vulnerabilities
      
      added 6 packages from 12 contributors and audited 3684 packages in 55.242s
      
      14 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      npm install completed - Sun Jan 19 15:54:14 EST 2020 on base
      
      processing dependency changes for active modules with package.json files
      processing for module MMM-Buller please wait
      ----------------------------------
      npm WARN Invalid version: "1.0"
      npm WARN MMM-Buller No description
      npm WARN MMM-Buller No repository field.
      npm WARN MMM-Buller No README data
      npm WARN MMM-Buller No license field.
      
      up to date in 0.866s
      found 0 vulnerabilities
      
      processing complete for module MMM-Buller
      processing for module MMM-DarkSkyForecast please wait
      ----------------------------------
      audited 12091 packages in 15.608s
      found 1 low severity vulnerability
        run `npm audit fix` to fix them, or `npm audit` for details
      processing complete for module MMM-DarkSkyForecast
      processing for module MMM-DailyPokemon please wait
      ----------------------------------
      npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
      npm WARN notsup Unsupported engine for eslint@6.8.0: wanted: {"node":"^8.10.0 || ^10.13.0 || >=11.10.1"} (current: {"node":"9.11.2","npm":"6.13.4"})
      npm WARN notsup Not compatible with your version of node/npm: eslint@6.8.0
      npm WARN stylelint-config-standard@19.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
      npm WARN grunt-stylelint@0.13.0 requires a peer of stylelint@^12.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN stylelint-config-recommended@3.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
      npm WARN MMM-DailyPokemon@1.0.0 No repository field.
      
      added 225 packages from 138 contributors and audited 432 packages in 39.173s
      
      3 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      processing complete for module MMM-DailyPokemon
      processing for module MMM-Bring please wait
      ----------------------------------
      audited 6 packages in 1.008s
      found 0 vulnerabilities
      
      processing complete for module MMM-Bring
      processing for module MMM-MyCommute please wait
      ----------------------------------
      npm WARN grunt-stylelint@0.13.0 requires a peer of stylelint@^12.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN stylelint-config-recommended@3.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
      npm WARN stylelint-config-standard@19.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
      
      audited 3140 packages in 19.219s
      
      14 packages are looking for funding
        run `npm fund` for details
      
      found 3 vulnerabilities (1 low, 2 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      processing complete for module MMM-MyCommute
      processing for module MMM-pihole-stats please wait
      ----------------------------------
      npm ERR! code EJSONPARSE
      npm ERR! file /home/pi/MagicMirror/modules/MMM-pihole-stats/package.json
      npm ERR! JSON.parse Failed to parse json
      npm ERR! JSON.parse Unexpected token ] in JSON at position 271 while parsing near '...",
      npm ERR! JSON.parse     "Pi-Hole",
      npm ERR! JSON.parse   ],
      npm ERR! JSON.parse   "author": "shey...'
      npm ERR! JSON.parse Failed to parse package.json data.
      npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-01-19T20_55_54_012Z-debug.log
      processing complete for module MMM-pihole-stats
      restoring custom.css
      removing git alias
      we stashed a set of files that appear changed from the latest repo versions. you should review them
      Upgrade ended - Sun Jan 19 15:55:54 EST 2020
      posted in Troubleshooting
      N
      nakulbende
    • RE: Issues after update - restoring?

      Here is the log from npm start:

      > magicmirror@2.10.1 start /home/pi/MagicMirror
      > ./run-start.sh
      
      [10:59:40.101] [LOG]    Starting MagicMirror: v2.10.1
      [10:59:40.117] [LOG]    Loading config ...
      [10:59:40.153] [LOG]    Loading module helpers ...
      [10:59:40.156] [LOG]    No helper found for module: alert.
      [10:59:40.329] [LOG]    Initializing new module helper ...
      [10:59:40.332] [LOG]    Module helper loaded: updatenotification
      [10:59:40.339] [LOG]    Initializing new module helper ...
      [10:59:40.340] [LOG]    Module helper loaded: MMM-BurnIn
      [10:59:40.353] [LOG]    Initializing new module helper ...
      [10:59:40.359] [LOG]    Module helper loaded: MMM-WatchDog
      [10:59:40.559] [LOG]    Initializing new module helper ...
      [10:59:40.561] [LOG]    Module helper loaded: MMM-Remote-Control
      [10:59:40.562] [LOG]    No helper found for module: compliments.
      [10:59:40.564] [LOG]    No helper found for module: clock.
      [10:59:40.565] [LOG]    No helper found for module: calendar_monthly.
      [10:59:41.778] [LOG]    Initializing new module helper ...
      [10:59:41.780] [LOG]    Module helper loaded: calendar
      [10:59:46.210] [LOG]    Initializing new module helper ...
      [10:59:46.211] [LOG]    Module helper loaded: MMM-Buller
      [10:59:47.302] [LOG]    Initializing new module helper ...
      [10:59:47.303] [LOG]    Module helper loaded: MMM-DarkSkyForecast
      [10:59:47.305] [LOG]    No helper found for module: MMM-DailyPokemon.
      [10:59:47.320] [LOG]    Initializing new module helper ...
      [10:59:47.322] [LOG]    Module helper loaded: MMM-fitbit
      [10:59:47.388] [LOG]    Initializing new module helper ...
      [10:59:47.389] [LOG]    Module helper loaded: MMM-GoogleFit
      [10:59:47.396] [LOG]    No helper found for module: MMM-MBTA.
      [10:59:47.398] [LOG]    No helper found for module: MMM-MBTA1.
      [10:59:48.306] [LOG]    Initializing new module helper ...
      [10:59:48.307] [LOG]    Module helper loaded: MMM-MyCommute
      [10:59:48.311] [LOG]    Initializing new module helper ...
      [10:59:48.313] [LOG]    Module helper loaded: DailyXKCD
      [10:59:48.314] [LOG]    No helper found for module: MMM-pihole-stats.
      [10:59:48.315] [LOG]    All module helpers loaded.
      [10:59:48.322] [LOG]    Starting server on port 8080 ... 
      [10:59:48.362] [LOG]    Server started ...
      [10:59:48.366] [LOG]    Connecting socket for: updatenotification
      [10:59:48.368] [LOG]    Connecting socket for: MMM-BurnIn
      [10:59:48.371] [LOG]    Connecting socket for: MMM-WatchDog
      [10:59:48.376] [LOG]    Starting module helper: MMM-WatchDog
      [10:59:48.378] [LOG]    Connecting socket for: MMM-Remote-Control
      [10:59:48.380] [LOG]    Starting node helper for: MMM-Remote-Control
      [10:59:48.444] [LOG]    Connecting socket for: calendar
      [10:59:48.446] [LOG]    Starting node helper for: calendar
      [10:59:48.448] [LOG]    Connecting socket for: MMM-Buller
      [10:59:48.450] [LOG]    Connecting socket for: MMM-DarkSkyForecast
      [10:59:48.451] [LOG]    ====================== Starting node_helper for module [MMM-DarkSkyForecast]
      [10:59:48.452] [LOG]    Connecting socket for: MMM-fitbit
      [10:59:48.453] [LOG]    Starting module helper: MMM-fitbit
      [10:59:48.455] [LOG]    Connecting socket for: MMM-GoogleFit
      [10:59:48.456] [LOG]    MMM-GoogleFit helper started...
      [10:59:48.459] [LOG]    Connecting socket for: MMM-MyCommute
      [10:59:48.461] [LOG]    ====================== Starting node_helper for module [MMM-MyCommute]
      [10:59:48.463] [LOG]    Connecting socket for: DailyXKCD
      [10:59:48.465] [LOG]    Starting node helper: DailyXKCD
      [10:59:48.466] [LOG]    Sockets connected & modules started ...
      [10:59:48.695] [LOG]    Launching application.
      [10:59:55.989] [LOG]    WatchDog started. Maximum timeout: 25s.
      [10:59:56.551] [LOG]    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
      [10:59:56.748] [LOG]    Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/kiij30c31pmgimj2fhja5dejh0%40group.calendar.google.com/private-9db55d67edd0ff1ebecddbb28201bb01/basic.ics - Interval: 300000
      [10:59:56.939] [LOG]    Set credential request recieved.
      [10:59:56.945] [LOG]    { client_id: 'XXXXXX',
        client_secret: 'XXXXXXXX' }
      [10:59:56.968] [LOG]    Whoops! There was an uncaught exception...
      [10:59:56.969] [ERROR]  TypeError: PythonShell.run is not a function
          at Class.setCreds (/home/pi/MagicMirror/modules/MMM-fitbit/node_helper.js:32:15)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-fitbit/node_helper.js:18:9)
          at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:113:11)
          at Socket.emit (events.js:182:13)
          at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
          at process._tickCallback (internal/process/next_tick.js:61:11)
      [10:59:56.974] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [10:59:56.977] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [10:59:57.067] [LOG]    Initial run request recieved.
      [10:59:57.078] [LOG]    Running getData.py
      [10:59:57.092] [LOG]    Whoops! There was an uncaught exception...
      [10:59:57.097] [ERROR]  TypeError: PythonShell is not a constructor
          at Class.getData (/home/pi/MagicMirror/modules/MMM-fitbit/node_helper.js:43:25)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-fitbit/node_helper.js:22:9)
          at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:113:11)
          at Socket.emit (events.js:182:13)
          at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
          at process._tickCallback (internal/process/next_tick.js:61:11)
      [10:59:57.104] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [10:59:57.106] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [10:59:57.590] [LOG]    Notification: GET_COMIC Payload: [object Object]
      [10:59:59.415] [LOG]    Task lists:
      [10:59:59.421] [LOG]    To read (MDMxODA0MzYxMjU2NTQyODg2NDg6MDow)
      [10:59:59.423] [LOG]    Ideas (MDMxODA0MzYxMjU2NTQyODg2NDg6NDQ5MzE4MjI0NjMwNDQzNDow)
      [10:59:59.427] [LOG]    Life (MDMxODA0MzYxMjU2NTQyODg2NDg6MTE4NzY4MDk1NTow)
      [10:59:59.436] [LOG]    Random thoughts (MDMxODA0MzYxMjU2NTQyODg2NDg6NDkzOTQyODczOjA)
      [10:59:59.443] [LOG]    HomeToDo (dXA5MVM4bGpmTmJHZnZmVg)
      [11:01:10.537] [LOG]    Whoops! There was an uncaught exception...
      [11:01:10.539] [ERROR]  TypeError: Cannot read property 'startOnMonday' of undefined
          at Class.getStats (/home/pi/MagicMirror/modules/MMM-GoogleFit/node_helper.js:134:22)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-GoogleFit/node_helper.js:98:14)
          at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
      [11:01:10.544] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [11:01:10.545] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      
      posted in Troubleshooting
      N
      nakulbende
    • Issues after update - restoring?

      Hello,

      I tried @sdetweil 's script to update my MagicMirror. Priopr to that, there were some slowdowns in using ssh, but vnc was always working perfectly. After the update, ssh brings up the login request, but nothing happens after that - no bash appears. Also, is fine, but very slow. If I start MagicMirror using npm start, it shuts off after a couple of hours. It is also not starting the magicmirror service on boot.

      My question is: can I just use @sdetweil 's installation script on a fresh raspberry pi install, copy my model folder and config.jss to restore my module installation and all…

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-RemoteCompliments not showing anything except the current compliments

      Anything? Still cant solve this.

      @mitchelltmarino ??

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Buller: Auth file in place, but no link displayed upon running

      Realized that I have to give path for credential file. Config file should look like this.

      config: {
      				debug: true,
      				credentials: "/home/pi/MagicMirror/modules/MMM-Buller/credentials.json",
      				lists: [
      

      Ran with this, and was given the right link for authenticating. Works!

      posted in Troubleshooting
      N
      nakulbende
    • MMM-Buller: Auth file in place, but no link displayed upon running

      Hello,

      I am trying to get the Buller module work. For authenticating, I downloaded the credentials file, pasted contents in a credentials.json file in MMM-Buller folder (see image below). When I used npm start, I do not get any link from the script to authenticate further. What am I doing wrong?

      ***Config: ***

      		// // Buller - this one will be todo in house
      		{
      			module: 'MMM-Buller',
      			position: 'top_right',
      			header: 'To Do',
      			config: {
      				debug: false,
      				lists: [
      					{
      						type: 'gTasks',
      						name: 'HomeToDo',
      						updateInterval: 1000 * 60 * 1 * 5, //every minutes
      						icon: 'fas tasks',
      					}
      				],
      			}
      		},
      

      Output to npm start:
      0_1577926303220_4ab4ddf8-c45a-465f-b601-2aa74a0c0bef-image.png

      Buller folder

      0_1577926227161_ea985598-4325-47e7-b83b-360e62043eb6-image.png

      posted in Troubleshooting
      N
      nakulbende
    • MMM-RemoteCompliments not showing anything except the current compliments

      Hello,

      I have the MMM-RemoteCompliments setup as following:

      0_1577925816802_04ad7e1f-5f80-46bb-bc7d-efa304c88a99-image.png

      My issue is that the module is not showing any of my random/ scheduled compliments that I configured in google drive. I know that the authentication is done and correct, since I can see compliments when I put something in the current document. I also see a image icon (see pic below), even though I do not have any images, and have set the function to FALSE. I can not see the header either.

      Here are the config file, random compliment file and a current screenshot. What am I doing wrong?

      Config

      		{
      			module: "MMM-RemoteCompliments",
      			position: "top_bar",
      			header: "XXXXX",
      			config: {
      				fetchInterval: 15000
      			}
      		},
      

      Random compliment file

      {
        anytime: [
          "I love you to moon moon and back",
          "On a scale from 1 to 10, \nyou're an 15!",
          "You`re like sunshine on a rainy day",
          "You`re wonderful",
          "You, me -home!",
          "You make my world awesome",
          "I could just hang here all day!",
          "You look beautiful today",
          "Mickey killed Jeff Epstein!",
          "Nolite te bastardes carborundorum",
        ],
        morning: [
          "Good morning, sunshine!",
          "Enjoy your day!",
          "How was your sleep?",
          "Who needs coffee when you have that smile?",
          "Go bring me some coffee",
          "Nolite te bastardes carborundorum",
        ],
        afternoon: [
          "Hello, beauty!",
          "You look sexy!",
          "Looking good today!",
          "Hard day at work, wasn`t it?",
          "For every kiss you give me \nI will give you three!",
        ],
        evening: [
          "Wow, you look hot!",
          "You look nice!",
          "Let the evening \nbe-GIN",
          "Gude!",
          "Night Owl!",
        ]
      }
      

      Only with current doc

      0_1577925054404_6ccd0ab4-3029-49c4-bb05-815a9aeab0cc-image.png

      posted in Troubleshooting
      N
      nakulbende
    • RE: MBTA - can anyone get this working?

      Wait, it worked now. I was missing the []. It needs an array. Thanks again!

      posted in Troubleshooting
      N
      nakulbende
    • RE: MBTA - can anyone get this working?

      Not sure how I got that - but I just changed them to common names. Still nothing.

      posted in Troubleshooting
      N
      nakulbende
    • RE: My-Commute flooded google api - 1.73/ sec while it was set to default 10 minutes!

      @sdetweil - thanks again! o my!

      posted in Troubleshooting
      N
      nakulbende
    • 1 / 1