Read the statement by Michael Teeuw here.
remotecompliments disappeared - please help
-
@sdetweil Is this confirming what you thought?
pi@raspberrypi:~ $ pm2 logs [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 15 lines: PM2 | 2020-12-28T20:37:03: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2020-12-28T20:37:03: PM2 log: App [MagicMirror:0] online PM2 | 2020-12-28T20:46:29: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2020-12-28T20:46:30: PM2 log: pid=17838 msg=failed to kill - retrying in 100ms PM2 | 2020-12-28T20:46:30: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2020-12-28T20:46:30: PM2 log: pid=17838 msg=process killed PM2 | 2020-12-28T20:46:30: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2020-12-28T20:46:30: PM2 log: App [MagicMirror:0] online /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 0|MagicMir | [2020-12-28 20:46:45.545] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMir | [2020-12-28 20:46:48.247] [LOG] MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMir | [2020-12-28 20:46:48.251] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMir | [2020-12-28 20:46:50.493] [LOG] MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMir | [2020-12-28 20:46:50.501] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMir | [2020-12-28 20:46:52.743] [LOG] MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMir | [2020-12-28 20:46:52.744] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMir | [2020-12-28 20:46:54.986] [LOG] MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMir | [2020-12-28 20:46:54.988] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMir | [2020-12-28 20:46:57.215] [LOG] MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMir | [2020-12-28 20:46:57.216] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMir | [2020-12-28 20:46:59.763] [LOG] MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMir | [2020-12-28 20:46:59.765] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMir | [2020-12-28 20:47:02.299] [LOG] MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMir | [2020-12-28 20:47:02.301] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:04.513] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:04.518] [LOG] 0|MagicMirror | MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:06.742] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:06.744] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:08.981] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:08.983] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:11.225] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:11.226] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:13.464] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:13.465] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:15.688] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:15.689] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:17.919] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:17.920] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:20.168] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:20.169] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:22.424] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:22.426] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:24.665] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:24.667] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:26.898] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:26.899] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:29.123] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:29.125] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:31.371] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:31.372] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:33.596] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:33.598] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:35.830] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:35.834] [LOG] MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:38.074] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:38.080] [LOG] 0|MagicMirror | MMM-RemoteCompliments: Fetching again in two seconds. 0|MagicMirror | [2020-12-28 20:47:40.326] [LOG] 0|MagicMirror | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from: Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'. 0|MagicMirror | [2020-12-28 20:47:40.327] [LOG] MMM-RemoteCompliments: Fetching again in two seconds.
-
@forjer yeh. so the setup has probably expired
-
@sdetweil So are you saying I should delete the Token.json file from /home/pi/MagicMirror/modules/MMM-RemoteCompliments/Drive and run
node setup
which will re-run the Setup.js script? -
@sdetweil I deleted the Token.json file and ran
node Setup
in the RemoveCompliments/Drive folder and was successful in re-completing the setup (following link, pasting code), but there was no change in function…RemoteCompliments is MIA…no header or anything. -
FWIW, I’m also running the default Compliments in the lower_third position. I’ve swapped positions between Compliements and RemoteCompliments and the result of that is Compliments works in both positions, RemoteCompliments doesn’t work in either position.
-
@forjer and the pm2 log?
-
pi@raspberrypi:~ $ pm2 logs [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 15 lines: PM2 | 2020-12-28T21:29:05: PM2 log: pid=22698 msg=process killed PM2 | 2020-12-28T21:29:05: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2020-12-28T21:29:05: PM2 log: App [MagicMirror:0] online PM2 | 2020-12-28T21:29:50: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2020-12-28T21:29:51: PM2 log: pid=23236 msg=failed to kill - retrying in 100ms PM2 | 2020-12-28T21:29:51: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2020-12-28T21:29:51: PM2 log: pid=23236 msg=process killed PM2 | 2020-12-28T21:29:51: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2020-12-28T21:29:51: PM2 log: App [MagicMirror:0] online PM2 | 2020-12-28T21:46:00: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2020-12-28T21:46:00: PM2 log: pid=23422 msg=failed to kill - retrying in 100ms PM2 | 2020-12-28T21:46:00: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2020-12-28T21:46:01: PM2 log: pid=23422 msg=process killed PM2 | 2020-12-28T21:46:01: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2020-12-28T21:46:01: PM2 log: App [MagicMirror:0] online /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMir | 0|MagicMir | [2020-12-28 21:46:04.542] [LOG] Starting MagicMirror: v2.13.0 0|MagicMir | [2020-12-28 21:46:04.557] [LOG] Loading config ... 0|MagicMir | [2020-12-28 21:46:04.568] [LOG] Loading module helpers ... 0|MagicMir | [2020-12-28 21:46:04.571] [LOG] No helper found for module: clock. 0|MagicMir | [2020-12-28 21:46:07.600] [LOG] Initializing new module helper ... 0|MagicMir | [2020-12-28 21:46:07.601] [LOG] Module helper loaded: MMM-RemoteCompliments 0|MagicMir | [2020-12-28 21:46:07.602] [LOG] All module helpers loaded. 0|MagicMir | [2020-12-28 21:46:07.798] [LOG] Starting server on port 8080 ... 0|MagicMir | [2020-12-28 21:46:07.819] [LOG] Server started ... 0|MagicMir | [2020-12-28 21:46:07.821] [LOG] Connecting socket for: MMM-RemoteCompliments 0|MagicMir | [2020-12-28 21:46:07.825] [LOG] Starting node helper for: MMM-RemoteCompliments 0|MagicMir | [2020-12-28 21:46:07.826] [LOG] Sockets connected & modules started ... 0|MagicMir | [2020-12-28 21:46:07.960] [LOG] Launching application.
-
@forjer sorry, I’ve run out of everything to look for. the error is gone now…
-
@sdetweil In my developer log it mentions “RemoteCompliments: ‘MODULE_DOM_CREATED’ received: null” and “module.js:199 MMM-RemoteCompliments is suspended.” Is that a clue? It just doesn’t make sense. I tested it yesterday morning by putting in a really long compliment just to see how it looked on the screen. I then reverted it back to a short compliment. Later in the morning I did a
sudo apt-get update
and asudo apt-get upgrade
just before setting up remote desktop, VNC and pitunnel. Those are the only other things that I can think of where I changed some stuff.developers window
Load script: modules/MMM-RemoteCompliments//MMM-RemoteCompliments.js module.js:513 Module registered: MMM-RemoteCompliments loader.js:148 Bootstrapping module: MMM-RemoteCompliments loader.js:176 Load script: modules/MMM-RemoteCompliments//scripts/jquery-3.3.1.min.js loader.js:153 Scripts loaded for: MMM-RemoteCompliments loader.js:155 Styles loaded for: MMM-RemoteCompliments loader.js:157 Translations loaded for: MMM-RemoteCompliments loader.js:195 Load stylesheet: css/custom.css :8080/modules/default/clock//clock.js:46 Starting module: clock main.js:508 All modules started! :8080/modules/MMM-RemoteCompliments//MMM-RemoteCompliments.js:222 MMM-RemoteCompliments: 'MODULE_DOM_CREATED' received: null module.js:199 MMM-RemoteCompliments is suspended.
Are there any other (perhaps more stable) modules where I can display a custom message (compliment) depending on the time of day? I had about 10 compliments programmed to display at their specified time slots throughout the day. And I liked the ability to control / override them easily with my phone via Google Drive.
-
@forjer the code and comments
// Hide module on startup. // If the module receives data, the module will reveal itself. self.hide(0); self.hidden = true;
which is reasonable, but it just reinforces no data.
sorry no idea on another module that does this other than the default compliments module with remotefile