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

Dynamic Module change

Scheduled Pinned Locked Moved Requests
11 Posts 5 Posters 6.8k Views 5 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.
  • D Offline
    done
    last edited by Oct 29, 2016, 10:10 AM

    Maybe this is what you’re looking for?
    https://forum.magicmirror.builders/topic/516/display-modules-in-a-carousel

    1 Reply Last reply Reply Quote 0
    • S Offline
      Sillec123
      last edited by Oct 29, 2016, 10:12 AM

      No this is only a module to change type. I mean a magic mirror main function with more than one area.

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jopyth Moderator
        last edited by Jopyth Oct 29, 2016, 11:00 AM Oct 29, 2016, 10:57 AM

        I think you can use this. Have a look at Scheduling Module Display.

        Example:

        hides and shows modules

        Helpful sticky: How to troubleshoot

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sillec123
          last edited by Oct 29, 2016, 11:17 AM

          Thanks but if i see it right, i have to build thousands of entries in my config for change the modules every xxx seconds. That’s not the goal.

          J I 2 Replies Last reply Oct 29, 2016, 11:19 AM Reply Quote 0
          • J Offline
            Jopyth Moderator @Sillec123
            last edited by Jopyth Oct 29, 2016, 11:23 AM Oct 29, 2016, 11:19 AM

            @Sillec123 You have to create one (pair of?) entries per module, as I see it.But this is limited to a per minute schedule. What you want might be an extension of the Carousel, but configurable for areas. Or a per second scheduling of the Module Scheduler.

            Helpful sticky: How to troubleshoot

            S I 2 Replies Last reply Oct 29, 2016, 11:31 AM Reply Quote 0
            • S Offline
              Sillec123 @Jopyth
              last edited by Oct 29, 2016, 11:31 AM

              @Jopyth Exactly but i think, it should be a main function and no module. It would make the smart mirror really smart. Please have a look on my example.

              C 1 Reply Last reply Oct 29, 2016, 1:25 PM Reply Quote 0
              • C Offline
                cowboysdude Module Developer @Sillec123
                last edited by cowboysdude Oct 29, 2016, 1:32 PM Oct 29, 2016, 1:25 PM

                @Sillec123 said in Dynamic Module change:

                @Jopyth Exactly but i think, it should be a main function and no module. It would make the smart mirror really smart. Please have a look on my example.

                You could do it. Just build a ‘metro’ module and then add ‘classes’ to your modules config.js…

                But there is also a carousel module and a module scheduler…

                1 Reply Last reply Reply Quote 0
                • I Offline
                  ianperrin @Jopyth
                  last edited by Oct 29, 2016, 4:34 PM

                  @Jopyth said in Dynamic Module change:

                  @Sillec123 You have to create one (pair of?) entries per module, as I see it.But this is limited to a per minute schedule. What you want might be an extension of the Carousel, but configurable for areas. Or a per second scheduling of the Module Scheduler.

                  I’ve not tried it but as the node cron module supports seconds, then MMM-ModuleScheduler may too. Feel free to try using a 6 part expression rather than the 5 part expressions in the examples for the module and report back

                  "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                  1 Reply Last reply Reply Quote 1
                  • I Offline
                    ianperrin @Sillec123
                    last edited by ianperrin Oct 29, 2016, 4:40 PM Oct 29, 2016, 4:37 PM

                    @Sillec123 said in Dynamic Module change:

                    Thanks but if i see it right, i have to build thousands of entries in my config for change the modules every xxx seconds. That’s not the goal.

                    Possibly, but the module now supports global, group and individual schedules so the configurations can be minimised which may help.

                    "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                    1 Reply Last reply Reply Quote 1
                    • S Offline
                      Sillec123
                      last edited by Oct 30, 2016, 3:41 PM

                      Thanks i will try it later.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        6/11
                        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