@Mykle1 Yo brother is there anyway to add to the code to subtract weekends and number of holidays?
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-EventHorizon
-
RE: What is your backup and restore method?
@Lusbueb I have a Buffalo NAS LS I am trying to backup too but can’t figure out the right path to add to
sudo nano /etc/fstab -
RE: What is your backup and restore method?
@karsten13 Looks good but same thing I am not grasping how to implement this…sorry
-
RE: What is your backup and restore method?
@Snille Can you dumb this down a little bit for me please, trying to use this…I created key and added to github but not sure how to do the rest.
-
RE: MMM-NOAA4 Underdevelopment [US ONLY]
Solid work @cowboysdude as usual! @Mykle1 I can take your roll over and screw some shit up by not meaning too! HA!
-
RE: MMM-News
@Morganga it is all laid out for ya below
-
RE: MMM-News
@Bugsounet said in MMM-News:
“Oddly”, i have not touch to the css code
and “Oddly” i don’t touche the main code
and “Oddly” I run this module in 3 differents RPI
and “Oddly” … this is no problem !so try to disable all module one by one (except this modules), disable custom.css too
and “Oddly”, you will see : it works…
You need a snickers bar or something? Take it down a notch keyboard warrior
-
RE: MMM-News
I added this to custom css but just doesn’t look right. What could have changed the sizing as nothing was updated from the default install? I uninstalled and re-installed and same thing.
body { transform:scale(1.0); } .MMM-News { transform:scale(1,1.75); } -
RE: MMM-News
Oddly the sizing of the module just randomly changed and got smaller. How do I make the entire module bigger to fill out the bottom_bar? I went into CSS but nothing I did seem to change anything.
-
RE: MMM-PGA
@sdetweil Yea sorry thought I deleted that I figured it out after the fact. Thanks!
-
RE: MMM-PGA
Getting this error now…can anyone help? Tried update uninstall/reinstall etc
1|MagicMirror | [2020-12-05 17:02:23.100] [ERROR] App threw an error during load 1|MagicMirror | [2020-12-05 17:02:23.102] [ERROR] Error: Cannot find module 'jsdom' 1|MagicMirror | Require stack: 1|MagicMirror | - /home/pi/MagicMirror/modules/MMM-PGA/OWGR.js 1|MagicMirror | - /home/pi/MagicMirror/modules/MMM-PGA/node_helper.js 1|MagicMirror | - /home/pi/MagicMirror/js/app.js 1|MagicMirror | - /home/pi/MagicMirror/js/electron.js 1|MagicMirror | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 1|MagicMirror | - 1|MagicMirror | at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) 1|MagicMirror | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) 1|MagicMirror | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 1|MagicMirror | at Function.Module._load (internal/modules/cjs/loader.js:531:27) 1|MagicMirror | at Module.require (internal/modules/cjs/loader.js:685:19) 1|MagicMirror | at require (internal/modules/cjs/helpers.js:16:16) 1|MagicMirror | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PGA/OWGR.js:3:15) 1|MagicMirror | at Module._compile (internal/modules/cjs/loader.js:786:30) 1|MagicMirror | at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) 1|MagicMirror | at Module.load (internal/modules/cjs/loader.js:645:32) 1|MagicMirror | [2020-12-05 17:02:23.105] [ERROR] Whoops! There was an uncaught exception... 1|MagicMirror | [2020-12-05 17:02:23.106] [ERROR] 1|MagicMirror | Error: Cannot find module 'jsdom' 1|MagicMirror | Require stack: 1|MagicMirror | - /home/pi/MagicMirror/modules/MMM-PGA/OWGR.js 1|MagicMirror | - /home/pi/MagicMirror/modules/MMM-PGA/node_helper.js 1|MagicMirror | - /home/pi/MagicMirror/js/app.js 1|MagicMirror | - /home/pi/MagicMirror/js/electron.js 1|MagicMirror | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 1|MagicMirror | - 1|MagicMirror | at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) 1|MagicMirror | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) 1|MagicMirror | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 1|MagicMirror | at Function.Module._load (internal/modules/cjs/loader.js:531:27) 1|MagicMirror | at Module.require (internal/modules/cjs/loader.js:685:19) 1|MagicMirror | at require (internal/modules/cjs/helpers.js:16:16) 1|MagicMirror | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PGA/OWGR.js:3:15) 1|MagicMirror | at Module._compile (internal/modules/cjs/loader.js:786:30) 1|MagicMirror | at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) 1|MagicMirror | at Module.load (internal/modules/cjs/loader.js:645:32) { 1|MagicMirror | code: 'MODULE_NOT_FOUND', 1|MagicMirror | requireStack: [ 1|MagicMirror | '/home/pi/MagicMirror/modules/MMM-PGA/OWGR.js', 1|MagicMirror | '/home/pi/MagicMirror/modules/MMM-PGA/node_helper.js', 1|MagicMirror | '/home/pi/MagicMirror/js/app.js', 1|MagicMirror | '/home/pi/MagicMirror/js/electron.js', 1|MagicMirror | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', 1|MagicMirror | undefined 1|MagicMirror | ] 1|MagicMirror | } 1|MagicMirror | [2020-12-05 17:02:23.119] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 1|MagicMirror | [2020-12-05 17:02:23.120] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues -
RE: MMM-News
@Bugsounet Ok thanks for the detailed explanation. Here is my config now so hopefully this should resolve it.
}, { module: "MMM-News", position: "bottom_bar", config: { apiKey : "XXXXXXXXXXXXXXXXXXX", type: "horizontal", query : [ { country: "us", className: "redTitle", }, ], touchable: false, scanInterval: 1000*60*30 } }, -
RE: MMM-News
Not sure what it means but says initialized with 10 query
/home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 1|MagicMir | [2020-11-22 18:00:23.595] [LOG] MMM-PGA Retrieving Tounament List 1|MagicMir | [2020-11-22 18:00:24.198] [LOG] MMM-PGA retrieving Tournament Data 1|MagicMir | [2020-11-22 18:05:22.126] [LOG] Use existing calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics 1|MagicMir | [2020-11-22 18:05:22.134] [INFO] Calendar-Fetcher: Broadcasting 2 events. 1|MagicMir | [2020-11-22 18:05:22.391] [INFO] Calendar-Fetcher: Broadcasting 2 events. 1|MagicMir | [2020-11-22 18:05:24.044] [LOG] MMM-PGA retrieving Tournament Data 1|MagicMir | [2020-11-22 18:05:24.437] [LOG] MMM-PGA Retrieving Tounament List 1|MagicMir | [2020-11-22 18:07:49.476] [LOG] Use existing calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics 1|MagicMir | [2020-11-22 18:07:49.477] [INFO] Calendar-Fetcher: Broadcasting 2 events. 1|MagicMir | [2020-11-22 18:07:49.481] [LOG] MMM-PGA config received 1|MagicMir | [2020-11-22 18:07:49.485] [LOG] [NEWS] MMM-News Version: 2.1.2 1|MagicMir | [2020-11-22 18:07:49.486] [LOG] [NEWS] Initialized with 10 query 1|MagicMir | [2020-11-22 18:07:49.720] [LOG] MMM-PGA Retrieving Tounament List 1|MagicMir | [2020-11-22 18:07:49.804] [INFO] Calendar-Fetcher: Broadcasting 2 events. 1|MagicMir | [2020-11-22 18:07:50.969] [LOG] MMM-PGA retrieving Tournament Data -
RE: MMM-News
@Bugsounet still getting the same error in the logs and news not displaying because of it. Below is my config. Any ideas?
}, { module: "MMM-News", position: "bottom_bar", config: { apiKey : "XXXXXXXXX", type: "horizontal", query : [ { sources: "fox-news, fox-sports", }, { country: "us", className: "redTitle", }, ], touchable: false, scanInterval: 1000*60*15 } }, -
RE: MMM-News
Thanks Sam, checked the pm2 logs and unbeknownst to me…they now went to a paid tier api it seems!
1|MagicMir | [2020-11-17 16:23:16.523] [LOG] [NEWS] Error : https://newsapi.org/v2/top-headlines?country=us&pageSize=20&apiKey=99d1bd76c7f140f58c237d54c41ab334 result.code:You have made too many requests recently. Developer accounts are limited to 100 requests over a 24 hour period (50 requests available every 12 hours). Please upgrade to a paid plan if you need more requests. -
RE: MMM-News
@Bugsounet Just circling back on this…would it be easier if I created an issue on github or leave it here?
-
RE: MMM-News
Anything I can do in the mean time to troubleshoot to help get this resolved. It is happening now, I looked in the dev window but didn’t see any errors. I don’t know where else to look. Attached should show the news on the bottom bar but nothing there. Thanks, Scott
