• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Problem with MMM-CalendarEXT

Scheduled Pinned Locked Moved Unsolved Troubleshooting
13 Posts 4 Posters 4.0k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    daniellang
    last edited by daniellang Sep 25, 2018, 7:28 PM Sep 25, 2018, 7:26 PM

    hi,

    i tried the last one on the config-site by my screen stay black…

    anny ideas ?

    {
    //disabled:true,
    module: ‘MMM-CalendarExt’,
    position: “bottom_center”,
    config: {
    system: {
    show: [“daily”, “upcoming”],
    locale: ‘en’,
    redrawInterval:60000,
    },
    views: {
    daily: {
    position:‘bottom_bar’,
    counts:7,
    },
    upcoming: {
    position:‘top_left’,
    limit:5
    },
    },
    defaultCalendar: {
    maxEntries:50,
    maxDays:180,
    interval: 1000605,
    },
    calendars :[
    {
    name: “deutschland”,
    symbol: “calendar-o”,
    styleName: “style1”,
    url: “http://www.kayaposoft.com/enrico/ics/v1.0?country=deu&fromDate=01-01-2017&toDate=31-12-2017&region=Hesse”
    },

    ? 1 Reply Last reply Sep 26, 2018, 7:11 AM Reply Quote 0
    • ? Offline
      A Former User @daniellang
      last edited by Sep 26, 2018, 7:11 AM

      @daniellang
      For the diagnosis, error logs(frontend and backend both) are needed.
      You can get error logs with npm start dev

      1 Reply Last reply Reply Quote 0
      • D Offline
        daniellang
        last edited by Sep 26, 2018, 5:25 PM

        Starting MagicMirror: v2.4.1
        Loading config …
        WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
        Loading module helpers …
        Initializing new module helper …
        Module helper loaded: updatenotification
        No helper found for module: helloworld.
        All module helpers loaded.
        Starting server on port 8080 …
        Server started …
        Connecting socket for: updatenotification
        Sockets connected & modules started …
        Launching application.
        Shutting down server…
        Stopping module helper: updatenotification
        pi@raspberrypi:~/MagicMirror $

        ? 1 Reply Last reply Sep 26, 2018, 5:39 PM Reply Quote 0
        • D Offline
          daniellang
          last edited by Sep 26, 2018, 5:27 PM

          language: "de",
          timeFormat: 24,
          units: "metric",
          
          modules: [
          	 {
          			module: 'MMM-CalendarExt',
          			position: "lower_third", //anywhere. It is not related to real position of view
          			config: { // Read below
          			system: {
          			  show: ['daily'],
          			  locale: 'de', //when omitted, default value would be your system default locale by moment.js
          			  showEmptyView: 0,
          			  fullDayEventLocalize: 1,
          			  redrawInterval: 30*60*1000, //minimum 60000
          			  useProfileConfig: 0,
          			  startProfile: ''
          			},
          			
          			 views: {
          					current: {
          					  position: "top_left",
          					  title: "Heute",
          					  limit: 3,
          					},
          					upcoming: {
          					  position: "top_left",
          					  title: "Demnächst",
          					  limit: 3,
          					},
          					daily: {
          					  position: "bottom_bar",
          					  title: "Überblick",
          					  counts: 7,
          					}
          				  },
          

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

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @daniellang
            last edited by A Former User Sep 26, 2018, 5:42 PM Sep 26, 2018, 5:39 PM

            @daniellang
            Because your quoted configuration looks not complete, I cannot assure. But the error message says there is some syntax error in your configuration. Many cases are misspellings, missing some marks(,, {, }, [, ], ", ', etc…).
            Anyway I’ve found something.

            name: “deutschland”,
            

            “ is not proper double-quotation mark for javascript. Instead, you should use ".
            So, it should be like this;

            name: "deutschland",
            

            You could remove and re-insert sections one-by-one to check which section has a problem.

            D 1 Reply Last reply Sep 26, 2018, 5:46 PM Reply Quote 0
            • D Offline
              daniellang @Guest
              last edited by Sep 26, 2018, 5:46 PM

              @sean cant find the wrong marks…

              ? 1 Reply Last reply Sep 26, 2018, 5:49 PM Reply Quote 0
              • ? Offline
                A Former User @daniellang
                last edited by A Former User Sep 26, 2018, 5:50 PM Sep 26, 2018, 5:49 PM

                @daniellang

                {
                      //disabled:true,
                      module: 'MMM-CalendarExt',
                      position: "top_center",
                      config: {
                        system: {
                          show: ["daily", "upcoming"],
                          locale: 'en',
                          redrawInterval:60000,
                        },
                        views: {
                          daily: {
                            position:'bottom_bar',
                            counts:7,
                          },
                          upcoming: {
                            position:'top_left',
                            limit:5
                          },
                        },
                        defaultCalendar: {
                          maxEntries:50,
                          maxDays:180,
                          interval: 1000*60*5,
                        },
                        calendars :[
                          {
                            name: "deutschland",
                            symbol: "calendar-o",
                            styleName: "style1",
                            url: "http://www.kayaposoft.com/enrico/ics/v1.0?country=deu&fromDate=01-01-2017&toDate=31-12-2017&region=Hesse"
                          },
                        ],
                      }
                    },
                

                I think you just copied my configuration sample. It has no bugs. try it again.
                (Anyway, that sample is out-of-date, so there is no event to display at this moment.)

                1 Reply Last reply Reply Quote 0
                • D Offline
                  daniellang
                  last edited by Sep 26, 2018, 5:57 PM

                  no errors now…but the screen stay black…@sean sorry for disturbing…

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    daniellang
                    last edited by Sep 26, 2018, 5:59 PM

                    sag bist du deutscher? llooollll

                    ? 1 Reply Last reply Sep 26, 2018, 6:05 PM Reply Quote 0
                    • ? Offline
                      A Former User @daniellang
                      last edited by Sep 26, 2018, 6:05 PM

                      @daniellang
                      Leider meine Deutsche ist nicht so gut. :(

                      That iCal url of above sample is out-of-date.
                      Try another URL(webcal://www.google.com/calendar/ical/spielplan.1.bundesliga%40gmail.com/public/basic.ics) or yours.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/13
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy