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.

    CalendarExt2 won't load with Weather Forecast

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 2 Posters 1.1k Views 2 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.
    • A Offline
      aunrea
      last edited by

      The MMM-CalendarExt2 will no longer load when I add the new default weather app set to type forecast. I can use type current, but when I use the forecast type the calendar will not load.

      This is my weather forecast code:

      *{
                  module: "weather",
                  position: "top_right",
                  header: "Forecast",
                  config: {
                    type: "forecast",
                    weatherProvider: "weathergov",
                    apiBase: "https://api.weather.gov/points/",
                    weatherEndpoint: "/forecast",
                    lat: "42.834",
                    lon: "-71.6618",
                    initialLoadDelay: 1000,
                    ignoreToday: true,
                    fade: false,
                    tableClass: "medium",
                    degreeLabel: true,
                  },
      
              },
      

      And here is the non-personal part of the calendar code:

      {
                  module: 'MMM-CalendarExt2',
                      config: {
                          updateInterval: 1000 * 60 * 15,
                          calendars: [
                          ],
                          defaultSet: {
                            view: {
                              hideOverflow: false,
                              timeFormat: "h:mm A",
                              maxItems: 2000,
                            }
                          },
                          views: [
                            {
                              mode: "month",
                              name: "Current Month",
                              fromNow: 0,
                              position: "middle_center",
                              className: "monthly-cal",
                              calendars: []
                          ],
                          scenes: [
                              {
                                  name: "DEFAULT",
                                  views: ["Current Month"],
                              },
                          ],
                    },
              },
      

      When I comment out the weather module code then the calendar loads fine, but otherwise it doesn’t load at all.

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        DJBOOB66 @aunrea
        last edited by DJBOOB66

        @aunrea said in CalendarExt2 won't load with Weather Forecast:
        No position: in config CalendarExt2 config maybe?

        {
                 module: 'MMM-CalendarExt
                 disabled: false,
                 config: {
        	   position: "top_left",
        	   beforeDays: 2,
                   afterDays: 365,
                   calendars : [
        	       {
        
        A 1 Reply Last reply Reply Quote 0
        • A Offline
          aunrea @DJBOOB66
          last edited by

          @djboob66 The position info is located in the views section of the config.

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            DJBOOB66 @aunrea
            last edited by DJBOOB66

            @aunrea
            my config has two one for main and one for upcoming try adding it as above

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              aunrea @DJBOOB66
              last edited by

              @djboob66 I did that and it doesn’t change anything.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                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