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

    Posts

    Recent Best Controversial
    • RE: MMM-CalendarExt2

      Well i ended up figuring out how to do this a couple hours after this post, so i figured I would share in case anyone else wanted to do the same. I used MMM-ModuleScheduler. Basically you can set certain times to send out a notification that MMM-CalendarExt2 recognizes. Heres my config:

      {
      	module: "MMM-ModuleScheduler",
      	config: {
      		notification_schedule: [
      			{
      				notification: "CALEXT2_SCENE_CHANGE",
      				schedule: "0 12 * * *",  //Schedule time based on crontab.guru
      				payload: {
      					type: "name",
      					key: "Afternoon Scene"
      				}
      			},
      			{
      				notification: "CALEXT2_SCENE_CHANGE",
      				schedule: "0 0 * * *",  //Schedule time based on crontab.guru
      				payload: {
      					type: "name",
      					key: "Morning Scene"
      				}
      			}
      		]
      	}
      }
      

      You can set up as many scheduled notifications as you’d like. You can see here that, based on crontab scheduling, I am set up to change the scene at Midnight and at noon. The payload key value is the name of the scene you’d like to switch to. You can see other options on CalExt2 notifications here.

      posted in Utilities
      D
      djpoirrier
    • RE: MMM-CalendarExt2

      I’m trying to have a ‘daily’ view where in the morning it shows all of the items for today, and in the evening it shows all of the items for tomorrow. I know i have to make two different ‘views’ and two different ‘scenes’, but what i am struggling with is how to actually change them. I saw in the github that you can do this either on a set period with the ‘rotateInterval’ command but also with a notification or other trigger. How would i go about doing so with the notification or other trigger? Any documentation out there about that?

      Thanks,
      Devin

      posted in Utilities
      D
      djpoirrier
    • 1 / 1