sdetweil / MMM-Config

testing
27 stars 3 forks source link

Blank Screen after using MMM.Config #37

Closed Ragziesoft closed 6 months ago

Ragziesoft commented 1 year ago

I recently added the MMM-Config module to my existing Config.js file. After that I invoked the config html page to configure additional pages . The config.js file gets reformatted nicely, but does not add the changes made. However, when I restart the MM with the updated config.js file , I am encountering an issue wherein the Magic Mirror Display goes blank and does not display any module on any page, except the page indicator at the bottom which continues to switch from page to page but with no display of page contents(Modules). npm run config:check does not throw up any error. How to resolve the issue.

sdetweil commented 1 year ago

can u show the messages at mm startup, either thru.npm start or if using pm2, then

pm2 logs --lines=50

if using pm2 and want to use npm start then stop mm with pm2 stop all

are u willing to share config.js ( send to my email, same userid at gmail)

Ragziesoft commented 1 year ago

PM2 | 2022-09-13T19:21:37: PM2 log: PM2 version : 5.2.0 PM2 | 2022-09-13T19:21:37: PM2 log: Node.js version : 16.17.0 PM2 | 2022-09-13T19:21:37: PM2 log: Current arch : arm PM2 | 2022-09-13T19:21:37: PM2 log: PM2 home : /home/pi/.pm2 PM2 | 2022-09-13T19:21:37: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid PM2 | 2022-09-13T19:21:37: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock PM2 | 2022-09-13T19:21:37: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock PM2 | 2022-09-13T19:21:37: PM2 log: Application log path : /home/pi/.pm2/logs PM2 | 2022-09-13T19:21:37: PM2 log: Worker Interval : 30000 PM2 | 2022-09-13T19:21:37: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2 PM2 | 2022-09-13T19:21:37: PM2 log: Concurrent actions : 2 PM2 | 2022-09-13T19:21:37: PM2 log: SIGTERM timeout : 1600 PM2 | 2022-09-13T19:21:37: PM2 log: =============================================================================== PM2 | 2022-09-13T19:21:38: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2022-09-13T19:21:38: PM2 log: App [mm:0] online PM2 | 2022-09-13T19:37:13: PM2 log: Stopping app:mm id:0 PM2 | 2022-09-13T19:37:13: PM2 log: pid=958 msg=failed to kill - retrying in 100ms PM2 | 2022-09-13T19:37:16: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2022-09-13T19:37:16: PM2 log: pid=958 msg=process killed PM2 | 2022-09-13T19:37:16: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2022-09-13T19:37:16: PM2 log: App [mm:0] online PM2 | 2022-09-13T19:38:58: PM2 log: Stopping app:mm id:0 PM2 | 2022-09-13T19:38:58: PM2 log: pid=2732 msg=failed to kill - retrying in 100ms PM2 | 2022-09-13T19:38:59: PM2 log: pid=2732 msg=failed to kill - retrying in 100ms PM2 | 2022-09-13T19:38:59: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2022-09-13T19:38:59: PM2 log: pid=2732 msg=process killed PM2 | 2022-09-13T19:38:59: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2022-09-13T19:38:59: PM2 log: App [mm:0] online

/home/pi/.pm2/logs/mm-error.log last 50 lines: 0|mm | at processTicksAndRejections (node:internal/process/task_queues:83:21) 0|mm | [13.09.2022 22:34.01.717] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 20) 0|mm | [13.09.2022 22:34.05.632] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400 0|mm | at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15) 0|mm | at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12) 0|mm | at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11) 0|mm | at IncomingMessage.emit (node:events:402:35) 0|mm | at endReadableNT (node:internal/streams/readable:1343:12) 0|mm | at processTicksAndRejections (node:internal/process/task_queues:83:21) 0|mm | [13.09.2022 22:34.05.633] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 22) 0|mm | [13.09.2022 22:34.15.823] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400 0|mm | at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15) 0|mm | at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12) 0|mm | at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11) 0|mm | at IncomingMessage.emit (node:events:402:35) 0|mm | at endReadableNT (node:internal/streams/readable:1343:12) 0|mm | at processTicksAndRejections (node:internal/process/task_queues:83:21) 0|mm | [13.09.2022 22:34.15.831] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 24) 0|mm | [13.09.2022 22:34.17.824] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400 0|mm | at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15) 0|mm | at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12) 0|mm | at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11) 0|mm | at IncomingMessage.emit (node:events:402:35) 0|mm | at endReadableNT (node:internal/streams/readable:1343:12) 0|mm | at processTicksAndRejections (node:internal/process/task_queues:83:21) 0|mm | [13.09.2022 22:34.17.826] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 26) 0|mm | [13.09.2022 22:34.25.562] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400 0|mm | at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15) 0|mm | at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12) 0|mm | at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11) 0|mm | at IncomingMessage.emit (node:events:402:35) 0|mm | at endReadableNT (node:internal/streams/readable:1343:12) 0|mm | at processTicksAndRejections (node:internal/process/task_queues:83:21) 0|mm | [13.09.2022 22:34.25.574] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 28) 0|mm | [13.09.2022 22:34.26.850] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400 0|mm | at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15) 0|mm | at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12) 0|mm | at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11) 0|mm | at IncomingMessage.emit (node:events:402:35) 0|mm | at endReadableNT (node:internal/streams/readable:1343:12) 0|mm | at processTicksAndRejections (node:internal/process/task_queues:83:21) 0|mm | [13.09.2022 22:34.26.851] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 30) 0|mm | [13.09.2022 22:34.27.050] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400 0|mm | at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15) 0|mm | at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12) 0|mm | at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11) 0|mm | at IncomingMessage.emit (node:events:402:35) 0|mm | at endReadableNT (node:internal/streams/readable:1343:12) 0|mm | at processTicksAndRejections (node:internal/process/task_queues:83:21) 0|mm | [13.09.2022 22:34.27.051] [ERROR] (node:3666) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 32)

sdetweil commented 1 year ago

can u post the config.js section for mmm-google photos from both old config and new

remove the personal client info, etc content

Ragziesoft commented 1 year ago

Old Config.js with google photos

{
                module: "MMM-GooglePhotos",
                position: "top_right",
                config: {
                albums: ["MagicMirror"], // Set your album name. like ["My wedding", "family share", "Travle to Paris"]
                updateInterval: 500 * 60, // minimum 10 seconds.
                sort: "random", // "old", "random"
                uploadAlbum: null, // Only album created by `create_uploadable_album.js`.
                condition: {
                fromDate: null, // Or "2018-03", RFC ... format available
                toDate: null, // Or "2019-12-25",
                minWidth: null, // Or 400
                maxWidth: null, // Or 8000
                minHeight: null, // Or 400
                maxHeight: null, // Or 8000
                minWHRatio: null,
                maxWHRatio: null,
                // WHRatio = Width/Height ratio ( ==1 : Squared Photo,   < 1 : Portraited Photo, > 1 : Landscaped Photo)
        },
                showWidth: 800, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended.
                showHeight: 600,
                timeFormat: "YYYY/MM/DD HH:mm", // Or `relative` can be used.
        }
        },

Reformated by your Config

   {
        module: "MMM-GooglePhotos",
        position: "top_right",
        config: {
          albums: [
            "\"MagicMirror\""
          ],
          updateInterval: 30000,
          sort: "random",
          showWidth: 800,
          showHeight: 600,
          timeFormat: "YYYY/MM/DD HH:mm"
        },
        order: "*",
        disabled: false
      },
sdetweil commented 1 year ago

hm.. can u add

disabled: true,

to the googlephotos config
line after module:

i don't see that error.. i did my google config quite a few months ago..

if I use your config, i don't see that error..
I assume googlephotos worked before.. and if u put the config back(from the saved version) does it work?

sdetweil commented 1 year ago

just change disabled: false to true then pm2 flush pm2 restart all

Ragziesoft commented 1 year ago

Yes, I reverted back to the saved config.js version and everything is back to normal. My google photos module has been working with out any issues with my config file.In fact I tried redoing the entire process at least three times, but each time faced the same issue.Sent by telepathy On 14-Sep-2022, at 08:56, sam detweiler @.***> wrote: hm.. can u add we disabled: true, to the googlephotos config line after module: i don't see that error.. i did my google config quite a few months ago.. if I use your config, i don't see that error.. I assume googlephotos worked before.. and if u put the config back(from the saved version) does it work?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Ragziesoft commented 1 year ago

I changed disabled false to true.Same issue. Still not displaying any modules except pages. On Wednesday, 14 September, 2022 at 09:01:47 am IST, sam detweiler @.***> wrote:

just change disabled: false to true

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

sdetweil commented 1 year ago

great can u get me the startup messages.

let's do it this way

pm2 stop all
cd~/MagicMirror
npm start > somefile.txt  2>&1

wait til it comes up then ctrl-q on the mm screen then attach somefile.txt

as a separate thing, can u send me (via email) your original config.js and the details.js from the MMM-Config module folder you will have to change their file type to .txt from .js

sdetweil commented 1 year ago

what is the config.js section for MMM-Config?

Ragziesoft commented 1 year ago
On Wednesday, 14 September, 2022 at 04:53:04 pm IST, sam detweiler ***@***.***> wrote:  

great can u get me the startup messages.

let's do it this way pm2 stop all cd~/MagicMirror npm start > somefile.txt 2>&1

wait til it comes up then ctrl-q on the mm screen then attach somefile.txt

as a separate thing, can u send me (via email) your original config.js and the details.js from the MMM-Config module folder you will have to change their file type to .txt from .js

— Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread. I guess you wanted Defaults.js and not details.js from MMM-Config module folder.Message ID: @.***>

/* Magic Mirror Config Sample

*/ let 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: [],//["127.0.0.1", "::ffff:127.0.0.1", "::1"], // 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",
locale: "en-IN",
logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
timeFormat: 24,
units: "metric",
// 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-pages',
        config: {
         modules: [
      [
    'MMM-FlipClock',
        'MMM-LocalTemperature',
    'weather',  
    //'MMM-AirQuality',
    'MMM-AQI',
    //'MMM-aqicn',
        'newsFeed',

        ],
      [

    'MagicMirror-QuoteCatalog',     
    'Calendar', 
    'MMM-MoonPhase',
    'newsFeed',
    'MMM-TelegramBot',
    'MMM-PIR-Sensor',     
    //'MMM-MicrosoftToDo',      
    //'MMM-json-feed'       

      ],
     [
    'MMM-GooglePhotos',  // 1st page of Google photos.
    'MMM-TelegramBot'
   ],
 [
    'MMM-GooglePhotos',  // 2nd page of Google photos
    'MMM-TelegramBot'
   ],
 [
    'MMM-GooglePhotos', // 3rd Page of Google photos
    'MMM-TelegramBot'
   ],
 [
     'MMM-GooglePhotos', // 4th Page
     'MMM-TelegramBot'
],

[
     'MMM-GooglePhotos', // 5th Page
     'MMM-TelegramBot'
],

[
     'MMM-GooglePhotos', // 6th Page
     'MMM-TelegramBot'
],

],
    fixed: [
       'MMM-page-indicator'
      ],
    animationTime:1000,
rotationTime: 10000, //10 Seconds
rotationDelay:10000,
homePage:0,
    excludes: []
  }
},

    {
    module:"MMM-Config",
    position:"top_right",  // the QR code (if requested) will appear here
    config:{

    }
},
    {
            module: 'MMM-FlipClock',
            position: 'top_left',
            config: {
        //timezone:
            // See 'Configuration options' for more information.
        }
    },

    {
        module: "alert",
    },
    {
        module: "updatenotification",
        position: "top_bar"
    },
    {
                module: "MMM-LocalTemperature",
                position: "bottom_left", // Only add a position if you want this module to display the data
                header: "Room Temperature",
                config: {
        sensorPin: 22,  //board pin 15
            showTemperature:'true',
            showHumidity:'true',
            roundHumidity: 'true',
            updateInterval: '5'

        }

    },

//{ // module: 'MMM-IPCam', // position: 'top_left', // config: { // invertColors: false, // updateInterval : 10000, //host: '192.168.1.47', //port: 80, // user: 'admin', // pass: 'yourpassword' //} //},

     {
        module: "MMM-MoonPhase",
        position: "middle_center",
        config: {
            updateInterval: 43200000,
            hemisphere: "N",
            resolution: "detailed",
            basicColor: "white",
            title: true,
            phase: true,
            x: 200,
            y: 200,
            alpha: 0.7
        }

        },
        //{
            //module: 'MMM-AirQuality',
            //position: 'top_right', // you may choose any location
            //config: {
            //location: 'xxxxxx' // the location to check the index for
            //location: 'xxxxxx'
            //}
 // },
    //{
            //  module: "MMM-aqicn",
                //position: "top_right",
                //header: "Air Quality Index",
                //config: {
                //token: "xxxxxxxx",
                //stationName: "xxxxxxxx",
                //showDetails: true
                //}
   // },
        {
        module: 'MMM-AQI',
        position: 'top_right',
        header: 'Air Quality Index (AQI)',
        config: {
            token: "xxxxxxx",
            city: "here",
            iaqi: true,
            updateInterval: 30 * 60 * 1000, // Every half hour.
            initialLoadDelay: 0,
            animationSpeed: 1000,
            debug: false
        }
    },

    {
    module: "calendar",
    header: 'Rags Calendar',
    position: "left",   // This can be any of the regions. Best results in left or right regions.
    config: {
    colored: true,
    coloredSymbolOnly: false,
    tableClass:'small',
    maximumNumberOfDays: 183,
    maximumEntries: 12,
    customEvents: [{keyword: 'Birthday', symbol: 'birthday-cake', color: 'Gold'},{keyword: 'Anniversary', symbol:'star',color:'White'}],
    calendars: [
    {
        url: 'https:xxxx',

        symbol: 'calendar',
        color: '#efefef',
        name: 'Rags Calendar',

        auth: {
            user: 'xxx',
            pass: 'xxx',
            method: 'basic'
        }
        }

],

} },

    {
                 module:'MagicMirror-QuoteCatalog',
                     header:'Classic Quotes from Hollywood',
                     position:'top_right',
             classes: 'bright',
             config: {
             timeFormat: 15,
                 fadeSpeed:  5 
           }

           },

    {
    module: "weather",
    position: "top_right",
    config: {

        weatherProvider: 'openweathermap',
        type: 'current',
        degreeLabel: 'true',
        timeFormat: 24,
        appendLocationNameToHeader: 'true',
        showHumidity: 'true',
        showIndoorTemperature: 'true',
        showIndoorHumidity: 'true',
        tableClass: 'small',
        colored: 'true',
        maxNumberOfDays: 3,
        locationID: '1277333',
        location: 'Bengaluru',
        apiKey: 'xxxxx'
    }   
    },

//  location: 'xxxxx',
  //  locationID: '1277333',
  //  appid: 'xxxxxx',

    {
        module: "newsfeed",
        position: "bottom_bar",
        config: {
            feeds: [
                {
                    title: "Google News",
                     url: 'xxxx'
                    //url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                }
            ],
            showSourceTitle: true,
            showPublishDate: true,
            broadcastNewsFeeds: true,
            broadcastNewsUpdates: true
        }
    },
    {
            module: "MMM-GooglePhotos",
            position: "top_right",
            config: {
            albums: ["MagicMirror"], // Set your album name. like ["My wedding", "family share", "Travle to Paris"]
            updateInterval: 500 * 60, // minimum 10 seconds.
            sort: "random", // "old", "random"
            uploadAlbum: null, // Only album created by `create_uploadable_album.js`.
            condition: {
            fromDate: null, // Or "2018-03", RFC ... format available
            toDate: null, // Or "2019-12-25",
            minWidth: null, // Or 400
            maxWidth: null, // Or 8000
            minHeight: null, // Or 400
            maxHeight: null, // Or 8000
            minWHRatio: null,
            maxWHRatio: null,
            // WHRatio = Width/Height ratio ( ==1 : Squared Photo,   < 1 : Portraited Photo, > 1 : Landscaped Photo)
    },
            showWidth: 800, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended.
            showHeight: 600,
            timeFormat: "YYYY/MM/DD HH:mm", // Or `relative` can be used.
    }
    },

{
    module: 'MMM-PIR-Sensor', 
    position: "top_center", // Remove this line to avoid having an visible indicator
    config: {
        sensorPin: 17,
        //powerSavingDelay: 60, // Turn HDMI OFF after 60 seconds of no motion, until motion is detected again
        //preventHDMITimeout: 4, // Turn HDMI ON and OFF again every 4 minutes when power saving, to avoid LCD/TV timeout
        supportCEC: false, 
        presenceIndicator: "fa-eye", // Customizing the indicator
        presenceOffIndicator: "fa-eye", // Customizing the indicator
        presenceIndicatorColor: "#f51d16", // Customizing the indicator
        presenceOffIndicatorColor: "#2b271c", // Customizing the indicator
        powerSavingNotification: true,
        powerSavingMessage: "No presence detected monitor will be turned off"
        //runSimulator: true
    }
},

        {
            module: 'MMM-TelegramBot',
            position:'bottom_left',
            config: {
            telegramAPIKey : 'xxxxxxx',
            allowedUser : ['Rags'], // This is NOT the username of bot.
            adminChatId :xxxxx,
            useWelcomeMessage: true,
                verbose: false,
                favourites:["/commands", "/modules", "/hideall", "/showall"],
                screenshotScript: "scrot",
                detailOption: {},
                customCommands: [],
                telecast: true, // true or chat_id
                telecastLife: 1000 * 60 * 60 * 6,
                telecastLimit: 5,
                telecastHideOverflow: true,
                commandAllowed: {},
                useSoundNotification: true,
                dateFormat: "DD-MM-YYYY HH:mm:ss",
                telecastContainer: 300,
                TelegramBotServiceAlerte: true

        }

        },

    {
             module: 'MMM-page-indicator',
            position: 'bottom_bar',
            config: {}
        }
],
        paths: {
            modules: 'modules',
            vendor: 'vendor'

} };

/ DO NOT EDIT THE LINE BELOW / if (typeof module !== "undefined") {module.exports = config;}

var config = { address: "0.0.0.0", port: 8080, basePath: "/", language: "en", locale: "en-IN", logLevel: [ "INFO", "LOG", "WARN", "ERROR" ], timeFormat: 24, units: "metric", useHttps: false, ipWhitelist: [], modules: [ { module: "MMM-pages", config: { modules: [ "[ \"MMM-FlipClock\", \"MMM-LocalTemperature\", \"weather\", \"MMM-AQI\", \"newsFeed\"]", "[ \"MagicMirror-QuoteCatalog\", \"Calendar\", \"MMM-MoonPhase\", \"newsFeed\", \"MMM-TelegramBot\", \"MMM-PIR-Sensor\"]", "[ \"MMM-GooglePhotos\", \"MMM-TelegramBot\"]", "[ \"MMM-GooglePhotos\", \"MMM-TelegramBot\"]", "[ \"MMM-GooglePhotos\", \"MMM-TelegramBot\"]", "[ \"MMM-GooglePhotos\", \"MMM-TelegramBot\"]", "[ \"MMM-GooglePhotos\", \"MMM-TelegramBot\"]", "[ \"MMM-GooglePhotos\", \"MMM-TelegramBot\"]" ], fixed: [ "MMM-page-indicator" ], animationTime: 1000, rotationTime: 10000, rotationDelay: 10000, homePage: 0, excludes: [] }, order: "", disabled: false }, { module: "alert", order: "", disabled: false, label: "instance 1", index: 1 }, { module: "calendar", header: "Rags Calendar", config: { colored: true, coloredSymbolOnly: false, tableClass: "small", maximumNumberOfDays: 183, maximumEntries: 12, customEvents: [ { keyword: "Birthday", symbol: "birthday-cake", color: "Gold" }, { keyword: "Anniversary", symbol: "star", color: "White" } ], calendars: [ { url: "https://calendar.google.com/calendar/ical/xxxx.ics", symbol: "calendar", color: "#efefef", name: "Rags Calendar", auth: { user: "xxxx", pass: "xxxx", method: "basic" } } ], titleReplace: { "0": "De verjaardag van :", "1": "'s birthday:" }, locationTitleReplace: { "0": "street :" } }, order: "", disabled: false, label: "instance 1", index: 1, bad_position: "left" }, { module: "updatenotification", position: "top_bar", order: "", disabled: false }, { module: "MMM-FlipClock", position: "top_left", config: {}, order: "", disabled: false }, { module: "MMM-PIR-Sensor", position: "top_center", config: { sensorPin: 17, presenceIndicator: "fa-eye", presenceOffIndicator: "fa-eye", presenceIndicatorColor: "#f51d16", presenceOffIndicatorColor: "#2b271c", powerSavingNotification: true, powerSavingMessage: "No presence detected monitor will be turned off" }, order: "", disabled: false }, { module: "MMM-Config", position: "top_right", config: { restart: "none" }, order: "", disabled: false }, { module: "MMM-AQI", position: "top_right", header: "Air Quality Index (AQI)", config: { token: "xxxx", city: "here", iaqi: true, updateInterval: 1800000, initialLoadDelay: 0, animationSpeed: 1000, debug: false }, order: "", disabled: false }, { module: "MagicMirror-QuoteCatalog", header: "Classic Quotes from Hollywood", position: "top_right", classes: "bright", config: { fadeSpeed: 5, quotes: { quotes: "[How you make others feel about themselves says a lot about you. ~ Unknown,Please don't expect me to always be good and kind and loving. There are times when I will be cold and thoughtless and hard to understand. ~ Sylvia Plath,If you inherently long for something, become it first. If you want gardens, become the gardener. If you want love, embody love. If you want mental stimulation, change the conversation. If you want peace, exude calmness. If you want to fill your world with artists, begin to paint. If you want to be valued, respect your own time. If you want to live ecstatically, find the ecstasy within yourself. This is how to draw it in, day by day, inch by inch. ~ Victoria Erickson,It's a lot easier to be angry at someone than it is to tell them you're hurt. ~ Tom Gates,Loneliness is a sign you are in desperate need of yourself. ~ Rupi Kaur,If it doesn't challenge you, it won't change you. ~ Karen Civil,People may not tell you how they feel about you, but they always show you. Pay attention. ~ Keri Hilson,No amount of guilt can change the past, and no amount of worrying can change the future. Go easy on yourself. ~ Umar Ibn Al-Khattaab,It just occurred to me that many people are actually afraid to heal because their entire identity is centered around the trauma they've experienced. They have no idea who they are outside of trauma and that unknown can be terrifying. ~ Ebonee Davis,You know, sometimes all you need is twenty seconds of insane courage. Just literally twenty seconds of just embarrassing bravery. And I promise you, something great will come of it. ~ Benjamin Mee,It's a lot easier to be angry at someone than it is to tell them you're hurt. ~ Tom Gates,Sometimes I think I have felt everything I'm ever gonna feel. And from here on out, I'm not gonna feel anything new. Just lesser versions of what I've already felt. ~ Her (2013),How lucky I am to have something that makes saying goodbye so hard ~ Winnie the Pooh,It is the time you have wasted for your rose that makes your rose so important. ~ Antoine de Saint-Exupéry, The Little Prince,The mind is its own place, and in itself can make a heaven of hell, a hell of heaven. ~ John Milton, Paradise Lost,The way to love someone is to lightly run your finger over that person's soul until you find a crack, and then gently pour your love into that crack. ~ Keith Miller,I think the reward for conformity is that everyone likes you except yourself. ~ Rita Mae Brown,Respect yourself enough to walk away from anything that no longer serves you, grows you, or makes you happy. ~ Robert Tew,You do not become good by trying to be good, but by finding the goodness that is already within you, and allowing that goodness to emerge. ~ Eckhart Tolle,As time goes on, you'll understand. What lasts, lasts; what doesn't, doesn't. Time solves most things. And what time can't solve, you have to solve yourself. ~ Haruki Murakami, Dance Dance Dance,Everybody talks about wanting to change things and help and fix, but ultimately all you can do is fix yourself. And that's a lot. Because if you can fix yourself, it has a ripple effect. ~ Rob Reiner,No amount of guilt can change the past, and no amount of worrying can change the future. Go easy on yourself. ~ Umar Ibn Al-Khattaab,Why do you put your self~esteem in the hands of complete strangers? ~ Helena Bonham Carter,I want to be like water. I want to slip through fingers, but hold up a ship. ~ Michelle Williams,I want to be around people that do things. I don't want to be around people anymore that judge or talk about what people do. I want to be around people that dream and support and do things. ~ Amy Poehler,Be confident enough to know that you're original and different from everyone else. Be humble enough to know that that doesn't mean that you're better than anyone else. ~ R.L.,You shouldn't try to stop everything from happening. Sometimes you're supposed to feel awkward. Sometimes you're supposed to be vulnerable in front of people. Sometimes it's necessary because it's all part of you getting to the next part of yourself, the next day. ~ Cecelia Ahern, The Book of Tomorrow,If giving leaves you feeling empty, you're giving too much to the wrong person. ~ Maza Dohta,I myself am made entirely of flaws, stitched together with good intentions. ~ Augusten Burroughs, Magical Thinking,And then my soul saw you and it kind of went 'Oh there you are. I've been looking for you.' ~ pleasefindthis, I Wrote This For You,If you only read the books that everyone else is reading, you can only think what everyone else is thinking. ~ Haruki Murakami, Norwegian Wood,I can bear any pain as long as it has meaning. ~ Haruki Murakami, 1Q84,If you remember me, then I don't care if everyone else forgets. ~ Haruki Murakami, Kafka on the Shore,Whenever I look at the ocean, I always want to talk to people, but when I'm talking to people, I always want to look at the ocean. ~ Haruki Murakami, Hear the Wind Sing,A wound is a place where light enters your soul. ~ Jalal ad-Din Muhammad Balkhi,You are not a drop in the ocean. You are the entire ocean in a drop. ~ Jalal ad-Din Muhammad Balkhi,Wherever you are, and whatever you do, be in love. ~ Jalal ad-Din Muhammad Balkhi,I would like to be known as an intelligent woman, a courageous woman, a loving woman, a woman who teaches by being. ~ Maya Angelou,I always did something I was a little not ready to do. I think that is how you grow. ~ Marissa Mayer,Like a wild flower, she spent her days allowing herself to grow. Not many knew of her struggle, but eventually all knew of her light. ~ Niki Rowe,I've learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel. ~ Maya Angelou,You know who’s gonna give you everything? Yourself. ~ Diane Von Furstenberg,Love is taking a few steps backward maybe even more… to give way to the happiness of the person you love. ~ Winnie the Pooh,I think we dream so we don’t have to be apart so long. If we’re in each other’s dreams we can be together all the time. ~ A. A. Milne, Winnie the Pooh,Some people care too much. I think it’s called love. ~ A. A. Milne, Winnie the Pooh,If you live to be a hundred, I want to live to be a hundred minus one day so I never have to live without you. ~ A. A. Milne, Winnie the Pooh,A little consideration, a little thought for others, makes all the difference. ~ A. A. Milne, Winnie the Pooh,Nobody can be uncheered with a balloon. ~ A. A. Milne, Winnie the Pooh,A day spent with you is my favorite day. So today is my new favorite day. ~ A. A. Milne, Winnie the Pooh,Why, sometimes I've believed as many as six impossible things before breakfast. ~ Lewis Carroll, Alice in Wonderland,If everybody minded their own business, the world would go around a great deal faster than it does. ~ Lewis Carroll, Alice in Wonderland,I can’t go back to yesterday because I was a different person then. ~ Lewis Carroll, Alice in Wonderland,If you’ll believe in me, I’ll believe in you. Is that a bargain? ~ Lewis Carroll, Alice in Wonderland,If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear. ~ A.A. Milne, Winnie-the-Pooh,Don’t ever let somebody tell you you can’t do something, not even me. Alright? You dream, you gotta protect it. People can’t do something themselves, they wanna tell you you can’t do it. If you want something, go get it. Period. ~ The Pursuit of Happyness (2006),Great men are not born great, they grow great. ~ The Godfather (1972),Some people can’t believe in themselves until someone else believes in them first. ~ Good Will Hunting (1997),I just wanted you to know there will be a piece of you in me always, and I'm grateful for that. ~ Her (2013),I feel like I can be anything with you. ~ Theodore, Her (1997),Life moves pretty fast. If you don’t stop and look around once in a while, you could miss it. ~ Ferris Bueller’s Day Off (1986),You know, the ancient Egyptians had a beautiful belief about death. When their souls got to the entrance to heaven, the guards asked two questions. Their answers determined whether they were able to enter or not. ‘Have you found joy in your life?’ ‘Has your life brought joy to others?’ ~ The Bucket List (2007),Oh yes, the past can hurt. But you can either run from it, or learn from it. ~ The Lion King (1994),So, this is my life. and i want you to know that i am both happy and sad and i’m still trying to figure out how that could be. ~ The Perks of Being a Wallflower (2012),You don’t need the whole world to love you. Just a few good people. ~ The Greatest Showman (2017)]" } }, order: "", disabled: false }, { module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", degreeLabel: "true", timeFormat: 24, appendLocationNameToHeader: "true", showHumidity: true, showIndoorTemperature: true, showIndoorHumidity: true, tableClass: "small", colored: true, maxNumberOfDays: 3, locationID: "xxxx", location: "xxxx", apiKey: "xxxxxx12898f530d73f0c23f2f", windUnits: "mph" }, order: "", disabled: false }, { module: "MMM-GooglePhotos", position: "top_right", config: { albums: [ "\"MagicMirror\"" ], updateInterval: 30000, sort: "random", showWidth: 800, showHeight: 600, timeFormat: "YYYY/MM/DD HH:mm" }, order: "", disabled: false }, { module: "MMM-MoonPhase", position: "middle_center", config: { updateInterval: 43200000, hemisphere: "N", resolution: "detailed", basicColor: "white", title: true, phase: true, x: 200, y: 200, alpha: 0.7 }, order: "", disabled: false }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "Google News", url: "https://news.google.com/news/rss" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true }, order: "", disabled: false }, { module: "MMM-page-indicator", position: "bottom_bar", config: {}, order: "", disabled: false }, { module: "MMM-LocalTemperature", position: "bottom_left", header: "Room Temperature", config: { sensorPin: "22", showTemperature: true, showHumidity: true, roundHumidity: true, updateInterval: "5" }, order: "", disabled: false }, { module: "MMM-TelegramBot", position: "bottom_left", config: { allowedUser: [ "\"xxxx\"" ], useWelcomeMessage: true, verbose: false, favourites: [ "/commands", "/modules", "/hideall", "/showall" ], screenshotScript: "scrot", detailOption: {}, customCommands: [], telecast: "true", telecastLife: 21600000, telecastLimit: 5, telecastHideOverflow: true, commandAllowed: {}, useSoundNotification: true, dateFormat: "DD-MM-YYYY HH:mm:ss", telecastContainer: 300, TelegramBotServiceAlerte: true }, order: "", disabled: false } ] } ;

