Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. nakulbende
    N
    • Profile
    • Following 1
    • Followers 0
    • Topics 13
    • Posts 43
    • Best 3
    • Groups 0

    nakulbende

    @nakulbende

    3
    Reputation
    171
    Profile views
    43
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    nakulbende Follow

    Best posts made by 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
    • MMM-pihole was causing major bugs/ freezes

      Hello all,

      This is just a PSA - I believe the module MMM-Pihole was causing my mirror to crash badly, mostly causing it to loose connection, freeze every 2-3 hours. Here is the chronological scenario:

      • Updated MM
      • Tested with many many configurations of modules. I spent almost a month debugging it - and ran all permutations and combinations of why the mirror is freezing. The logs only showed internet disconnect
      • @sdetweil looked at the logs, which were not really helpful. He suggested to move the installation form a SD card to USB. I did this, and in addition added active cooling fan to the pi, so we can strike off cooling issues. My pi was freezing/ acting up even when the temps never went above 40
      • MMM-Pihole - only with just that module running caused bugs. As soon as I disabled it, running all the modules cased no bugs. Compare 1-2 hour of stability vs. running for last month without errors
      • Freezes are obvious, but I even got partial mirror displayed. Weird, so leaving a snapshot here (look at the calendar and time module):

      rsz_1img_20200523_165213.jpg

      So, if you are using the module, and are having issues - try taking it off, hope it solves your issue.

      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

    Latest posts made by nakulbende

    • RE: MMM-pihole was causing major bugs/ freezes

      Done - but I am pretty sure I have sent them a note in past, also based on some of @sdetweil 's troubleshooting about package details - it seems inactive. I love the module - is there something I can do in terms of troubleshooting to revive it?

      MM and pi-hole are my fav proejcts I ever made - followed recently by retropie.

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Strava only shows achievements, nothing else?

      Yeah that did it! Thanks - again, wizardry appreciated!

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Strava only shows achievements, nothing else?

      Tried that - authenticated again. I have some public and some private activities now. But now it does not show anything.

      Here is my config file:

      		// Strava
      		{
      			module: "MMM-Strava",
      			position: "bottom_right",
      			config: {
      				client_id: "XXXXXX",
      				client_secret: "XXXXXXXXXXXx",
      				mode: "table",
      				activities: "ride",
      				reloadInterval: 1000*60*30,
      				stats: ["count", "distance", "moving_time", "achievements"],
      				showprivatestats: true,
      			}
      		},
      

      I deleted the old folder too.

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Strava only shows achievements, nothing else?

      You all are just wizards!!

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Strava only shows achievements, nothing else?

      @karsten13 and @lavolp3 Thanks both of you for your contributions!!

      I know strava is having issues, and is pushing a lot pf services to paid customers only. I dont mind not being able to see any other athletes, I mostly use it for my own tracking, and so I just keep it private. I do know that the random changes in their API caused a lot of trouble for you guys.

      So - is there a way to checkout the PR - and use private activities? Can I use something like git checkout pr 38 and it will be the version @karsten13 PRed?

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-Strava only shows achievements, nothing else?

      Whoops, didn’t realize this just pulls from public profile - since it is taking authorization. I made some activities public - do i have to make it public?

      posted in Troubleshooting
      N
      nakulbende
    • RE: MMM-pihole was causing major bugs/ freezes

      @sdetweil Thank you so much for your help.

      posted in Troubleshooting
      N
      nakulbende
    • MMM-Strava only shows achievements, nothing else?

      Hey all,

      I installed MMM-Strava, followed the wonderfuly documented instructions on how to get authentication tokens - but am having some issues. I think my authentication is fine, because the module shows my weekly achievements. But, it does not show ride #, distances or any other stats. Here is my config file and screenshot:

      7edffdb2-87bd-4bdc-9ea7-497dbf54a948-image.png

      {
      	module: "MMM-Strava",
      	position: "bottom_left",
      	config: {
      		client_id: "XXXX",
      		client_secret: "XXXXXXX",
      		mode: "table",
      		activities: "ride",
      		reloadInterval: 1000*60*30,
      		stats: ["count", "distance", "elevation", "moving_time", "achievements"]
      	}
      }
      

      Here is the relevant output from npm start

      > magicmirror@2.11.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [2020-06-25 09:31:12.157] [LOG]    Starting MagicMirror: v2.11.0
      [2020-06-25 09:31:12.191] [LOG]    Loading config ...
      [2020-06-25 09:31:12.210] [LOG]    Loading module helpers ...
      
      [2020-06-25 09:31:20.444] [LOG]    Initializing new module helper ...
      [2020-06-25 09:31:20.446] [LOG]    Check MagicMirror version for node helper 'MMM-Strava' - Minimum version:  2.2.0 - Current version: 2.11.0
      [2020-06-25 09:31:20.448] [LOG]    Version is ok!
      [2020-06-25 09:31:20.450] [LOG]    Module helper loaded: MMM-Strava
      
      [2020-06-25 09:31:22.042] [LOG]    Connecting socket for: MMM-Strava
      [2020-06-25 09:31:22.044] [LOG]    Starting module helper: MMM-Strava
      
      
      posted in Troubleshooting
      N
      nakulbende
    • MMM-pihole was causing major bugs/ freezes

      Hello all,

      This is just a PSA - I believe the module MMM-Pihole was causing my mirror to crash badly, mostly causing it to loose connection, freeze every 2-3 hours. Here is the chronological scenario:

      • Updated MM
      • Tested with many many configurations of modules. I spent almost a month debugging it - and ran all permutations and combinations of why the mirror is freezing. The logs only showed internet disconnect
      • @sdetweil looked at the logs, which were not really helpful. He suggested to move the installation form a SD card to USB. I did this, and in addition added active cooling fan to the pi, so we can strike off cooling issues. My pi was freezing/ acting up even when the temps never went above 40
      • MMM-Pihole - only with just that module running caused bugs. As soon as I disabled it, running all the modules cased no bugs. Compare 1-2 hour of stability vs. running for last month without errors
      • Freezes are obvious, but I even got partial mirror displayed. Weird, so leaving a snapshot here (look at the calendar and time module):

      rsz_1img_20200523_165213.jpg

      So, if you are using the module, and are having issues - try taking it off, hope it solves your issue.

      posted in Troubleshooting
      N
      nakulbende
    • RE: Getting a bunch of erros and hangups on a new installation

      Hey @sdetweil - I have the power management on wifi turned off. I am not getting complete crash of pi - to the extent that i have to restart, BUT - I am getting a lot of freezes which automatically resolve in a while.

      In the pm2 logs:

      [2020-05-04 03:03:04.470] [ERROR]  Mon May 04 2020 03:03:00 GMT-0900 (Hawaii-Aleutian Daylight Time) - WatchDog: Heartbeat timeout. Frontend might have crashed. Exit now.
      events.js:177
            throw er; // Unhandled 'error' event
            ^
      
      Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
          at doWrite (_stream_writable.js:413:19)
          at writeOrBuffer (_stream_writable.js:401:5)
          at Socket.Writable.write (_stream_writable.js:301:11)
          at Object.con.<computed> [as error] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:148:46)
          at process.<anonymous> (/home/pi/MagicMirror/js/app.js:40:10)
          at process.emit (events.js:205:15)
          at process._fatalException (internal/process/execution.js:146:25)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 7
      npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 7
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.11.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-05-04T12_17_10_505Z-debug.log
      

      Here is the npm error log

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node', '/usr/local/bin/npm', 'start' ]
      2 info using npm@6.14.4
      3 info using node@v10.19.0
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle magicmirror@2.11.0~prestart: magicmirror@2.11.0
      6 info lifecycle magicmirror@2.11.0~start: magicmirror@2.11.0
      7 verbose lifecycle magicmirror@2.11.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle magicmirror@2.11.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
      9 verbose lifecycle magicmirror@2.11.0~start: CWD: /home/pi/MagicMirror
      10 silly lifecycle magicmirror@2.11.0~start: Args: [ '-c',
      10 silly lifecycle   'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ]
      11 silly lifecycle magicmirror@2.11.0~start: Returned: code: 1  signal: null
      12 info lifecycle magicmirror@2.11.0~start: Failed to exec start script
      13 verbose stack Error: magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      13 verbose stack Exit status 1
      13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
      13 verbose stack     at EventEmitter.emit (events.js:198:13)
      13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
      13 verbose stack     at ChildProcess.emit (events.js:198:13)
      13 verbose stack     at maybeClose (internal/child_process.js:982:16)
      13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
      14 verbose pkgid magicmirror@2.11.0
      15 verbose cwd /home/pi/MagicMirror
      16 verbose Linux 4.19.97-v7+
      17 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "start"
      18 verbose node v10.19.0
      19 verbose npm  v6.14.4
      20 error code ELIFECYCLE
      21 error errno 1
      22 error magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      22 error Exit status 1
      23 error Failed at the magicmirror@2.11.0 start script.
      23 error This is probably not a problem with npm. There is likely additional logging output above.
      24 verbose exit [ 1, true ]
      
      posted in Troubleshooting
      N
      nakulbende