Read the statement by Michael Teeuw here.
MMM-SystemStats and MMM-EyeCandy not initializing upon start, boot, reboot, or restart of the MM OS
-
I’m running magic mirror os and I have been able to update and install numerous other modules but MMM-SystemStats and MMM-EyeCandy not initializing upon start, boot, reboot, or restart of the MM OS. All are installed and the modules are configued on config.js.
Thoughts? Here’s my config.js:
var config = { address: "0.0.0.0", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" port: 8080, basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy // you must set the sub path here. basePath must end with a / ipWhitelist: [], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true language: "en", logLevel: ["INFO", "LOG", "WARN", "ERROR"], timeFormat: 24, units: "imperial", // serverOnly: true/false/"local" , // local for armv6l processors, default // starts serveronly and then starts chrome browser // false, default for all NON-armv6l devices // true, force serveronly mode, because you want to.. no UI on this device modules: [ { module: 'MMM-SystemStats', position: 'bottom_right', // This can be any of the regions. // classes: 'small_dimmed', // Add your own styling. OPTIONAL. header: 'System Stats', // Set the header text OPTIONAL config: { updateInterval: '10000', // every 10 seconds align: 'right', // align labels header: 'System Stats', // This is optional units: 'imperial', // default, metric, imperial view: 'textAndIcon', }, }, { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: 'MMM-NetworkScanner', position: 'bottom_left', config: { // Optional config options } }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" } ] } }, { module: "updatenotification", position: "top_bar" }, { module: "MMM-EyeCandy", position: "top_center", config: { maxWidth: "50%", // Sizes the images. Retains aspect ratio. style: '19', // Style number or use ownImagePath to override style ownImagePath: 'https://www.picgifs.com/easter-graphics/cross/easter-graphics-cross-733506' // ex: 'modules/MMM-EyeCandy/pix/YOUR_PICTURE_NAME.jpg', or internet url to image } }, { module: "compliments", position: "lower_third", config: { updateInterval: 10000, compliments: { morning: [ "Rise and Shine!", "Good Morning!", "Top of the Morning!", ], afternoon: [ "It's a nice day outside. Go play in it!", "How was your day?", "Do you have homework?", "What did you learn today?", ], evening: [ "Good Evening", "Is your reading done?", "Is your spelling done?", "Wasn't the sunset beautiful?", "Wasn't the day just spectacular?" ] } } }, { module: "currentweather", position: "top_right", config: { location: "San Antonio", locationID: "4726206", appid: "d889a2812cdb379288ae4e860e7cbb7a" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "San Antonio", locationID: "4726206", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "d889a2812cdb379288ae4e860e7cbb7a" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "News", // url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" url: "https://old.reddit.com/r/news.rss" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, ] };[link text](link url)
-
@pjcrux what messages do you see on the console where you start MM?? npm start or pm2 logs if you use pm2.
-
@pjcrux said in MMM-SystemStats and MMM-EyeCandy not initializing upon start, boot, reboot, or restart of the MM OS:
MMM-EyeCandy not initializing
The url you are trying to access is not directly to an image. Are you trying to get the cross image from that page? Is so, use this url
https://www.picgifs.com/easter-graphics/easter-graphics/cross/easter-graphics-cross-056663.gif
-
@sdetweil here’s the return:
pi@magicmirroros:~/MagicMirror/modules/MMM-NetworkScanner $ pm2 info mm -bash: pm2: command not found pi@magicmirroros:~/MagicMirror/modules/MMM-NetworkScanner $ npm info mm npm WARN npm npm does not support Node.js v10.21.0 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ { name: 'mm', description: 'mock mate, mock http request, fs access and so on.', 'dist-tags': { latest: '3.2.0', 'latest-1': '1.5.2' }, versions: [ '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8', '0.2.0', '0.2.1', '1.0.0', '1.0.1', '1.1.0', '1.2.0', '1.3.0', '1.3.1', '1.3.2', '1.3.3', '1.3.4', '1.3.5', '1.4.0', '1.5.0', '1.5.1', '1.5.2', '2.0.0', '2.0.1', '2.1.0', '2.1.1', '2.2.0', '2.2.1', '2.2.2', '2.3.0', '2.4.0', '2.4.1', '2.5.0', '3.0.0', '3.0.1', '3.0.2', '3.0.3', '3.1.0', '3.2.0' ], maintainers: [ 'atian25 <atian25@qq.com>', 'dead_horse <dead_horse@qq.com>', 'fengmk2 <fengmk2@gmail.com>', 'popomore <sakura9515@gmail.com>' ], time: { modified: '2020-03-24T05:40:58.863Z', created: '2012-11-03T17:37:01.800Z', '0.0.1': '2012-11-03T17:37:06.751Z', '0.0.2': '2012-11-06T15:30:11.465Z', '0.0.3': '2012-11-06T15:57:17.632Z', '0.0.4': '2012-11-12T18:53:52.835Z', '0.0.5': '2012-11-20T19:23:15.607Z', '0.0.6': '2012-11-20T19:58:09.388Z', '0.0.7': '2012-11-26T09:11:28.133Z', '0.0.8': '2012-11-26T16:24:03.056Z', '0.0.9': '2012-11-27T17:11:35.398Z', '0.1.0': '2012-12-01T13:05:25.339Z', '0.1.1': '2013-04-15T02:26:09.576Z', '0.1.2': '2013-04-20T13:14:18.884Z', '0.1.3': '2013-05-05T05:53:38.502Z', '0.1.4': '2013-05-21T08:27:49.494Z', '0.1.5': '2013-07-03T09:07:10.505Z', '0.1.6': '2013-07-04T03:32:04.040Z', '0.1.7': '2013-11-20T02:46:48.809Z', '0.1.8': '2013-12-27T10:46:19.727Z', '0.2.0': '2014-02-21T06:57:30.451Z', '0.2.1': '2014-03-14T06:23:02.151Z', '1.0.0': '2014-10-29T18:09:27.474Z', '1.0.1': '2014-10-30T15:18:51.238Z', '1.1.0': '2015-05-08T06:06:08.451Z', '1.2.0': '2015-08-16T09:22:41.232Z', '1.3.0': '2015-08-22T14:18:07.015Z', '1.3.1': '2015-08-30T17:06:40.412Z', '1.3.2': '2015-09-17T08:58:20.869Z', '1.3.3': '2015-09-17T15:22:49.695Z', '1.3.4': '2015-09-24T10:34:57.396Z', '1.3.5': '2015-09-28T16:27:05.896Z', '1.4.0': '2016-06-12T04:04:27.416Z', '1.5.0': '2016-06-12T16:23:51.481Z', '1.5.1': '2016-07-21T02:45:11.372Z', '2.0.0': '2016-07-31T04:13:13.502Z', '2.0.1': '2017-01-22T09:31:49.350Z', '2.1.0': '2017-01-24T18:46:16.748Z', '1.5.2': '2017-09-06T14:52:41.576Z', '2.1.1': '2017-09-06T15:44:40.138Z', '2.2.0': '2017-09-07T01:21:52.337Z', '2.2.1': '2018-07-11T12:02:51.495Z', '2.2.2': '2018-07-12T03:55:43.166Z', '2.3.0': '2018-08-07T06:00:22.000Z', '2.4.0': '2018-08-08T09:40:37.638Z', '2.4.1': '2018-08-27T08:36:58.870Z', '2.5.0': '2019-03-06T15:52:30.962Z', '3.0.0': '2020-02-29T16:59:36.088Z', '3.0.1': '2020-02-29T17:31:53.399Z', '3.0.2': '2020-02-29T18:25:04.055Z', '3.0.3': '2020-03-12T06:15:56.593Z', '3.1.0': '2020-03-13T13:06:06.788Z', '3.2.0': '2020-03-24T05:40:56.524Z' }, author: 'fengmk2 <fengmk2@gmail.com> (https://fengmk2.com)', repository: { type: 'git', url: 'git://github.com/node-modules/mm.git' }, readmeFilename: 'README.md', homepage: 'http://github.com/node-modules/mm', keywords: [ 'mm', 'muk', 'mock', 'test' ], contributors: [ 'fengmk2 <fengmk2@gmail.com> (https://github.com/fengmk2)', 'dead_horse <dead_horse@qq.com> (https://github.com/dead-horse)', 'AlsoTang <alsotang@gmail.com> (https://github.com/alsotang)', 'Haoliang Gao <sakura9515@gmail.com> (https://github.com/popomore)', 'xavierzhou <xiayezhou@gmail.com> (https://github.com/xavierchow)' ], bugs: { url: 'https://github.com/node-modules/mm/issues' }, license: 'MIT', users: { lfeng: true }, version: '3.2.0', main: 'index.js', scripts: { test: 'npm run lint && egg-bin test', ci: 'npm run lint && egg-bin cov', lint: 'eslint --fix lib test index.js', autod: 'autod -w --prefix \'^\'' }, dependencies: { 'is-type-of': '^1.2.1', 'ko-sleep': '^1.0.3', 'muk-prop': '^1.2.1', thenify: '^3.3.0' }, devDependencies: { autod: '^3.1.0', chunkstream: '^0.0.1', co: '^4.6.0', 'egg-bin': '^1.11.1', 'egg-ci': '^1.13.1', enable: '^3.4.0', eslint: '^6.8.0', 'eslint-config-egg': '^8.0.1', 'node-patch': '*', pedding: '^1.1.0', should: '^13.2.3', 'thunkify-wrap': '^1.0.4', urllib: '^2.34.2', uuid: '^3.4.0' }, engines: { node: '>=8.0.0' }, ci: { type: 'travis, azure-pipelines', version: '8, 10, 12, 13' }, gitHead: 'fd71b21ccc554a34e93fbde8642a07c49af337d8', dist: { integrity: 'sha512-/VCj1KbfQHqY5YfAQZY0YVoU8QyTvFDdRnGfAQ1SzILtwgns2fl+SXiIMH+/7GW/5DEr69ffmGVP2pouUIKlaA==', shasum: '509cc2477c24376f4c441229ddf8ddd3d80b5fcc', tarball: 'https://registry.npmjs.org/mm/-/mm-3.2.0.tgz', fileCount: 7, unpackedSize: 36734, 'npm-signature': '-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeZ1oCRA9TVsSAnZWagAABOwP/jlyt8QEkpg4H39pawB5\ntqR6NL5jSAiGqLoA4U8pvamTRV7Q8Oci6ow6xCReRgYJ3D5gQXegV4ujtc/l\ngLsYBu1o+SD5QDvDSjDXinQHP4fYIofH6XmROm162IPeLwt/B322kJuBybHK\nZ+d8i0VjcehNgDK2UO7oYkjmKzmNfoo1wvJap2dY3L8WSvptmn9WevRKMnWS\nOzUPRpmcKbnFmzDeVeaQdxydA82XlOZUaTLofeKTiEi0d7JYRpbCGSH2gGhg\n1VwKwwSfbzHEiTrxvdYpa1xRO8bQ7wg8rtS8dbRvEy1VTxjZWmGEpgn8LqjL\nSCiMQzkEXrCY+em83OOGIAud7LSHSe+oNBUZ/KeHrWDdBKHH9/ILhgKGM0F0\noEA8G/NXvGuxtSjV4zg6Tr6dL3dPwx4yVMyJZ4CPNknqDV9FNf38BwlYqMuL\no0XwCPL0jo9/3mmoiYO3nemG7L71pEumy0MazniPIdidlsCXJSZDxJbwMWIr\noV8dZ2NLxzEAwzgUaaqDMxevZTepbRNH4Ff9TVTHsAyQtpDlcwvoFBYszmxJ\nJzJK5pZ+++CQ0E65S7rSPkv6HptPutcJOJzdzvE7hho5rj/z/JgDv4P59li5\n+PwaH0I2b+cDyNxu+c0C4bvgpZ6g+IOkcbNXx9i2zYDX+C4G69jbcJgl/B3f\nX+Ww\r\n=iyb3\r\n-----END PGP SIGNATURE-----\r\n' }, directories: {} }
-
@Mykle1 Thanks I’ve changed it but still is not loading. My first initial thought was that the module hadn’t installed in the modules folder but I do see this when listing in the parent directory:
pi@magicmirroros:~/MagicMirror/modules $ ls
MMM-EyeCandy MMM-NetworkScanner MMM-SystemStats -
@pjcrux I thought there was a MagicMirror OS parm that said allow override modules
-
@sdetweil said in MMM-SystemStats and MMM-EyeCandy not initializing upon start, boot, reboot, or restart of the MM OS:
MagicMirror OS parm
If you know of what to do or what I can google please let me know when it comes to you. I’m not finding anything with my google-fu.
-
@pjcrux see https://gitlab.com/khassel/magicmirror
this covers config and module install best I can tell
-
@pjcrux said in MMM-SystemStats and MMM-EyeCandy not initializing upon start, boot, reboot, or restart of the MM OS:
pi@magicmirroros:~/MagicMirror/modules $ ls
MMM-EyeCandy MMM-NetworkScanner MMM-SystemStatsDoes it work with the default config entry?
{ module: "MMM-EyeCandy", position: "top_center", config: { maxWidth: "75%", // Sizes the images. Retains aspect ratio. style: '1', // Style number or use ownImagePath to override style ownImagePath: '', // ex: 'modules/MMM-EyeCandy/pix/YOUR_PICTURE_NAME.jpg', or internet url to image } },