/ DO NOT EDIT THE LINE BELOW / if (typeof module !== "undefined") {module.exports = config;} const config = require('../../config/config.js') var defined_config = { MMM_MoonPhase_defaults: { //TODOs - Commented out updateInterval: 43200000, // Every Twelve hours hemisphere: "N", //N or S resolution: "detailed", // detailed Or basic basicColor: "white", // "#ffffbe" is a good one title: true, //Whether or not the Moon Phase Title is displayed phase: true, //Label for what moon phase it is x: 200, // x dimension y: 200, // y dimension - I really recommend this staays the same as x, but whatever, go nuts alpha: 1 // not yet implemented - visibility of the moon behind the shadow - 1 is fully blacked out }, MMM_AQI_defaults: { token: "", city: "here", iaqi: true, updateInterval: 30 60 1000, // Every half hour. initialLoadDelay: 0, // No delay/ animationSpeed: 1000, // One second. debug: false }, MMM_aqicn_defaults: { token: "", // From https://aqicn.org/data-platform/token/ stationName: "", // Name of the station showLocationName: false, showDetails: true, updateInterval: 15, animationSpeed: 1000, apiDomain: "https://api.waqi.info" }, MMM_GooglePhotos_defaults: { albums: [], updateInterval: 1000 30, // minimum 10 seconds. sort: "new", // "old", "random" uploadAlbum: null, // Only for created by create_uploadable_album.js condition: { fromDate: null, // Or "2018-03", RFC ... format available toDate: null, // Or "2019-12-25", minWidth: null, // Or 400 maxWidth: null, // Or 8000 minHeight: null, // Or 400 maxHeight: null, // Or 8000 minWHRatio: null, maxWHRatio: null, }, showWidth: 1080, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended. showHeight: 1920, timeFormat: "YYYY/MM/DD HH:mm", autoInfoPosition: false, }, MMM_WordGenius_defaults: { updateInterval: 120000, headerText: "Word Genius Word of the Day" }, MMM_TelegramBot_defaults: { allowedUser: [], commandAllowed: { // If set, only specific user can use these commands, other even in allowedUser cannot. These members should be allowed by allowedUser first. }, alertTimer: "30000", useWelcomeMessage: true, useSoundNotification: true, TelegramBotServiceAlerte: true, verbose:false, screenshotScript: "scrot", detailOption: { }, / detailOption: { request: { proxy: @.**:1234", } } / favourites:["/commands", "/modules", "/hideall", "/showall"], customCommands:[], telecast: null, // true or chat_id telecastLife: 1000 60 60 * 6, telecastLimit: 5, telecastHideOverflow: true, telecastContainer: 300, dateFormat: "DD-MM-YYYY HH:mm:ss" }, MMM_AirQuality_defaults: { lang: '', location: '', showLocation: true, showIndex: true, appendLocationNameToHeader: true, updateInterval: 30, // every 30 minutes animationSpeed: 1000 }, MMM_Config_defaults: { showQR: false, force_update: true, restart: "", debug: false }, MMM_MoonPhase_defaults: { //TODOs - Commented out updateInterval: 43200000, // Every Twelve hours hemisphere: "N", //N or S resolution: "detailed", // detailed Or basic basicColor: "white", // "#ffffbe" is a good one title: true, //Whether or not the Moon Phase Title is displayed phase: true, //Label for what moon phase it is x: 200, // x dimension y: 200, // y dimension - I really recommend this staays the same as x, but whatever, go nuts alpha: 1 // not yet implemented - visibility of the moon behind the shadow - 1 is fully blacked out }, MMM_aqicn_defaults: { token: "", // From https://aqicn.org/data-platform/token/ stationName: "", // Name of the station showLocationName: false, showDetails: true, updateInterval: 15, animationSpeed: 1000, apiDomain: "https://api.waqi.info" }, MMM_IPCam_defaults: { updateInterval : 10000, // 10 seconds invertColors : false

    },

MMM_WordGenius_defaults: { updateInterval: 120000, headerText: "Word Genius Word of the Day" }, MagicMirror_QuoteCatalog_defaults: { updateInterval: 300, // How often a new quote gets displayed. fadeSpeed: 5, // How fast to fade out and back in when changing quotes. quotes: { quotes : [ "How you make others feel about themselves says a lot about you. ~ Unknown", "Please don't expect me to always be good and kind and loving. There are times when I will be cold and thoughtless and hard to understand. ~ Sylvia Plath", "If you inherently long for something, become it first. If you want gardens, become the gardener. If you want love, embody love. If you want mental stimulation, change the conversation. If you want peace, exude calmness. If you want to fill your world with artists, begin to paint. If you want to be valued, respect your own time. If you want to live ecstatically, find the ecstasy within yourself. This is how to draw it in, day by day, inch by inch. ~ Victoria Erickson", "It's a lot easier to be angry at someone than it is to tell them you're hurt. ~ Tom Gates", "Loneliness is a sign you are in desperate need of yourself. ~ Rupi Kaur", "If it doesn't challenge you, it won't change you. ~ Karen Civil", "People may not tell you how they feel about you, but they always show you. Pay attention. ~ Keri Hilson", "No amount of guilt can change the past, and no amount of worrying can change the future. Go easy on yourself. ~ Umar Ibn Al-Khattaab", "It just occurred to me that many people are actually afraid to heal because their entire identity is centered around the trauma they've experienced. They have no idea who they are outside of trauma and that unknown can be terrifying. ~ Ebonee Davis", "You know, sometimes all you need is twenty seconds of insane courage. Just literally twenty seconds of just embarrassing bravery. And I promise you, something great will come of it. ~ Benjamin Mee", "It's a lot easier to be angry at someone than it is to tell them you're hurt. ~ Tom Gates", "Sometimes I think I have felt everything I'm ever gonna feel. And from here on out, I'm not gonna feel anything new. Just lesser versions of what I've already felt. ~ Her (2013)", "How lucky I am to have something that makes saying goodbye so hard ~ Winnie the Pooh", "It is the time you have wasted for your rose that makes your rose so important. ~ Antoine de Saint-Exupéry, The Little Prince", "The mind is its own place, and in itself can make a heaven of hell, a hell of heaven. ~ John Milton, Paradise Lost", "The way to love someone is to lightly run your finger over that person's soul until you find a crack, and then gently pour your love into that crack. ~ Keith Miller", "I think the reward for conformity is that everyone likes you except yourself. ~ Rita Mae Brown", "Respect yourself enough to walk away from anything that no longer serves you, grows you, or makes you happy. ~ Robert Tew", "You do not become good by trying to be good, but by finding the goodness that is already within you, and allowing that goodness to emerge. ~ Eckhart Tolle", "As time goes on, you'll understand. What lasts, lasts; what doesn't, doesn't. Time solves most things. And what time can't solve, you have to solve yourself. ~ Haruki Murakami, Dance Dance Dance", "Everybody talks about wanting to change things and help and fix, but ultimately all you can do is fix yourself. And that's a lot. Because if you can fix yourself, it has a ripple effect. ~ Rob Reiner", "No amount of guilt can change the past, and no amount of worrying can change the future. Go easy on yourself. ~ Umar Ibn Al-Khattaab", "Why do you put your self~esteem in the hands of complete strangers? ~ Helena Bonham Carter", "I want to be like water. I want to slip through fingers, but hold up a ship. ~ Michelle Williams", "I want to be around people that do things. I don't want to be around people anymore that judge or talk about what people do. I want to be around people that dream and support and do things. ~ Amy Poehler", "Be confident enough to know that you're original and different from everyone else. Be humble enough to know that that doesn't mean that you're better than anyone else. ~ R.L.", "You shouldn't try to stop everything from happening. Sometimes you're supposed to feel awkward. Sometimes you're supposed to be vulnerable in front of people. Sometimes it's necessary because it's all part of you getting to the next part of yourself, the next day. ~ Cecelia Ahern, The Book of Tomorrow", "If giving leaves you feeling empty, you're giving too much to the wrong person. ~ Maza Dohta", "I myself am made entirely of flaws, stitched together with good intentions. ~ Augusten Burroughs, Magical Thinking", "And then my soul saw you and it kind of went 'Oh there you are. I've been looking for you.' ~ pleasefindthis, I Wrote This For You", "If you only read the books that everyone else is reading, you can only think what everyone else is thinking. ~ Haruki Murakami, Norwegian Wood", "I can bear any pain as long as it has meaning. ~ Haruki Murakami, 1Q84", "If you remember me, then I don't care if everyone else forgets. ~ Haruki Murakami, Kafka on the Shore", "Whenever I look at the ocean, I always want to talk to people, but when I'm talking to people, I always want to look at the ocean. ~ Haruki Murakami, Hear the Wind Sing", "A wound is a place where light enters your soul. ~ Jalal ad-Din Muhammad Balkhi", "You are not a drop in the ocean. You are the entire ocean in a drop. ~ Jalal ad-Din Muhammad Balkhi", "Wherever you are, and whatever you do, be in love. ~ Jalal ad-Din Muhammad Balkhi", "I would like to be known as an intelligent woman, a courageous woman, a loving woman, a woman who teaches by being. ~ Maya Angelou", "I always did something I was a little not ready to do. I think that is how you grow. ~ Marissa Mayer", "Like a wild flower, she spent her days allowing herself to grow. Not many knew of her struggle, but eventually all knew of her light. ~ Niki Rowe", "I've learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel. ~ Maya Angelou", "You know who’s gonna give you everything? Yourself. ~ Diane Von Furstenberg", "Love is taking a few steps backward maybe even more… to give way to the happiness of the person you love. ~ Winnie the Pooh", "I think we dream so we don’t have to be apart so long. If we’re in each other’s dreams we can be together all the time. ~ A. A. Milne, Winnie the Pooh", "Some people care too much. I think it’s called love. ~ A. A. Milne, Winnie the Pooh", "If you live to be a hundred, I want to live to be a hundred minus one day so I never have to live without you. ~ A. A. Milne, Winnie the Pooh", "A little consideration, a little thought for others, makes all the difference. ~ A. A. Milne, Winnie the Pooh", "Nobody can be uncheered with a balloon. ~ A. A. Milne, Winnie the Pooh", "A day spent with you is my favorite day. So today is my new favorite day. ~ A. A. Milne, Winnie the Pooh", "Why, sometimes I've believed as many as six impossible things before breakfast. ~ Lewis Carroll, Alice in Wonderland", "If everybody minded their own business, the world would go around a great deal faster than it does. ~ Lewis Carroll, Alice in Wonderland", "I can’t go back to yesterday because I was a different person then. ~ Lewis Carroll, Alice in Wonderland", "If you’ll believe in me, I’ll believe in you. Is that a bargain? ~ Lewis Carroll, Alice in Wonderland", "If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear. ~ A.A. Milne, Winnie-the-Pooh", "Don’t ever let somebody tell you you can’t do something, not even me. Alright? You dream, you gotta protect it. People can’t do something themselves, they wanna tell you you can’t do it. If you want something, go get it. Period. ~ The Pursuit of Happyness (2006)", "Great men are not born great, they grow great. ~ The Godfather (1972)", "Some people can’t believe in themselves until someone else believes in them first. ~ Good Will Hunting (1997)", "I just wanted you to know there will be a piece of you in me always, and I'm grateful for that. ~ Her (2013)", "I feel like I can be anything with you. ~ Theodore, Her (1997)", "Life moves pretty fast. If you don’t stop and look around once in a while, you could miss it. ~ Ferris Bueller’s Day Off (1986)", "You know, the ancient Egyptians had a beautiful belief about death. When their souls got to the entrance to heaven, the guards asked two questions. Their answers determined whether they were able to enter or not. ‘Have you found joy in your life?’ ‘Has your life brought joy to others?’ ~ The Bucket List (2007)", "Oh yes, the past can hurt. But you can either run from it, or learn from it. ~ The Lion King (1994)", "So, this is my life. and i want you to know that i am both happy and sad and i’m still trying to figure out how that could be. ~ The Perks of Being a Wallflower (2012)", "You don’t need the whole world to love you. Just a few good people. ~ The Greatest Showman (2017)" ] }, }, MMM_pages_defaults: { modules: [], excludes: [], // Keep for compatibility fixed: ['MMM-page-indicator'], hiddenPages: { }, animationTime: 1000, rotationTime: 0, rotationFirstPage: 0, // Keep for compatibility rotationHomePage: 0, rotationDelay: 10000, homePage: 0, useLockString: true, }, MMM_Config_defaults: { showQR: false, force_update: true, restart: "", debug: false }, MMM_LocalTemperature_defaults: { sensorPin: null, pinScheme: "BCMv2", units: config.units, useSudo: false, sendTemperature: true, sendHumidity: true, showTemperature: false, showHumidity: false, temperatureOffset: 0, humidityOffset: 0, iconView: true, temperatureText: null, // Set in self.start() becuase access to self.translate is needed humidityText: null, // Set in self.start() becuase access to self.translate is needed fontSize: "medium", decimalSymbol: null, // Set in self.start() becuase access to self.translate is needed roundTemperature: false, roundHumidity: false, scriptPath: null, // Set in self.start() becuase access to self.data.path is needed initialLoadDelay: 0, // Seconds, minimum 0 animationSpeed: 0, // Milliseconds, minimum 0 retryDelay: 10, // Seconds, minimum 10 updateInterval: 5, // Minutes, minimum 0.5 developerMode: false }, MMM_PIR_Sensor_defaults: { sensorPin: 22, sensorState: 1, relayPin: false, relayState: 1, alwaysOnPin: false, alwaysOnState: 1, alwaysOffPin: false, alwaysOffState: 1, powerSaving: true, powerSavingDelay: 0, powerSavingNotification: false, powerSavingMessage: "Monitor will be turn Off by PIR module", presenceIndicator: "fa-bullseye", presenceIndicatorColor: "red", presenceOffIndicator: null, presenceOffIndicatorColor: "dimgray", runSimulator: false }, MMM_IPCam_defaults: { updateInterval : 10000, // 10 seconds invertColors : false

    },

MMM_FlipClock_defaults: { timeFormat: config.timeFormat, seperator: ":", displaySeconds: true, showPeriod: true, showPeriodUpper: true, showDate: true, showWeek: false, dateFormat: "dddd, LL", timezone: null, easing: "ease-out-bounce", }, MagicMirror_QuoteCatalog_defaults: { updateInterval: 300, // How often a new quote gets displayed. fadeSpeed: 5, // How fast to fade out and back in when changing quotes. quotes: { quotes : [ "How you make others feel about themselves says a lot about you. ~ Unknown", "Please don't expect me to always be good and kind and loving. There are times when I will be cold and thoughtless and hard to understand. ~ Sylvia Plath", "If you inherently long for something, become it first. If you want gardens, become the gardener. If you want love, embody love. If you want mental stimulation, change the conversation. If you want peace, exude calmness. If you want to fill your world with artists, begin to paint. If you want to be valued, respect your own time. If you want to live ecstatically, find the ecstasy within yourself. This is how to draw it in, day by day, inch by inch. ~ Victoria Erickson", "It's a lot easier to be angry at someone than it is to tell them you're hurt. ~ Tom Gates", "Loneliness is a sign you are in desperate need of yourself. ~ Rupi Kaur", "If it doesn't challenge you, it won't change you. ~ Karen Civil", "People may not tell you how they feel about you, but they always show you. Pay attention. ~ Keri Hilson", "No amount of guilt can change the past, and no amount of worrying can change the future. Go easy on yourself. ~ Umar Ibn Al-Khattaab", "It just occurred to me that many people are actually afraid to heal because their entire identity is centered around the trauma they've experienced. They have no idea who they are outside of trauma and that unknown can be terrifying. ~ Ebonee Davis", "You know, sometimes all you need is twenty seconds of insane courage. Just literally twenty seconds of just embarrassing bravery. And I promise you, something great will come of it. ~ Benjamin Mee", "It's a lot easier to be angry at someone than it is to tell them you're hurt. ~ Tom Gates", "Sometimes I think I have felt everything I'm ever gonna feel. And from here on out, I'm not gonna feel anything new. Just lesser versions of what I've already felt. ~ Her (2013)", "How lucky I am to have something that makes saying goodbye so hard ~ Winnie the Pooh", "It is the time you have wasted for your rose that makes your rose so important. ~ Antoine de Saint-Exupéry, The Little Prince", "The mind is its own place, and in itself can make a heaven of hell, a hell of heaven. ~ John Milton, Paradise Lost", "The way to love someone is to lightly run your finger over that person's soul until you find a crack, and then gently pour your love into that crack. ~ Keith Miller", "I think the reward for conformity is that everyone likes you except yourself. ~ Rita Mae Brown", "Respect yourself enough to walk away from anything that no longer serves you, grows you, or makes you happy. ~ Robert Tew", "You do not become good by trying to be good, but by finding the goodness that is already within you, and allowing that goodness to emerge. ~ Eckhart Tolle", "As time goes on, you'll understand. What lasts, lasts; what doesn't, doesn't. Time solves most things. And what time can't solve, you have to solve yourself. ~ Haruki Murakami, Dance Dance Dance", "Everybody talks about wanting to change things and help and fix, but ultimately all you can do is fix yourself. And that's a lot. Because if you can fix yourself, it has a ripple effect. ~ Rob Reiner", "No amount of guilt can change the past, and no amount of worrying can change the future. Go easy on yourself. ~ Umar Ibn Al-Khattaab", "Why do you put your self~esteem in the hands of complete strangers? ~ Helena Bonham Carter", "I want to be like water. I want to slip through fingers, but hold up a ship. ~ Michelle Williams", "I want to be around people that do things. I don't want to be around people anymore that judge or talk about what people do. I want to be around people that dream and support and do things. ~ Amy Poehler", "Be confident enough to know that you're original and different from everyone else. Be humble enough to know that that doesn't mean that you're better than anyone else. ~ R.L.", "You shouldn't try to stop everything from happening. Sometimes you're supposed to feel awkward. Sometimes you're supposed to be vulnerable in front of people. Sometimes it's necessary because it's all part of you getting to the next part of yourself, the next day. ~ Cecelia Ahern, The Book of Tomorrow", "If giving leaves you feeling empty, you're giving too much to the wrong person. ~ Maza Dohta", "I myself am made entirely of flaws, stitched together with good intentions. ~ Augusten Burroughs, Magical Thinking", "And then my soul saw you and it kind of went 'Oh there you are. I've been looking for you.' ~ pleasefindthis, I Wrote This For You", "If you only read the books that everyone else is reading, you can only think what everyone else is thinking. ~ Haruki Murakami, Norwegian Wood", "I can bear any pain as long as it has meaning. ~ Haruki Murakami, 1Q84", "If you remember me, then I don't care if everyone else forgets. ~ Haruki Murakami, Kafka on the Shore", "Whenever I look at the ocean, I always want to talk to people, but when I'm talking to people, I always want to look at the ocean. ~ Haruki Murakami, Hear the Wind Sing", "A wound is a place where light enters your soul. ~ Jalal ad-Din Muhammad Balkhi", "You are not a drop in the ocean. You are the entire ocean in a drop. ~ Jalal ad-Din Muhammad Balkhi", "Wherever you are, and whatever you do, be in love. ~ Jalal ad-Din Muhammad Balkhi", "I would like to be known as an intelligent woman, a courageous woman, a loving woman, a woman who teaches by being. ~ Maya Angelou", "I always did something I was a little not ready to do. I think that is how you grow. ~ Marissa Mayer", "Like a wild flower, she spent her days allowing herself to grow. Not many knew of her struggle, but eventually all knew of her light. ~ Niki Rowe", "I've learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel. ~ Maya Angelou", "You know who’s gonna give you everything? Yourself. ~ Diane Von Furstenberg", "Love is taking a few steps backward maybe even more… to give way to the happiness of the person you love. ~ Winnie the Pooh", "I think we dream so we don’t have to be apart so long. If we’re in each other’s dreams we can be together all the time. ~ A. A. Milne, Winnie the Pooh", "Some people care too much. I think it’s called love. ~ A. A. Milne, Winnie the Pooh", "If you live to be a hundred, I want to live to be a hundred minus one day so I never have to live without you. ~ A. A. Milne, Winnie the Pooh", "A little consideration, a little thought for others, makes all the difference. ~ A. A. Milne, Winnie the Pooh", "Nobody can be uncheered with a balloon. ~ A. A. Milne, Winnie the Pooh", "A day spent with you is my favorite day. So today is my new favorite day. ~ A. A. Milne, Winnie the Pooh", "Why, sometimes I've believed as many as six impossible things before breakfast. ~ Lewis Carroll, Alice in Wonderland", "If everybody minded their own business, the world would go around a great deal faster than it does. ~ Lewis Carroll, Alice in Wonderland", "I can’t go back to yesterday because I was a different person then. ~ Lewis Carroll, Alice in Wonderland", "If you’ll believe in me, I’ll believe in you. Is that a bargain? ~ Lewis Carroll, Alice in Wonderland", "If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear. ~ A.A. Milne, Winnie-the-Pooh", "Don’t ever let somebody tell you you can’t do something, not even me. Alright? You dream, you gotta protect it. People can’t do something themselves, they wanna tell you you can’t do it. If you want something, go get it. Period. ~ The Pursuit of Happyness (2006)", "Great men are not born great, they grow great. ~ The Godfather (1972)", "Some people can’t believe in themselves until someone else believes in them first. ~ Good Will Hunting (1997)", "I just wanted you to know there will be a piece of you in me always, and I'm grateful for that. ~ Her (2013)", "I feel like I can be anything with you. ~ Theodore, Her (1997)", "Life moves pretty fast. If you don’t stop and look around once in a while, you could miss it. ~ Ferris Bueller’s Day Off (1986)", "You know, the ancient Egyptians had a beautiful belief about death. When their souls got to the entrance to heaven, the guards asked two questions. Their answers determined whether they were able to enter or not. ‘Have you found joy in your life?’ ‘Has your life brought joy to others?’ ~ The Bucket List (2007)", "Oh yes, the past can hurt. But you can either run from it, or learn from it. ~ The Lion King (1994)", "So, this is my life. and i want you to know that i am both happy and sad and i’m still trying to figure out how that could be. ~ The Perks of Being a Wallflower (2012)", "You don’t need the whole world to love you. Just a few good people. ~ The Greatest Showman (2017)" ] }, }, MMM_page_indicator_defaults: { pages: 3, activeBright: false, inactiveDimmed: true, inactiveHollow: true, }, MMM_pages_defaults: { modules: [], excludes: [], // Keep for compatibility fixed: ['MMM-page-indicator'], hiddenPages: { }, animationTime: 1000, rotationTime: 0, rotationFirstPage: 0, // Keep for compatibility rotationHomePage: 0, rotationDelay: 10000, homePage: 0, useLockString: true, }, helloworld_defaults: { text: "Hello World!" }, MMM_LocalTemperature_defaults: { sensorPin: null, pinScheme: "BCMv2", units: config.units, useSudo: false, sendTemperature: true, sendHumidity: true, showTemperature: false, showHumidity: false, temperatureOffset: 0, humidityOffset: 0, iconView: true, temperatureText: null, // Set in self.start() becuase access to self.translate is needed humidityText: null, // Set in self.start() becuase access to self.translate is needed fontSize: "medium", decimalSymbol: null, // Set in self.start() becuase access to self.translate is needed roundTemperature: false, roundHumidity: false, scriptPath: null, // Set in self.start() becuase access to self.data.path is needed initialLoadDelay: 0, // Seconds, minimum 0 animationSpeed: 0, // Milliseconds, minimum 0 retryDelay: 10, // Seconds, minimum 10 updateInterval: 5, // Minutes, minimum 0.5 developerMode: false }, weather_defaults: { weatherProvider: "openweathermap", roundTemp: false, type: "current", // current, forecast, daily (equivalent to forecast), hourly (only with OpenWeatherMap /onecall endpoint) units: config.units, useKmh: false, tempUnits: config.units, windUnits: config.units, updateInterval: 10 60 1000, // every 10 minutes animationSpeed: 1000, timeFormat: config.timeFormat, showPeriod: true, showPeriodUpper: false, showWindDirection: true, showWindDirectionAsArrow: false, useBeaufort: true, lang: config.language, showHumidity: false, showSun: true, degreeLabel: false, decimalSymbol: ".", showIndoorTemperature: false, showIndoorHumidity: false, maxNumberOfDays: 5, maxEntries: 5, ignoreToday: false, fade: true, fadePoint: 0.25, // Start on 1/4th of the list. initialLoadDelay: 0, // 0 seconds delay appendLocationNameToHeader: true, calendarClass: "calendar", tableClass: "small", onlyTemp: false, showPrecipitationAmount: false, colored: false, showFeelsLike: true, absoluteDates: false }, MMM_PIR_Sensor_defaults: { sensorPin: 22, sensorState: 1, relayPin: false, relayState: 1, alwaysOnPin: false, alwaysOnState: 1, alwaysOffPin: false, alwaysOffState: 1, powerSaving: true, powerSavingDelay: 0, powerSavingNotification: false, powerSavingMessage: "Monitor will be turn Off by PIR module", presenceIndicator: "fa-bullseye", presenceIndicatorColor: "red", presenceOffIndicator: null, presenceOffIndicatorColor: "dimgray", runSimulator: false }, MMM_FlipClock_defaults: { timeFormat: config.timeFormat, seperator: ":", displaySeconds: true, showPeriod: true, showPeriodUpper: true, showDate: true, showWeek: false, dateFormat: "dddd, LL", timezone: null, easing: "ease-out-bounce", }, MMM_page_indicator_defaults: { pages: 3, activeBright: false, inactiveDimmed: true, inactiveHollow: true, }, clock_defaults: { displayType: "digital", // options: digital, analog, both timeFormat: config.timeFormat, timezone: null, displaySeconds: true, showPeriod: true, showPeriodUpper: false, clockBold: false, showDate: true, showTime: true, showWeek: false, dateFormat: "dddd, LL", / specific to the analog clock / analogSize: "200px", analogFace: "simple", // options: 'none', 'simple', 'face-###' (where ### is 001 to 012 inclusive) analogPlacement: "bottom", // options: 'top', 'bottom', 'left', 'right' analogShowDate: "top", // OBSOLETE, can be replaced with analogPlacement and showTime, options: false, 'top', or 'bottom' secondsColor: "#888888", showSunTimes: false, showMoonTimes: false, lat: 47.630539, lon: -122.344147 }, helloworld_defaults: { text: "Hello World!" }, newsfeed_defaults: { feeds: [ { title: "New York Times", url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml", encoding: "UTF-8" //ISO-8859-1 } ], showAsList: false, showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true, showDescription: false, showTitleAsUrl: false, wrapTitle: true, wrapDescription: true, truncDescription: true, lengthDescription: 400, hideLoading: false, reloadInterval: 5 60 1000, // every 5 minutes updateInterval: 10 1000, animationSpeed: 2.5 1000, maxNewsItems: 0, // 0 for unlimited ignoreOldItems: false, ignoreOlderThan: 24 60 60 1000, // 1 day removeStartTags: "", removeEndTags: "", startTags: [], endTags: [], prohibitedWords: [], scrollLength: 500, logFeedWarnings: false, dangerouslyDisableAutoEscaping: false }, weather_defaults: { weatherProvider: "openweathermap", roundTemp: false, type: "current", // current, forecast, daily (equivalent to forecast), hourly (only with OpenWeatherMap /onecall endpoint) units: config.units, useKmh: false, tempUnits: config.units, windUnits: config.units, updateInterval: 10 60 1000, // every 10 minutes animationSpeed: 1000, timeFormat: config.timeFormat, showPeriod: true, showPeriodUpper: false, showWindDirection: true, showWindDirectionAsArrow: false, useBeaufort: true, lang: config.language, showHumidity: false, showSun: true, degreeLabel: false, decimalSymbol: ".", showIndoorTemperature: false, showIndoorHumidity: false, maxNumberOfDays: 5, maxEntries: 5, ignoreToday: false, fade: true, fadePoint: 0.25, // Start on 1/4th of the list. initialLoadDelay: 0, // 0 seconds delay appendLocationNameToHeader: true, calendarClass: "calendar", tableClass: "small", onlyTemp: false, showPrecipitationAmount: false, colored: false, showFeelsLike: true, absoluteDates: false }, alert_defaults: { effect: "slide", // scale|slide|genie|jelly|flip|bouncyflip|exploader alert_effect: "jelly", // scale|slide|genie|jelly|flip|bouncyflip|exploader display_time: 3500, // time a notification is displayed in seconds position: "center", welcome_message: false // shown at startup }, calendar_defaults: { maximumEntries: 10, // Total Maximum Entries maximumNumberOfDays: 365, limitDays: 0, // Limit the number of days shown, 0 = no limit displaySymbol: true, defaultSymbol: "calendar-alt", // Fontawesome Symbol see https://fontawesome.com/cheatsheet?from=io showLocation: false, displayRepeatingCountTitle: false, defaultRepeatingCountTitle: "", maxTitleLength: 25, maxLocationTitleLength: 25, wrapEvents: false, // wrap events to multiple lines breaking at maxTitleLength wrapLocationEvents: false, maxTitleLines: 3, maxEventTitleLines: 3, fetchInterval: 5 60 1000, // Update every 5 minutes. animationSpeed: 2000, fade: true, urgency: 7, timeFormat: "relative", dateFormat: "MMM Do", dateEndFormat: "LT", fullDayEventDateFormat: "MMM Do", showEnd: false, getRelative: 6, fadePoint: 0.25, // Start on 1/4th of the list. hidePrivate: false, hideOngoing: false, hideTime: false, colored: false, coloredSymbolOnly: false, customEvents: [], // Array of {keyword: "", symbol: "", color: ""} where Keyword is a regexp and symbol/color are to be applied for matched tableClass: "small", calendars: [ { symbol: "calendar-alt", url: "https://www.calendarlabs.com/templates/ical/US-Holidays.ics" } ], titleReplace: { "De verjaardag van ": "", "'s birthday": "" }, locationTitleReplace: { "street ": "" }, broadcastEvents: true, excludedEvents: [], sliceMultiDayEvents: false, broadcastPastEvents: false, nextDaysRelative: false, selfSignedCert: false }, updatenotification_defaults: { updateInterval: 10 60 1000, // every 10 minutes refreshInterval: 24 60 60 1000, // one day ignoreModules: [] }, clock_defaults: { displayType: "digital", // options: digital, analog, both timeFormat: config.timeFormat, timezone: null, displaySeconds: true, showPeriod: true, showPeriodUpper: false, clockBold: false, showDate: true, showTime: true, showWeek: false, dateFormat: "dddd, LL", / specific to the analog clock / analogSize: "200px", analogFace: "simple", // options: 'none', 'simple', 'face-###' (where ### is 001 to 012 inclusive) analogPlacement: "bottom", // options: 'top', 'bottom', 'left', 'right' analogShowDate: "top", // OBSOLETE, can be replaced with analogPlacement and showTime, options: false, 'top', or 'bottom' secondsColor: "#888888", showSunTimes: false, showMoonTimes: false, lat: 47.630539, lon: -122.344147 }, compliments_defaults: { compliments: { anytime: ["Hey there sexy!"], morning: ["Good morning, handsome!", "Enjoy your day!", "How was your sleep?"], afternoon: ["Hello, beauty!", "You look sexy!", "Looking good today!"], evening: ["Wow, you look hot!", "You look nice!", "Hi, sexy!"], "....-01-01": ["Happy new year!"] }, updateInterval: 30000, remoteFile: null, fadeSpeed: 4000, morningStartTime: 3, morningEndTime: 12, afternoonStartTime: 12, afternoonEndTime: 17, random: true, mockDate: null }, } module.exports={defined_config,config}; newsfeed_defaults: { feeds: [ { title: "New York Times", url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml", encoding: "UTF-8" //ISO-8859-1 } ], showAsList: false, showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true, showDescription: false, showTitleAsUrl: false, wrapTitle: true, wrapDescription: true, truncDescription: true, lengthDescription: 400, hideLoading: false, reloadInterval: 5 60 1000, // every 5 minutes updateInterval: 10 1000, animationSpeed: 2.5 1000, maxNewsItems: 0, // 0 for unlimited ignoreOldItems: false, ignoreOlderThan: 24 60 60 1000, // 1 day removeStartTags: "", removeEndTags: "", startTags: [], endTags: [], prohibitedWords: [], scrollLength: 500, logFeedWarnings: false, dangerouslyDisableAutoEscaping: false }, alert_defaults: { effect: "slide", // scale|slide|genie|jelly|flip|bouncyflip|exploader alert_effect: "jelly", // scale|slide|genie|jelly|flip|bouncyflip|exploader display_time: 3500, // time a notification is displayed in seconds position: "center", welcome_message: false // shown at startup }, calendar_defaults: { maximumEntries: 10, // Total Maximum Entries maximumNumberOfDays: 365, limitDays: 0, // Limit the number of days shown, 0 = no limit displaySymbol: true, defaultSymbol: "calendar-alt", // Fontawesome Symbol see https://fontawesome.com/cheatsheet?from=io showLocation: false, displayRepeatingCountTitle: false, defaultRepeatingCountTitle: "", maxTitleLength: 25, maxLocationTitleLength: 25, wrapEvents: false, // wrap events to multiple lines breaking at maxTitleLength wrapLocationEvents: false, maxTitleLines: 3, maxEventTitleLines: 3, fetchInterval: 5 60 * 1000, // Update every 5 minutes. animationSpeed: 2000, fade: true, urgency: 7, timeFormat: "relative", dateFormat: "MMM Do", dateEndFormat: "LT", fullDayEventDateFormat: "MMM Do", showEnd: false, getRelative: 6, fadePoint: 0.25, // Start on 1/4th of the list. hidePrivate: false, hideOngoing: false, hideTime: false, colored: false, coloredSymbolOnly: false, customEvents: [], // Array of {keyword: "", symbol: "", color: ""} where Keyword is a regexp and symbol/color are to be applied for matched tableClass: "small", calendars: [ { symbol: "calendar-a

sdetweil commented 1 year ago

looks like the defaults.js got truncated on the post..

can u send them in email to my same userid at gmail?

have to rename the file type.. add .txt or something

sdetweil commented 1 year ago

I guess you wanted Defaults.js and not details.js from MMM-Config module folder.

no, its lowercase defaults.js built during run

Ragziesoft commented 1 year ago

Yes that's what i have sent. Sorry for typo

sdetweil commented 1 year ago

ok, testing I see one bug, but not sure thats affecting you ..

if the form returns data (only changes from when form was created) that MATCHES the 'default' values,
I ignore it.. BUT.. the original config.js data WAS different.. so it should NOT have been ignored...

as an example,. I pasted in the default for the newsfeed url, nytimes.... this matched the default (duh, I copied from there) , and so i didn't update the new config with the form data. doah!

sdetweil commented 1 year ago

ok, another issue for disappearing info is the use of an invalid position

you selected "left" for calendar, and I'm surprised it worked as its not listed https://docs.magicmirror.builders/modules/configuration.html

i did list it in the config.js bad_position: "left" at the end of the module:"calendar" section

sdetweil commented 1 year ago

go to the module folder and do

git pull

then restart MM and try again

thanks for all the data

Ragziesoft commented 1 year ago

Okay instructions followed, sorry to report status quo. Still not displaying modules.

On Thursday, 15 September, 2022 at 03:23:56 am IST, sam detweiler ***@***.***> wrote:  

go to the module folder and do

git pull

then restart MM and try again

thanks for all the data

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

sdetweil commented 1 year ago

ok do this, with the new config.js

in terminal window

pm2 stop all cd~/MagicMirror npm start >somefile.txt 2>&1 wait til mm is up ctrl-q to close mm window post somefile.txt

Ragziesoft commented 1 year ago

Roger Sir, attaching somefile.txt 

On Thursday, 15 September, 2022 at 05:48:49 pm IST, sam detweiler ***@***.***> wrote:  

ok do this, with the new config.js

in terminal window

pm2 stop all cd~/MagicMirror npm start >somefile.txt 2>&1 wait til mm is up ctrl-q to close mm window post somefile.txt

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

@.*** start DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

[15.09.2022 17:52.06.930] [LOG] Starting MagicMirror: v2.20.0 [15.09.2022 17:52.06.952] [LOG] Loading config ... [15.09.2022 17:52.06.969] [LOG] Loading module helpers ... [15.09.2022 17:52.06.974] [LOG] No helper found for module: MMM-pages. [15.09.2022 17:52.06.977] [LOG] No helper found for module: alert. [15.09.2022 17:52.07.397] [LOG] Initializing new module helper ... [15.09.2022 17:52.07.400] [LOG] Module helper loaded: calendar [15.09.2022 17:52.07.425] [LOG] Initializing new module helper ... [15.09.2022 17:52.07.428] [LOG] Module helper loaded: updatenotification [15.09.2022 17:52.07.429] [LOG] No helper found for module: MMM-FlipClock. [15.09.2022 17:52.07.477] [LOG] Initializing new module helper ... [15.09.2022 17:52.07.478] [LOG] Module helper loaded: MMM-PIR-Sensor [15.09.2022 17:52.08.125] [LOG] Initializing new module helper ... [15.09.2022 17:52.08.127] [LOG] Module helper loaded: MMM-Config [15.09.2022 17:52.08.708] [LOG] Initializing new module helper ... [15.09.2022 17:52.08.711] [LOG] Module helper loaded: MMM-AQI [15.09.2022 17:52.08.712] [LOG] No helper found for module: MagicMirror-QuoteCatalog. [15.09.2022 17:52.08.714] [LOG] No helper found for module: weather. [15.09.2022 17:52.09.141] [LOG] Initializing new module helper ... [15.09.2022 17:52.09.143] [LOG] Module helper loaded: MMM-GooglePhotos [15.09.2022 17:52.09.146] [LOG] Initializing new module helper ... [15.09.2022 17:52.09.147] [LOG] Module helper loaded: MMM-MoonPhase [15.09.2022 17:52.09.203] [LOG] Initializing new module helper ... [15.09.2022 17:52.09.204] [LOG] Module helper loaded: newsfeed [15.09.2022 17:52.09.206] [LOG] No helper found for module: MMM-page-indicator. [15.09.2022 17:52.09.209] [LOG] Initializing new module helper ... [15.09.2022 17:52.09.210] [LOG] Check MagicMirror² version for node helper 'MMM-LocalTemperature' - Minimum version: 2.2.1 - Current version: 2.20.0 [15.09.2022 17:52.09.212] [LOG] Version is ok! [15.09.2022 17:52.09.213] [LOG] Module helper loaded: MMM-LocalTemperature [15.09.2022 17:52.10.701] [LOG] Initializing new module helper ... [15.09.2022 17:52.10.702] [LOG] Module helper loaded: MMM-TelegramBot [15.09.2022 17:52.10.703] [LOG] All module helpers loaded. [15.09.2022 17:52.10.878] [LOG] Starting server on port 8080 ... [15.09.2022 17:52.10.890] [WARN] You're using a full whitelist configuration to allow for all IPs [15.09.2022 17:52.10.904] [LOG] Server started ... [15.09.2022 17:52.10.906] [LOG] Connecting socket for: calendar [15.09.2022 17:52.10.908] [LOG] Starting node helper for: calendar [15.09.2022 17:52.10.909] [LOG] Connecting socket for: updatenotification [15.09.2022 17:52.10.910] [LOG] Starting module helper: updatenotification [15.09.2022 17:52.10.912] [LOG] Connecting socket for: MMM-PIR-Sensor [15.09.2022 17:52.10.913] [LOG] Connecting socket for: MMM-Config [15.09.2022 17:52.10.914] [LOG] Starting module helper: MMM-Config [15.09.2022 17:52.10.915] [LOG] Connecting socket for: MMM-AQI [15.09.2022 17:52.10.916] [LOG] MMM-AQI helper started ... [15.09.2022 17:52.10.917] [LOG] Connecting socket for: MMM-GooglePhotos [15.09.2022 17:52.10.919] [LOG] Connecting socket for: MMM-MoonPhase [15.09.2022 17:52.10.920] [LOG] Starting module helper: MMM-MoonPhase [15.09.2022 17:52.10.921] [LOG] Connecting socket for: newsfeed [15.09.2022 17:52.10.923] [LOG] Starting node helper for: newsfeed [15.09.2022 17:52.10.924] [LOG] Connecting socket for: MMM-LocalTemperature [15.09.2022 17:52.10.925] [LOG] MMM-LocalTemperature: module loaded! Path: /home/pi/MagicMirror/modules/MMM-LocalTemperature [15.09.2022 17:52.10.927] [LOG] Connecting socket for: MMM-TelegramBot [15.09.2022 17:52.10.928] [LOG] Sockets connected & modules started ... [15.09.2022 17:52.11.473] [LOG] Launching application. [3812:0915/175211.481850:ERROR:angle_platform_impl.cc(44)] Display.cpp:940 (initialize): ANGLE Display::initialize error 12289: Unsupported GLX version (requires at least 1.3). [3812:0915/175211.482757:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Unsupported GLX version (requires at least 1.3). [3812:0915/175211.483036:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [3812:0915/175211.485548:ERROR:angle_platform_impl.cc(44)] Display.cpp:940 (initialize): ANGLE Display::initialize error 12289: Unsupported GLX version (requires at least 1.3). [3812:0915/175211.485983:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Unsupported GLX version (requires at least 1.3). [3812:0915/175211.486296:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [3812:0915/175211.486537:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed. [3812:0915/175211.541789:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization [3841:0915/175211.842899:ERROR:angle_platform_impl.cc(44)] Display.cpp:940 (initialize): ANGLE Display::initialize error 12289: Unsupported GLX version (requires at least 1.3). [3841:0915/175211.843812:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Unsupported GLX version (requires at least 1.3). [3841:0915/175211.844157:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [3841:0915/175211.844978:ERROR:angle_platform_impl.cc(44)] Display.cpp:940 (initialize): ANGLE Display::initialize error 12289: Unsupported GLX version (requires at least 1.3). [3841:0915/175211.845313:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Unsupported GLX version (requires at least 1.3). [3841:0915/175211.845568:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [3841:0915/175211.845768:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed. [3841:0915/175211.853159:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization [3853:0915/175211.991493:ERROR:angle_platform_impl.cc(44)] Display.cpp:940 (initialize): ANGLE Display::initialize error 12289: Unsupported GLX version (requires at least 1.3). [3853:0915/175211.992232:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Unsupported GLX version (requires at least 1.3). [3853:0915/175211.992625:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [3853:0915/175211.993530:ERROR:angle_platform_impl.cc(44)] Display.cpp:940 (initialize): ANGLE Display::initialize error 12289: Unsupported GLX version (requires at least 1.3). [3853:0915/175211.993940:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Unsupported GLX version (requires at least 1.3). [3853:0915/175211.994278:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [3853:0915/175211.994593:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed. [3853:0915/175212.055874:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization [3862:0915/175212.128944:ERROR:angle_platform_impl.cc(44)] Display.cpp:940 (initialize): ANGLE Display::initialize error 12289: Unsupported GLX version (requires at least 1.3). [3862:0915/175212.129546:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Unsupported GLX version (requires at least 1.3). [3862:0915/175212.129750:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [3862:0915/175212.130486:ERROR:angle_platform_impl.cc(44)] Display.cpp:940 (initialize): ANGLE Display::initialize error 12289: Unsupported GLX version (requires at least 1.3). [3862:0915/175212.130782:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Unsupported GLX version (requires at least 1.3). [3862:0915/175212.130988:ERROR:gl_surface_egl.cc(1430)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [3862:0915/175212.131193:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed. [3862:0915/175212.138807:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization [3869:0915/175212.306414:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. [15.09.2022 17:52.15.502] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/xxxx/basic.ics - Interval: 300000 [15.09.2022 17:52.15.764] [LOG] Create new newsfetcher for url: https://news.google.com/news/rss - Interval: 300000 [15.09.2022 17:52.15.826] [LOG] [TELBOT] MMM-TelegramBot Version: 1.3.8 [15.09.2022 17:52.15.828] [LOG] [TELBOT] Configuration fails. [15.09.2022 17:52.15.833] [LOG] MMM-Config received a socket notification: CONFIG - Payload: [object Object] [15.09.2022 17:52.15.837] [LOG] command =/home/pi/MagicMirror/modules/MMM-Config/test_convert.sh override [15.09.2022 17:52.15.849] [LOG] Starting module helper:MMM-Config [15.09.2022 17:52.15.934] [INFO] Checking git for module: MMM-pages [15.09.2022 17:52.16.058] [LOG] got port=8300 [15.09.2022 17:52.16.144] [INFO] Checking git for module: MMM-FlipClock [15.09.2022 17:52.16.207] [INFO] Checking git for module: MMM-PIR-Sensor [15.09.2022 17:52.16.315] [INFO] Checking git for module: MMM-Config [15.09.2022 17:52.16.381] [INFO] Checking git for module: MMM-AQI [15.09.2022 17:52.16.456] [INFO] Checking git for module: MagicMirror-QuoteCatalog [15.09.2022 17:52.16.518] [INFO] Checking git for module: MMM-GooglePhotos [15.09.2022 17:52.16.588] [INFO] Checking git for module: MMM-MoonPhase [15.09.2022 17:52.16.637] [INFO] Checking git for module: MMM-page-indicator [15.09.2022 17:52.16.684] [INFO] Checking git for module: MMM-LocalTemperature [15.09.2022 17:52.16.742] [INFO] Checking git for module: MMM-TelegramBot [15.09.2022 17:52.16.792] [INFO] Checking git for module: default [15.09.2022 17:52.17.469] [INFO] Newsfeed-Fetcher: Broadcasting 38 items. [15.09.2022 17:52.18.493] [INFO] Calendar-Fetcher: Broadcasting 4 events. [15.09.2022 17:52.41.642] [LOG] Shutting down server... [15.09.2022 17:52.41.646] [LOG] Stopping module helper: calendar [15.09.2022 17:52.41.649] [LOG] Stopping module helper: updatenotification [15.09.2022 17:52.41.652] [LOG] Stopping module helper: MMM-PIR-Sensor [15.09.2022 17:52.41.655] [LOG] Stopping module helper: MMM-Config [15.09.2022 17:52.41.657] [LOG] Stopping module helper: MMM-AQI [15.09.2022 17:52.41.659] [LOG] Stopping module helper: MMM-MoonPhase [15.09.2022 17:52.41.661] [LOG] Stopping module helper: newsfeed [15.09.2022 17:52.41.663] [LOG] Stopping module helper: MMM-LocalTemperature [15.09.2022 17:52.41.665] [LOG] Stopping module helper: MMM-TelegramBot [3821:0915/175241.742371:ERROR:node_controller.cc(585)] Trying to re-add dropped peer B3AD4C838F744349.6E3BE2DDC8336E4 [3869:0915/175241.743297:ERROR:node_controller.cc(585)] Trying to re-add dropped peer B3AD4C838F744349.6E3BE2DDC8336E4

sdetweil commented 1 year ago

weird.. none of that has anything to do with whats in config,js .. weird..

edit ~/MagicMirror/package.json

change

"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",

to

"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron --disable-gpu js/electron.js",

then do the npm start redirect again

Ragziesoft commented 1 year ago

FIrstly i am really grateful for you help, it is really heartwarming. Thanks a ton. Its a great learning experience. Secondly, i did what you asked, attaching file after changes. On Thursday, 15 September, 2022 at 06:26:31 pm IST, sam detweiler @.***> wrote:

weird.. none of that has anything to do with whats in config,js .. weird..

edit ~/MagicMirror/package.json

change "start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",

to "start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron --disable-gpu js/electron.js",

then do the npm start redirect again

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

@.*** start DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron --disable-gpu js/electron.js

[15.09.2022 18:45.25.056] [LOG] Starting MagicMirror: v2.20.0 [15.09.2022 18:45.25.077] [LOG] Loading config ... [15.09.2022 18:45.25.095] [LOG] Loading module helpers ... [15.09.2022 18:45.25.100] [LOG] No helper found for module: MMM-pages. [15.09.2022 18:45.25.105] [LOG] No helper found for module: alert. [15.09.2022 18:45.25.524] [LOG] Initializing new module helper ... [15.09.2022 18:45.25.527] [LOG] Module helper loaded: calendar [15.09.2022 18:45.25.553] [LOG] Initializing new module helper ... [15.09.2022 18:45.25.555] [LOG] Module helper loaded: updatenotification [15.09.2022 18:45.25.556] [LOG] No helper found for module: MMM-FlipClock. [15.09.2022 18:45.25.604] [LOG] Initializing new module helper ... [15.09.2022 18:45.25.605] [LOG] Module helper loaded: MMM-PIR-Sensor [15.09.2022 18:45.26.254] [LOG] Initializing new module helper ... [15.09.2022 18:45.26.255] [LOG] Module helper loaded: MMM-Config [15.09.2022 18:45.26.821] [LOG] Initializing new module helper ... [15.09.2022 18:45.26.823] [LOG] Module helper loaded: MMM-AQI [15.09.2022 18:45.26.825] [LOG] No helper found for module: MagicMirror-QuoteCatalog. [15.09.2022 18:45.26.826] [LOG] No helper found for module: weather. [15.09.2022 18:45.27.243] [LOG] Initializing new module helper ... [15.09.2022 18:45.27.244] [LOG] Module helper loaded: MMM-GooglePhotos [15.09.2022 18:45.27.247] [LOG] Initializing new module helper ... [15.09.2022 18:45.27.248] [LOG] Module helper loaded: MMM-MoonPhase [15.09.2022 18:45.27.289] [LOG] Initializing new module helper ... [15.09.2022 18:45.27.290] [LOG] Module helper loaded: newsfeed [15.09.2022 18:45.27.292] [LOG] No helper found for module: MMM-page-indicator. [15.09.2022 18:45.27.295] [LOG] Initializing new module helper ... [15.09.2022 18:45.27.296] [LOG] Check MagicMirror² version for node helper 'MMM-LocalTemperature' - Minimum version: 2.2.1 - Current version: 2.20.0 [15.09.2022 18:45.27.298] [LOG] Version is ok! [15.09.2022 18:45.27.299] [LOG] Module helper loaded: MMM-LocalTemperature [15.09.2022 18:45.28.776] [LOG] Initializing new module helper ... [15.09.2022 18:45.28.777] [LOG] Module helper loaded: MMM-TelegramBot [15.09.2022 18:45.28.778] [LOG] All module helpers loaded. [15.09.2022 18:45.28.948] [LOG] Starting server on port 8080 ... [15.09.2022 18:45.28.960] [WARN] You're using a full whitelist configuration to allow for all IPs [15.09.2022 18:45.28.973] [LOG] Server started ... [15.09.2022 18:45.28.975] [LOG] Connecting socket for: calendar [15.09.2022 18:45.28.976] [LOG] Starting node helper for: calendar [15.09.2022 18:45.28.978] [LOG] Connecting socket for: updatenotification [15.09.2022 18:45.28.979] [LOG] Starting module helper: updatenotification [15.09.2022 18:45.28.980] [LOG] Connecting socket for: MMM-PIR-Sensor [15.09.2022 18:45.28.982] [LOG] Connecting socket for: MMM-Config [15.09.2022 18:45.28.983] [LOG] Starting module helper: MMM-Config [15.09.2022 18:45.28.984] [LOG] Connecting socket for: MMM-AQI [15.09.2022 18:45.28.985] [LOG] MMM-AQI helper started ... [15.09.2022 18:45.28.986] [LOG] Connecting socket for: MMM-GooglePhotos [15.09.2022 18:45.28.987] [LOG] Connecting socket for: MMM-MoonPhase [15.09.2022 18:45.28.988] [LOG] Starting module helper: MMM-MoonPhase [15.09.2022 18:45.28.989] [LOG] Connecting socket for: newsfeed [15.09.2022 18:45.28.991] [LOG] Starting node helper for: newsfeed [15.09.2022 18:45.28.992] [LOG] Connecting socket for: MMM-LocalTemperature [15.09.2022 18:45.28.994] [LOG] MMM-LocalTemperature: module loaded! Path: /home/pi/MagicMirror/modules/MMM-LocalTemperature [15.09.2022 18:45.28.995] [LOG] Connecting socket for: MMM-TelegramBot [15.09.2022 18:45.28.996] [LOG] Sockets connected & modules started ... [15.09.2022 18:45.29.538] [LOG] Launching application. [4662:0915/184529.610406:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. [15.09.2022 18:45.33.479] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/xxxx***/basic.ics - Interval: 300000 [15.09.2022 18:45.33.911] [LOG] Create new newsfetcher for url: https://news.google.com/news/rss - Interval: 300000 [15.09.2022 18:45.33.935] [LOG] [TELBOT] MMM-TelegramBot Version: 1.3.8 [15.09.2022 18:45.33.936] [LOG] [TELBOT] Configuration fails. [15.09.2022 18:45.33.938] [LOG] MMM-Config received a socket notification: CONFIG - Payload: [object Object] [15.09.2022 18:45.33.941] [LOG] command =/home/pi/MagicMirror/modules/MMM-Config/test_convert.sh override [15.09.2022 18:45.33.943] [LOG] Starting module helper:MMM-Config [15.09.2022 18:45.33.999] [INFO] Checking git for module: MMM-pages [15.09.2022 18:45.34.051] [LOG] got port=8300 [15.09.2022 18:45.34.075] [INFO] Checking git for module: MMM-FlipClock [15.09.2022 18:45.34.163] [INFO] Checking git for module: MMM-PIR-Sensor [15.09.2022 18:45.34.244] [INFO] Checking git for module: MMM-Config [15.09.2022 18:45.34.293] [INFO] Checking git for module: MMM-AQI [15.09.2022 18:45.34.370] [INFO] Checking git for module: MagicMirror-QuoteCatalog [15.09.2022 18:45.34.447] [INFO] Checking git for module: MMM-GooglePhotos [15.09.2022 18:45.34.502] [INFO] Checking git for module: MMM-MoonPhase [15.09.2022 18:45.34.560] [INFO] Checking git for module: MMM-page-indicator [15.09.2022 18:45.34.708] [INFO] Checking git for module: MMM-LocalTemperature [15.09.2022 18:45.34.753] [INFO] Checking git for module: MMM-TelegramBot [15.09.2022 18:45.34.817] [INFO] Checking git for module: default [15.09.2022 18:45.35.344] [INFO] Newsfeed-Fetcher: Broadcasting 38 items. [15.09.2022 18:45.36.421] [INFO] Calendar-Fetcher: Broadcasting 4 events. [15.09.2022 18:46.04.309] [LOG] Shutting down server... [15.09.2022 18:46.04.314] [LOG] Stopping module helper: calendar [15.09.2022 18:46.04.316] [LOG] Stopping module helper: updatenotification [15.09.2022 18:46.04.318] [LOG] Stopping module helper: MMM-PIR-Sensor [15.09.2022 18:46.04.320] [LOG] Stopping module helper: MMM-Config [15.09.2022 18:46.04.322] [LOG] Stopping module helper: MMM-AQI [15.09.2022 18:46.04.325] [LOG] Stopping module helper: MMM-MoonPhase [15.09.2022 18:46.04.327] [LOG] Stopping module helper: newsfeed [15.09.2022 18:46.04.329] [LOG] Stopping module helper: MMM-LocalTemperature [15.09.2022 18:46.04.331] [LOG] Stopping module helper: MMM-TelegramBot [4664:0915/184604.441885:ERROR:node_controller.cc(585)] Trying to re-add dropped peer D0510559599CA369.F8CBA6EFDB7A545F

sdetweil commented 1 year ago

did it come up? or still blank screen?

Ragziesoft commented 1 year ago

No status quo..... Blank screen continues. On Thursday, 15 September, 2022 at 06:56:14 pm IST, sam detweiler @.***> wrote:

did it come up? or still blank screen?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

sdetweil commented 1 year ago

ok, thx.. lets try again

in the module folder do git pull

and restart MM.. with the original good config.js then save and restart

the 'problem', was that the Pages config was screwed up, (look at the updated config and u will see all the quotes around the page definitions) so there were no pages to display this because the structure detection couldn't tell what was in the modules array in the mmm-pages module...

so I had provided a mechanism for the author to correct the form layout by providing ones own form structure.. but this module won't be updated anytime soon, BUT I provide a way to ship the corrected schema with MMM-Config in the meantime... so i fixed the form and package it now

Ragziesoft commented 1 year ago

WOW !! HOUSTON WE ARE BACK ON LINE !! It worked. That some exceptional skills you have sir. Thanks a ton once again. One minor issue is that the Quotes Catalog Module is only displaying the header but not displaying the quotes. quotes

sdetweil commented 1 year ago

ok, let me look at that one

sdetweil commented 1 year ago

yep same problem..

"[How you make ot
see the quote BEFORE the array start [

ok, git pull and use original config.js again

Ragziesoft commented 1 year ago

pic2 And it works. Really appreciate your dedication Sir.

sdetweil commented 1 year ago

great! thanks for helping me improve the quality of my module.

Ragziesoft commented 1 year ago

My pleasure. Like I said I am learning from a master.

Ragziesoft commented 1 year ago

Greetings, I noticed another issue with the mmm-config. With the original (old working config.js) config.js the following steps happen;

  1. PIR sensor turns off monitor after a predetermined time if it does not detect any motion.
  2. The HP monitor i have has a default alert message window which immediately displays " no input signal detected display will turn off in 5 minutes".
  3. The alert message display window progress bar counts down to 5 minutes.
  4. After 5 minutes if no motion is detected the display turns off, and remains off until some motion is detected by the PIR sensor.

However, with the new config.js file the step 3 does not complete and instead the monitor comes alive again randomly (even without any motion detection). In effect the monitor continuously cycles between on state and monitor alert message screen state, without turning off. I looked through the config,js file i could not notice any thing out of place. Could you look into this please. Thanks

sdetweil commented 1 year ago

sure, can u post the old new config for that module.. just that module..

Ragziesoft commented 1 year ago

Sorry did not follow your sentence..... "old new config" my old config.js module is already available in the previous posts of this issue. so i will post the config.js (of PIR module) of my original old and working file;

{ module: 'MMM-PIR-Sensor', position: "top_center", // Remove this line to avoid having an visible indicator config: { sensorPin: 17, //powerSavingDelay: 60, // Turn HDMI OFF after 60 seconds of no motion, until motion is detected again //preventHDMITimeout: 4, // Turn HDMI ON and OFF again every 4 minutes when power saving, to avoid LCD/TV timeout supportCEC: false, presenceIndicator: "fa-eye", // Customizing the indicator presenceOffIndicator: "fa-eye", // Customizing the indicator presenceIndicatorColor: "#f51d16", // Customizing the indicator presenceOffIndicatorColor: "#2b271c", // Customizing the indicator powerSavingNotification: true, powerSavingMessage: "No presence detected monitor will be turned off" //runSimulator: true } }, .....................................................................................................................

and Config.js (PIR Module) after using your module;

{ module: "MMM-PIR-Sensor", position: "top_center", config: { sensorPin: 17, presenceIndicator: "fa-eye", presenceOffIndicator: "fa-eye", presenceIndicatorColor: "#f51d16", presenceOffIndicatorColor: "#2b271c", powerSavingNotification: true, powerSavingMessage: "No presence detected monitor will be turned off" }, order: "*", disabled: false }, The defaults.js of the MMM-Config module is also available in the previous posts of this issue. please let me know if i have missed out something. Thanks

sdetweil commented 1 year ago

thanks, I wanted to be sure that I didn't drag in anything old

ok, I want to try this first as a test

this is left out of the config.js

supportCEC: false,

the code only tests for true. and not present should be falsely anyhow

edit the module file MMM-PIR-Sensor.js and add that line into the list in the defaults object seen here

Screenshot_20220924-065234_Chrome

sdetweil commented 1 year ago

if that works, then I will make a special schema to add it to the form

and also look at the megre code again

Ragziesoft commented 1 year ago

Okay did as advised, did not solve the issue. snip

One thing that I noticed is that the alert message "No presence detected monitor will be turned off" is displayed multiple times (at least 4 to 5 times) with the new config.js file, which is not the case with the older config.js file.

sdetweil commented 1 year ago

ok, more detective work

sdetweil commented 1 year ago

not sure om message yet. uploaded fox for the lost property

git pull to get it..

sdetweil commented 1 year ago

you use pages, I wonder if this is some lost parm there, and its cycling thru faster..

try the form save again, use the good config

Ragziesoft commented 1 year ago

Did a git pull. re-saved the form with the good config.js. No change observed. Issue continues.

sdetweil commented 1 year ago

is the PIR sensor CEC field in the new config? (Oh it would be because of the defaults change) to restore the MMM-PIR-Sensor.js in that module folder do

git checkout MMM-PIR-Sensor.js

can u show me the new pages config

Ragziesoft commented 1 year ago

I stopped pm2 and did a git checkout Following error occured
" pi@raspberrypi:~/MagicMirror/modules/MMM-PIR-Sensor $ git checkout MMM-PIR-Sensor.js fatal: Unable to create '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/.git/index.lock': File exists."

Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue. ............................................................................................................................................. { module: "MMM-pages", config: { modules: [ [ "MMM-FlipClock", "MMM-LocalTemperature", "weather", "MMM-AQI", "newsFeed" ], [ "MagicMirror-QuoteCatalog", "Calendar", "MMM-MoonPhase", "newsFeed", "MMM-TelegramBot", "MMM-PIR-Sensor" ], [ "MMM-GooglePhotos", "MMM-TelegramBot" ], [ "MMM-GooglePhotos", "MMM-TelegramBot" ], [ "MMM-GooglePhotos", "MMM-TelegramBot" ], [ "MMM-GooglePhotos", "MMM-TelegramBot" ], [ "MMM-GooglePhotos", "MMM-TelegramBot" ], [ "MMM-GooglePhotos", "MMM-TelegramBot" ] ], fixed: [ "MMM-page-indicator" ], rotationTime: 10000, excludes: [] }, order: "*", disabled: false },

sdetweil commented 1 year ago

rm home/pi/MagicMirror/modules/MMM-PIR-Sensor/.git/index.lock

to remove the file

sdetweil commented 1 year ago

with MagicMirror stopped do with the bad config cd ~/MagicMirror npm start >somefile.txt 2>&1

wait thru some messages then ctrl-q

look in some file.txt for any messages

Ragziesoft commented 1 year ago

rm: cannot remove 'home/pi/MagicMirror/modules/MMM-PIR-Sensor/.git/index.lock': No such file or directory

magicmirror@2.20.0 start DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron --disable-gpu js/electron.js

[25.09.2022 07:52.35.545] [LOG] Starting MagicMirror: v2.20.0 [25.09.2022 07:52.35.565] [LOG] Loading config ... [25.09.2022 07:52.35.582] [LOG] Loading module helpers ... [25.09.2022 07:52.35.587] [LOG] No helper found for module: MMM-pages. [25.09.2022 07:52.35.592] [LOG] No helper found for module: alert. [25.09.2022 07:52.35.625] [LOG] Initializing new module helper ... [25.09.2022 07:52.35.628] [LOG] Module helper loaded: updatenotification [25.09.2022 07:52.35.631] [LOG] No helper found for module: MMM-FlipClock. [25.09.2022 07:52.36.049] [LOG] Initializing new module helper ... [25.09.2022 07:52.36.051] [LOG] Module helper loaded: calendar [25.09.2022 07:52.36.099] [LOG] Initializing new module helper ... [25.09.2022 07:52.36.108] [LOG] Module helper loaded: MMM-PIR-Sensor [25.09.2022 07:52.36.772] [LOG] Initializing new module helper ... [25.09.2022 07:52.36.775] [LOG] Module helper loaded: MMM-Config [25.09.2022 07:52.37.342] [LOG] Initializing new module helper ... [25.09.2022 07:52.37.344] [LOG] Module helper loaded: MMM-AQI [25.09.2022 07:52.37.345] [LOG] No helper found for module: MagicMirror-QuoteCatalog. [25.09.2022 07:52.37.347] [LOG] No helper found for module: weather. [25.09.2022 07:52.37.772] [LOG] Initializing new module helper ... [25.09.2022 07:52.37.774] [LOG] Module helper loaded: MMM-GooglePhotos [25.09.2022 07:52.37.777] [LOG] Initializing new module helper ... [25.09.2022 07:52.37.778] [LOG] Module helper loaded: MMM-MoonPhase [25.09.2022 07:52.37.832] [LOG] Initializing new module helper ... [25.09.2022 07:52.37.834] [LOG] Module helper loaded: newsfeed [25.09.2022 07:52.37.835] [LOG] No helper found for module: MMM-page-indicator. [25.09.2022 07:52.37.839] [LOG] Initializing new module helper ... [25.09.2022 07:52.37.840] [LOG] Check MagicMirror² version for node helper 'MMM-LocalTemperature' - Minimum version: 2.2.1 - Current version: 2.20.0 [25.09.2022 07:52.37.841] [LOG] Version is ok! [25.09.2022 07:52.37.842] [LOG] Module helper loaded: MMM-LocalTemperature [25.09.2022 07:52.39.342] [LOG] Initializing new module helper ... [25.09.2022 07:52.39.343] [LOG] Module helper loaded: MMM-TelegramBot [25.09.2022 07:52.39.344] [LOG] All module helpers loaded. [25.09.2022 07:52.39.509] [LOG] Starting server on port 8080 ... [25.09.2022 07:52.39.526] [WARN] You're using a full whitelist configuration to allow for all IPs [25.09.2022 07:52.39.539] [LOG] Server started ... [25.09.2022 07:52.39.542] [LOG] Connecting socket for: updatenotification [25.09.2022 07:52.39.543] [LOG] Starting module helper: updatenotification [25.09.2022 07:52.39.545] [LOG] Connecting socket for: calendar [25.09.2022 07:52.39.546] [LOG] Starting node helper for: calendar [25.09.2022 07:52.39.547] [LOG] Connecting socket for: MMM-PIR-Sensor [25.09.2022 07:52.39.548] [LOG] Connecting socket for: MMM-Config [25.09.2022 07:52.39.549] [LOG] Starting module helper: MMM-Config [25.09.2022 07:52.39.550] [LOG] Connecting socket for: MMM-AQI [25.09.2022 07:52.39.552] [LOG] MMM-AQI helper started ... [25.09.2022 07:52.39.553] [LOG] Connecting socket for: MMM-GooglePhotos [25.09.2022 07:52.39.554] [LOG] Connecting socket for: MMM-MoonPhase [25.09.2022 07:52.39.555] [LOG] Starting module helper: MMM-MoonPhase [25.09.2022 07:52.39.556] [LOG] Connecting socket for: newsfeed [25.09.2022 07:52.39.558] [LOG] Starting node helper for: newsfeed [25.09.2022 07:52.39.559] [LOG] Connecting socket for: MMM-LocalTemperature [25.09.2022 07:52.39.560] [LOG] MMM-LocalTemperature: module loaded! Path: /home/pi/MagicMirror/modules/MMM-LocalTemperature [25.09.2022 07:52.39.561] [LOG] Connecting socket for: MMM-TelegramBot [25.09.2022 07:52.39.563] [LOG] Sockets connected & modules started ... [25.09.2022 07:52.40.100] [LOG] Launching application. [4709:0925/075240.167226:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. [25.09.2022 07:52.43.722] [LOG] Create new calendarfetcher for url: xxxxxxxxxxx [25.09.2022 07:52.44.040] [LOG] Create new newsfetcher for url: https://news.google.com/news/rss - Interval: 300000 [25.09.2022 07:52.44.085] [LOG] [TELBOT] MMM-TelegramBot Version: 1.3.8 [25.09.2022 07:52.44.151] [LOG] [TELBOT] Ready! [25.09.2022 07:52.44.159] [LOG] MMM-Config received a socket notification: CONFIG - Payload: [object Object] [25.09.2022 07:52.44.163] [LOG] command =/home/pi/MagicMirror/modules/MMM-Config/test_convert.sh override [25.09.2022 07:52.44.165] [LOG] Starting module helper:MMM-Config [25.09.2022 07:52.44.248] [INFO] Checking git for module: MMM-pages [25.09.2022 07:52.44.389] [LOG] got port=8300 [25.09.2022 07:52.44.592] [INFO] Checking git for module: MMM-FlipClock [25.09.2022 07:52.44.878] [INFO] Checking git for module: MMM-PIR-Sensor [25.09.2022 07:52.45.352] [INFO] Checking git for module: MMM-Config [25.09.2022 07:52.45.534] [INFO] Checking git for module: MMM-AQI [25.09.2022 07:52.45.709] [INFO] Checking git for module: MagicMirror-QuoteCatalog [25.09.2022 07:52.45.833] [INFO] Checking git for module: MMM-GooglePhotos [25.09.2022 07:52.45.915] [INFO] Checking git for module: MMM-MoonPhase [25.09.2022 07:52.46.036] [INFO] Checking git for module: MMM-page-indicator [25.09.2022 07:52.46.094] [INFO] Checking git for module: MMM-LocalTemperature [25.09.2022 07:52.46.215] [INFO] Checking git for module: MMM-TelegramBot [25.09.2022 07:52.46.340] [INFO] Checking git for module: default [25.09.2022 07:52.47.956] [INFO] Calendar-Fetcher: Broadcasting 3 events. [25.09.2022 07:52.50.023] [INFO] Newsfeed-Fetcher: Broadcasting 38 items. [25.09.2022 07:53.00.115] [LOG] Shutting down server... [25.09.2022 07:53.00.151] [LOG] Stopping module helper: updatenotification [25.09.2022 07:53.00.153] [LOG] Stopping module helper: calendar [25.09.2022 07:53.00.155] [LOG] Stopping module helper: MMM-PIR-Sensor [25.09.2022 07:53.00.157] [LOG] Stopping module helper: MMM-Config [25.09.2022 07:53.00.165] [LOG] Stopping module helper: MMM-AQI [25.09.2022 07:53.00.167] [LOG] Stopping module helper: MMM-MoonPhase [25.09.2022 07:53.00.169] [LOG] Stopping module helper: newsfeed [25.09.2022 07:53.00.171] [LOG] Stopping module helper: MMM-LocalTemperature [25.09.2022 07:53.00.174] [LOG] Stopping module helper: MMM-TelegramBot [4711:0925/075300.262494:ERROR:node_controller.cc(585)] Trying to re-add dropped peer A1D282C1A50E9DF9.58CBE7A272299556

sdetweil commented 1 year ago

i don't see any difference in the configs..

Ragziesoft commented 1 year ago

sorry for typo, i sent you defaults.js On Wednesday, 14 September, 2022 at 06:49:47 pm IST, sam detweiler @.***> wrote:

I guess you wanted Defaults.js and not details.js from MMM-Config module folder.

no, its lowercase defaults.js built during run

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Ragziesoft commented 1 year ago

Ok let me try this.Sent by telepathy On 14-Sep-2022, at 09:01, sam detweiler @.***> wrote: just change disabled: false to true

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

sdetweil commented 1 year ago

did we finally sovle this for you?