• 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.

CalendarExt2 won't load with Weather Forecast

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 2 Posters 666 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 Aug 15, 2021, 5:38 PM

    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 Aug 15, 2021, 9:40 PM Reply Quote 0
    • D Offline
      DJBOOB66 @aunrea
      last edited by DJBOOB66 Aug 15, 2021, 9:49 PM Aug 15, 2021, 9:40 PM

      @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 Aug 15, 2021, 10:14 PM Reply Quote 0
      • A Offline
        aunrea @DJBOOB66
        last edited by Aug 15, 2021, 10:14 PM

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

        D 1 Reply Last reply Aug 15, 2021, 10:24 PM Reply Quote 0
        • D Offline
          DJBOOB66 @aunrea
          last edited by DJBOOB66 Aug 15, 2021, 10:27 PM Aug 15, 2021, 10:24 PM

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

          A 1 Reply Last reply Aug 15, 2021, 10:51 PM Reply Quote 0
          • A Offline
            aunrea @DJBOOB66
            last edited by Aug 15, 2021, 10:51 PM

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

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              3/5
              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