MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Manino
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 37
    • Groups 0

    Posts

    Recent Best Controversial
    • MMM-weatherforecast not working correct, or?

      Am I supposed to see days in this wheater view in the middle? There is only weather, no days. I have also tried to change the maxNumberOfDays but there is no change.

      I have tried to change the scale also, the forecast are outside my screen. I have set width in region third to 80% instead of 100% but there is no difference.

      2023-09-29-193627_1080x1920_scrot.png 2023-09-29-193709_1920x1080_scrot.png

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @sdetweil @MMRIZE Oh really! Thank you Sam for letting me know the real problem. And you 2 guys have learned me so much these days, I really appreciate you took your time helping me.

      I have now reinstall MM and begin from start. And then i did install CalendarEXT3 the correct way.

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @sdetweil This is exactly what I did.

      In the terminal I wrote cd MagicMirror/modules
      then wrote git clone https://github.com/MMRIZE/MMM-CalendarExt3
      after that, I wrote npm install

      Sometimes, I did get an error says I had to do npm audit fix. I did got it the last time and now as I said it’s working. But I don’t see that as a problem. Some of the times I did not got that, and it did not work anyway.

      Then I did wrote git submodule update --init --recursive
      even do the guide says needless (I did test with and without), don’t know if there was any difference.

      But this should work or?

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @sdetweil @MMRIZE Sry did post before writing all text…

      I did try your thing @sdetweil but I could’nt get it right. Then I did the Install of the MM for 15 times or something, try different installation every time, change language and tested everything, and then one time I try this extra thing below. I am sure iv’e tried it before but that time it did’nt work. I don’t know why but now I have it.

      Every time I do the installation of the MM (after imager), I do got an error in the text. But the MM start running anyway. Maybe that’s the problem?

      Anyway this thing did work:
      “When some submodule seems not installed and updated properly, try this.”
      cd ~/MagicMirror/modules/MMM-CalendarExt3
      git submodule update --init --recursive

      2023-09-26-143841_1920x1080_scrot.png

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @MMRIZE @sdetweil Oh, tnx! This is what I got. Have no idea if this is correct either. Thanks for your patience.

      manino@raspberrypi:~ $ cd MagicMirror
      manino@raspberrypi:~/MagicMirror $ pm2 stop all
      [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
      [PM2] [MagicMirror](0) ✓
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0  │ MagicMirror        │ fork     │ 0    │ stopped   │ 0%       │ 0b       │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      manino@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.24.0 start
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [22.09.2023 21:59.20.958] [LOG]   Starting MagicMirror: v2.24.0
      [22.09.2023 21:59.20.971] [LOG]   Loading config ...
      [22.09.2023 21:59.20.980] [DEBUG] config template file not exists, no envsubst
      [22.09.2023 21:59.20.989] [LOG]   Loading module helpers ...
      [22.09.2023 21:59.20.997] [LOG]   No helper found for module: MMM-CalendarExt3.
      [22.09.2023 21:59.21.413] [LOG]   Initializing new module helper ...
      [22.09.2023 21:59.21.414] [LOG]   Module helper loaded: calendar
      [22.09.2023 21:59.21.415] [LOG]   All module helpers loaded.
      [22.09.2023 21:59.21.436] [LOG]   Starting server on port 8080 ... 
      [22.09.2023 21:59.21.866] [LOG]   Server started ...
      [22.09.2023 21:59.21.869] [LOG]   Connecting socket for: calendar
      [22.09.2023 21:59.21.870] [LOG]   Starting node helper for: calendar
      [22.09.2023 21:59.21.872] [LOG]   Sockets connected & modules started ...
      [22.09.2023 21:59.21.950] [LOG]   Launching application.
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      ../../buildtools/third_party/libc++/trunk/include/vector:1471: assertion __n < size() failed: vector[] index out of bounds[1602:0922/215923.760165:ERROR:gpu_process_host.cc(954)] GPU process exited unexpectedly: exit_code=6
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      ../../buildtools/third_party/libc++/trunk/include/vector:1471: assertion __n < size() failed: vector[] index out of bounds[1602:0922/215924.743937:ERROR:gpu_process_host.cc(954)] GPU process exited unexpectedly: exit_code=6
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      ../../buildtools/third_party/libc++/trunk/include/vector:1471: assertion __n < size() failed: vector[] index out of bounds[1602:0922/215925.960665:ERROR:gpu_process_host.cc(954)] GPU process exited unexpectedly: exit_code=6
      [22.09.2023 21:59.25.999] [LOG]   Create new calendarfetcher for url: https://ics.calendarlabs.com/709/45a0bb64/Fun_Holidays.ics - Interval: 3600000
      [22.09.2023 21:59.26.871] [INFO]  Calendar-Fetcher: Broadcasting 59 events.
      [1645:0922/215926.898550:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      ^C/home/manino/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      
      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @MMRIZE Can you see something? I takes time for my posts to be accepted but now I have an all band new installation of the MM and the EXT3.

      I did comment out(?) all the default models except the calendar. Correct? Still got the same view as above (my latest post), except the clock and date.

      manino@raspberrypi:~ $ cd MagicMirror
      manino@raspberrypi:~/MagicMirror $ npm run start:dev

      magicmirror@2.24.0 start:dev
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js dev

      [22.09.2023 09:26.03.030] [LOG] Starting MagicMirror: v2.24.0
      [22.09.2023 09:26.03.044] [LOG] Loading config …
      [22.09.2023 09:26.03.053] [DEBUG] config template file not exists, no envsubst
      [22.09.2023 09:26.03.067] [LOG] Loading module helpers …
      [22.09.2023 09:26.03.070] [LOG] No helper found for module: MMM-CalendarExt3.
      [22.09.2023 09:26.03.620] [LOG] Initializing new module helper …
      [22.09.2023 09:26.03.621] [LOG] Module helper loaded: calendar
      [22.09.2023 09:26.03.622] [LOG] All module helpers loaded.
      [22.09.2023 09:26.03.640] [LOG] Starting server on port 8080 …
      [22.09.2023 09:26.04.084] [ERROR] Whoops! There was an uncaught exception…
      [22.09.2023 09:26.04.097] [ERROR] Error: listen EADDRINUSE: address already in use ::1:8080
      at Server.setupListenHandle [as _listen2] (node:net:1740:16)
      at listenInCluster (node:net:1788:12)
      at GetAddrInfoReqWrap.doListen [as callback] (node:net:1937:7)
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:110:8) {
      code: ‘EADDRINUSE’,
      errno: -98,
      syscall: ‘listen’,
      address: ‘::1’,
      port: 8080
      }
      [22.09.2023 09:26.04.098] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [22.09.2023 09:26.04.098] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @MMRIZE this one is from an all brand new installation of the MM and EXT3. I did end the installation with the ”npm install”. Copy paste your config into mine and got this. I’am clearly doing something wrong but I can’t undestand what to do different.

      IMG_5253.jpeg

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @MMRIZE No pivacy things, its ok thank you.

      Glad to see it works for you, in that way there is’nt anything wrong with my google calendar. I appreciate you took your time and look it up!

      I did copy paste your config into mine and sorry to say but it did’nt work. Then i get back to my own config again but that does’nt work either.

      You can see I get the calendar into the default one. But the month is all empty. And I have to choose “lower_third” becuase on “bottom_bar” september is drowning, I can hardly see it then. Something is really wrong. Maybe I have to start from the beginning again. I mean, it works for you so something is really wrong over here.

      123.jpg 1234.jpg 12345.jpg

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @MMRIZE You got mail! Yes, I do have Google Calendar. And it’s all brand new for me. No old event.

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @MMRIZE bad news, all my calendars are new. No old event. I’m an apple user and usually not use google calendar at all. :(

      And in september it’s kind of few events. IMG_5245.PNG

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @sdetweil Thanks for trying, I really appreciate it!

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @sdetweil thanks for your printscreen and your time. As what I can see, I have exactly the same config when it comes to the EXT3. Including the open/close brace. (Did’nt copy paste them last time). And now for my picture i did exactly as you.

      When I have bottom_bar the EXT3 also almost drowning. How can it be so different. Can you see something?
      IMG_5244.jpeg IMG_5242.jpeg

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @sdetweil What? The screen still look the same. September then a line. I have added all my calendars now but can’t view them in the month calendar. No errror.

      	module: "calendar",
      		position: "top_left",
      		config: {
      			broadcastPastEvents: true, // <= IMPORTANT to see past events
      			calendars: [
      		        {
      					url: "https://calendar.google.com/calendar/xxxxxxxx",
      					name: "Familj", // <= RECOMMEND to assign name
      					color: "red", // <= RECOMMEND to assign color
      				}, 
      				{
      					url: "https://calendar.google.com/calendar/xxxxxxxx",
      					name: "Jobb", // <= RECOMMEND to assign name
      					color: "red", // <= RECOMMEND to assign color
      				},
      				{
      					url: "https://calendar.google.com/calendar/xxxxx",
      					name: "Lila kalender", // <= RECOMMEND to assign name
      					color: "red", // <= RECOMMEND to assign color
      				},
      			]
      		}
      	},
      	{
         module: "MMM-CalendarExt3",
         position: "lower_third",
         title: "",
         config: {
             mode: "month",
       /* instanceId: "basicCalendar", */
            locale: 'sv-SE',
            maxEventLines: 5,
            firstDayOfWeek: 1,
           calendarSet: ['Familj', 'Jobb', 'Lila kalender'],
      

      }
      },

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @sdetweil What do you mean?

      module: “MMM-CalendarExt3”,
      position: “bottom_bar”,
      title: “”,
      config: {
      mode: “month”,
      / instanceId: “basicCalendar”, /
      locale: ‘sv-SE’,
      maxEventLines: 5,
      firstDayOfWeek: 1,
      calendarSet: [‘us_holiday’, ‘abfall’, ‘mytest’],
      }

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @sdetweil IMG_5235.jpeg

      Now I got this view! Almost fantastic. I want to see the calendar under the line as 2 or 3 weeks. I can see there is a lot of config details, how do I use them?

      {
      module: “calendar”,
      position: “top_left”,
      config: {
      broadcastPastEvents: true, // <= IMPORTANT to see past events
      calendars: [
      {
      url: “https://calendar.google.com/calendar/ical/xxxxxxxx”,
      name: “us_holiday”, // <= RECOMMEND to assign name
      color: “red” // <= RECOMMEND to assign color
      }
      ]
      }
      },
      {
      module: “MMM-CalendarExt3”,
      position: “bottom_bar”,
      title: “”,
      config: {
      mode: “month”,
      instanceId: “basicCalendar”,
      locale: ‘sv-SE’,
      maxEventLines: 5,
      firstDayOfWeek: 1,
      calendarSet: [‘us_holiday’, ‘abfall’, ‘mytest’],
      }
      },

      posted in Troubleshooting
      M
      Manino
    • RE: Problem installing new module (beginner), CalendarEXT3 not displaying

      @sdetweil Thanks for trying to explain for me. I started over from the beginning instead. Couldn’t see what I had done, as you said it was a jumble.

      Now im stuck at, where to put the code. I do not understand how to use both the default calendar and the calendarext3 at the same time.

      It’s at the “config” im stuck. https://github.com/MMRIZE/MMM-CalendarExt3

      posted in Troubleshooting
      M
      Manino
    • Problem installing new module (beginner), CalendarEXT3 not displaying

      Hello, i’m new to this. Tried to install a calendar module. Can anybody see what’s wrong with the code? The weather module went out well, the calendar not so much.

      manino@raspberrypi:~ $ cd MagicMirror
      manino@raspberrypi:~/MagicMirror $ npm run config:check

      magicmirror@2.24.0 config:check
      node js/check_config.js

      [19.09.2023 18:31.34.169] [INFO] Checking file… /home/manino/MagicMirror/config/config.js
      [19.09.2023 18:31.34.290] [ERROR] Your configuration file contains syntax errors :(
      [19.09.2023 18:31.34.292] [ERROR] Line 102 column 2: Parsing error: Unexpected token ;
      manino@raspberrypi:~/MagicMirror $

      /* MagicMirror² Config Sample
       *
       * By Michael Teeuw https://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information on how you can configure this file
       * see https://docs.magicmirror.builders/configuration/introduction.html
       * and https://docs.magicmirror.builders/modules/configuration.html
       *
       * You can use environment variables using a `config.js.template` file instead of `config.js`
       * which will be converted to `config.js` while starting. For more information
       * see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables
       */
      let config = {
      	address: "localhost",	// 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.268.1.5"],
      															// or IPv4 range of 192.268.3.0 --> 192.268.3.15 use CIDR format :
      															// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.268.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: "sv",
      	locale: "sv-US",
      	logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						fetchInterval: 7 * 24 * 60 * 60 * 1000,
      						symbol: "calendar-check",
      						url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
      					}
      				]
      			}
             },
             {
        module: "MMM-CalendarExt3Timeline",
        position: "bottom_center",
        title: "",
        config: {
          locale: 'en-US',
          staticMode: false,
          beginHour: -3,
          hourLength: 24,
          useSymbol: true,
          displayLegend: true,
          calendarSet: ['us_holiday', 'Tottenham'],
             }
             },
                {           /* default/calendar module configuration */
                   module: "calendar",
                   position: "top_left",
                   config: {
                   broadcastPastEvents: true, // <= IMPORTANT to see past events
                   calendars: [
                {
                   url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics",
                   name: "us_holiday", // <= RECOMMENDED to assign name
                   color: "red" // <= RECOMMENDED to assign color
            },
      	  {
      		 module: "MMM-weatherforecast",
      		 position: "bottom_bar",	// This can be any of the regions.
      					// Best results in bottom_bar region due to horizontal default layout and icon sizes.
      	   	config: {
      			// See 'Configuration options' for more information.
      			location: "Stockholm, sverige",
      			locationID: "xxxxxxx, //Location ID from http://openweathermap.org/help/city_list.txt
           		appid: "xxxxxxxxxxxxxxxxxxxxx" //openweathermap.org API key.
      		}
      	 },
         ]
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      posted in Troubleshooting
      M
      Manino
    • 1 / 1