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

MMM-ModuleScheduler for Monitor control

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 2 Posters 2.8k 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.
  • T Offline
    tootiemac3 @sdetweil
    last edited by Aug 6, 2020, 2:16 PM

    @sdetweil im not 100% sure what you mean

    T 1 Reply Last reply Aug 6, 2020, 2:24 PM Reply Quote 0
    • T Offline
      tootiemac3 @tootiemac3
      last edited by Aug 6, 2020, 2:24 PM

      @sdetweil its showing line 201 has the error.

      S 1 Reply Last reply Aug 6, 2020, 2:27 PM Reply Quote 0
      • S Offline
        sdetweil @tootiemac3
        last edited by Aug 6, 2020, 2:27 PM

        @tootiemac3 ok, I can’t see line 201. show the config. paste the text, select it, and use the code block marker ‘</>’ button to mark the selected text

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • T Offline
          tootiemac3
          last edited by Aug 6, 2020, 2:38 PM

          Line 201 according to the config file is the line
          module: “MMM-ModuleScheduler”,

          S 1 Reply Last reply Aug 6, 2020, 2:43 PM Reply Quote 0
          • S Offline
            sdetweil @tootiemac3
            last edited by Aug 6, 2020, 2:43 PM

            @tootiemac3
            ok, that means the real error occurred BEFORE line 201, and was detected there. so. show us before

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • T Offline
              tootiemac3
              last edited by Aug 6, 2020, 2:56 PM

              above that is the working news feed module.

              S 1 Reply Last reply Aug 6, 2020, 3:06 PM Reply Quote 0
              • S Offline
                sdetweil @tootiemac3
                last edited by Aug 6, 2020, 3:06 PM

                @tootiemac3 can u show the config please. change 1 or 2 char in any API key to something to make it garbage

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                T 1 Reply Last reply Aug 6, 2020, 3:10 PM Reply Quote 0
                • T Offline
                  tootiemac3 @sdetweil
                  last edited by sdetweil Aug 6, 2020, 5:02 PM Aug 6, 2020, 3:10 PM

                  @sdetweil

                  {
                  			module: "newsfeed",
                  			position: "bottom_bar",
                  			config: {
                  				feeds: [
                  					{
                  						title: "BBC UK",
                  						url: "https://feeds.bbci.co.uk/news/rss.xml?edition=uk"
                  					}
                  				],
                  				showSourceTitle: true,
                  				 showPublishDate: true,
                  				broadcastNewsFeeds: true, 
                  				broadcastNewsUpdates: true
                  			}
                  		},
                  	]  // < --- this?
                  },  // < --- this?
                  {
                          module: "MMM-ModuleScheduler",
                          config: {
                              notification_schedule: [
                                  // TURN THE MONITOR/SCREEN ON AT 07:30 EVERY DAY
                                  {notification: 'REMOTE_ACTION', schedule: '20 15 * * *', payload: {action: "MONITORON"}},
                                  // TURN THE MONITOR/SCREEN OFF AT 22:30 EVERY  DAY
                                  {notification: 'REMOTE_ACTION', schedule: '25 15 * * *', payload: {action: "MONITOROFF"}},
                                  // RESTART THE MAGICMIRROR PROCESS AT 2am EVERY SUNDAY
                                  {notification: 'REMOTE_ACTION', schedule: '0 2 * * SUN', payload: {action: "RESTART"}}
                              ]
                          }
                      };   //< --- ';' this
                  
                  S 1 Reply Last reply Aug 6, 2020, 4:39 PM Reply Quote 0
                  • S Offline
                    sdetweil @tootiemac3
                    last edited by Aug 6, 2020, 4:39 PM

                    @tootiemac3 said in MMM-ModuleScheduler for Monitor control:

                    ] //< — what is this?
                    }, // < - what is this?
                    {
                    module: “MMM-ModuleScheduler”

                    ]; // < – what is ‘;’ this?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Aug 6, 2020, 5:03 PM Reply Quote 0
                    • S Offline
                      sdetweil @sdetweil
                      last edited by Aug 6, 2020, 5:03 PM

                      @tootiemac3

                      i would guess that you pasted the ModuleScheduler module block in the wrong place, after the end for the modules ;[] array closure

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      T 1 Reply Last reply Aug 7, 2020, 9:33 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/16
                        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