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

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 193 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.
    • O Offline
      Old_Death
      last edited by

      I have a working mirror. Now I would like to have an image from a folder displayed at a certain time of the day.

      The MMM-ModuleScheduler module seems to be able to do this to me, but I can’t get it to work.

      Nothing is happening here. Does anyone have a tip for me?

      Thank you.

      modules: [
          {
             module: "alert",
            module: "MMM-ModuleScheduler",
      	  },
           
      //Backround    
          {
            module: "MMM-Wallpaper",
            position: "fullscreen_below",
            config: {
            source: "local:/home/pi/MagicMirror/pic/",
            slideInterval: 600 * 1000
          }
          },
          
      //Overlay   
          {
            module: 'MMM-ModuleScheduler',
            config: {
            module: "MMM-Wallpaper",
            position: "fullscreen_above",
            config: { 
            module_schedule: {from: "0 18 * * *", to: "0 19 * * *" },
            source: "local:/home/pi/MagicMirror/pic2/",
            slideInterval: 600 * 1000  
            }
            } 
          },
      
      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @Old_Death
        last edited by sdetweil

        @Old_Death I do not know this module specifically

        But some things

        At the top you have two module:
        In js this is allowed, but the last one wins

        This means you have two instances of the schedule module

        About MagicMirror , this is called a single page web application
        We can only show or hide content. Pages, carousel, voice reco, profile switcher and module scheduler hide and show modules for different purposes

        As I understand it the scheduler module looks at the individual modules for a property to describe when it should be shown ( from-to)

        Scheduler has no ui of its own. So all info about images etc belong to the module that can display them. So all those parms need to move

        And the targeted modules do not KNOW anything about Scheduler, they will be shown or hidden
        Any properties added to be used by another module are unknown

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • 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