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.

    Replacing snow flakes with hearts in the MMM-SNOW module

    Scheduled Pinned Locked Moved Solved Troubleshooting
    snowheartsmodule
    31 Posts 8 Posters 30.0k Views 8 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.
    • schlachtkreuzer6S Offline
      schlachtkreuzer6 @morozgrafix
      last edited by

      @morozgrafix I´ll try it :) but I´m not a coder^^ thanks for that advice

      cowboysdudeC 1 Reply Last reply Reply Quote 1
      • cowboysdudeC Offline
        cowboysdude Module Developer @schlachtkreuzer6
        last edited by cowboysdude

        @schlachtkreuzer6 Neither am I and I did in about 30 seconds… LOL You can do it!

        1 Reply Last reply Reply Quote 2
        • schlachtkreuzer6S Offline
          schlachtkreuzer6
          last edited by

          Yeah I did it :P
          [card:schlachtkreuzer6/MMM-Saint-Patrick]

          morozgrafixM 1 Reply Last reply Reply Quote 3
          • morozgrafixM Offline
            morozgrafix Moderator @schlachtkreuzer6
            last edited by

            @schlachtkreuzer6 nice job. I told you it wasn’t that hard. :clap: :thumbsup:

            1 Reply Last reply Reply Quote 0
            • Hein-JanH Offline
              Hein-Jan @morozgrafix
              last edited by

              @morozgrafix

              Yep, alreay did that.

              This is my config included is the scheduling part.

              {
                                      module: 'MMM-Valentine',
                                      position: 'fullscreen_above',
                                      classes: 'scheduler',
                                      config: {
                                              // display the module only on the 14th of february
                                              module_schedule: {from: '0 7 14 02 *', to: '30 23 14 02 *' },
                                              valentinesCount: 25,
                                              valentinesSize: 2.00,
                                      }
                              },
              
              

              I have been struggling with the 2 asterixes behind the “minutes and hours” values but before the “day of the week” value. Cron revealed that they probably are “Day of the month” and “month of the year”.
              I am a Noob, and all of the scheduling examples had wildcards there. I feel fairly confident this is going to work.

              morozgrafixM 1 Reply Last reply Reply Quote 2
              • morozgrafixM Offline
                morozgrafix Moderator @Hein-Jan
                last edited by

                @Hein-Jan I’m not very familiar with MMM-ModuleScheduler but I have some experience with cron jobs

                It typically goes like this [minute] [hour] [day of the month] [month] [day of the week]

                in your module_schedule: {from: '0 7 14 02 *', to: '30 23 14 02 *' } I would replace month number from 02 to 2 (allowed values for that field are 1 through 12). So it would read like module_schedule: {from: '0 7 14 2 *', to: '30 23 14 2 *' }

                Your from value would translate to something like at 07:00am on 14th day of the month in February (it can be any day of the week) in human language

                and your to value would read as at 11:30pm (or 23:30) on 14th day of the month in February (it can be any day of the week).

                Hope this helps.

                Hein-JanH 1 Reply Last reply Reply Quote 0
                • R Offline
                  roramirez Core Contributors @morozgrafix
                  last edited by

                  @morozgrafix So cool!

                  Easy module development with MagicMirror Module Template

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    roramirez Core Contributors @morozgrafix
                    last edited by

                    @morozgrafix The other idea is create a module template like this where include this type, snow, new year, etc… in one module.

                    Easy module development with MagicMirror Module Template

                    morozgrafixM 1 Reply Last reply Reply Quote 0
                    • morozgrafixM Offline
                      morozgrafix Moderator @roramirez
                      last edited by

                      @roramirez Yes you are right, I also thought about idea of general module that can be configured with various images or possibly have a schedule that will pick images from different folders and be hidden rest of the time.

                      cowboysdudeC 1 Reply Last reply Reply Quote 2
                      • cowboysdudeC Offline
                        cowboysdude Module Developer @morozgrafix
                        last edited by

                        @morozgrafix That’s exactly what I was thinking…

                        R 1 Reply Last reply Reply Quote 0
                        • R Offline
                          roramirez Core Contributors @cowboysdude
                          last edited by

                          @cowboysdude If are there some people interesting in working on this I can help. Maybe a future check is possible integregate into the core.
                          cc @MichMich

                          Also, the MMM-ModuleScheduler seems to me too nice. I’ve not been have time to test yet.

                          Easy module development with MagicMirror Module Template

                          cowboysdudeC 1 Reply Last reply Reply Quote 2
                          • Hein-JanH Offline
                            Hein-Jan @morozgrafix
                            last edited by

                            @morozgrafix & @ianperrin

                            On scheduling and Cron Jobs.

                            To my regret the Schedule did not work out the way that had I planned it. My mirror did not show cute, drifting Valentine icons on Valentines Day. Some further experimentation today has shown that MMM-ModuleScheduler does not work with either an 02 or a 2 but does work with a “feb”.

                            morozgrafixM 1 Reply Last reply Reply Quote 0
                            • cowboysdudeC Offline
                              cowboysdude Module Developer @roramirez
                              last edited by

                              @roramirez said in Replacing snow flakes with hearts in the MMM-SNOW module:

                              @cowboysdude If are there some people interesting in working on this I can help. Maybe a future check is possible integregate into the core.
                              cc @MichMich

                              Also, the MMM-ModuleScheduler seems to me too nice. I’ve not been have time to test yet.

                              I love working on stuff but not confident enough to pull that off LOL I know php but just learning js so I’m just tinkering with small easy to create things for now.

                              1 Reply Last reply Reply Quote 0
                              • morozgrafixM Offline
                                morozgrafix Moderator @Hein-Jan
                                last edited by

                                @Hein-Jan sorry it didn’t work, as I mentioned earlier I’m not familiar with ModuleScheduler.

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mirror.master
                                  last edited by

                                  i did one with leaves for fall

                                  yawnsY schlachtkreuzer6S 2 Replies Last reply Reply Quote 1
                                  • yawnsY Offline
                                    yawns Moderator @mirror.master
                                    last edited by

                                    @mirror.master said in Replacing snow flakes with hearts in the MMM-SNOW module:

                                    i did one with leaves for fall

                                    Fall? Really? We are still waiting for summer ;-)

                                    M 1 Reply Last reply Reply Quote 2
                                    • M Offline
                                      mirror.master @yawns
                                      last edited by

                                      @yawns said in Replacing snow flakes with hearts in the MMM-SNOW module:

                                      @mirror.master said in Replacing snow flakes with hearts in the MMM-SNOW module:

                                      i did one with leaves for fall

                                      Fall? Really? We are still waiting for summer ;-)

                                      i do want to emulate a sun as well to correspond with the weather

                                      1 Reply Last reply Reply Quote 2
                                      • schlachtkreuzer6S Offline
                                        schlachtkreuzer6 @mirror.master
                                        last edited by

                                        @mirror.master nice! :)

                                        1 Reply Last reply Reply Quote 0

                                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                        With your input, this post could be even better 💗

                                        Register Login
                                        • 1
                                        • 2
                                        • 2 / 2
                                        • 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