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

Replacing snow flakes with hearts in the MMM-SNOW module

Scheduled Pinned Locked Moved Solved Troubleshooting
snowheartsmodule
31 Posts 8 Posters 26.1k 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.
  • T Offline
    tamug1
    last edited by Feb 3, 2017, 11:42 AM

    Wow that looks awesome. Thanks for taking time to put this together😎

    1 Reply Last reply Reply Quote 0
    • S Offline
      schlachtkreuzer6
      last edited by Feb 3, 2017, 5:45 PM

      Fantastic! Nice work :) so i got an idea for march 17 … yeah ST. PATRICS DAY! :beer: falling clover, beer and goblins :D
      http://www.flaticon.com/search?word=saint patrick&order_by=1&color=2

      M 1 Reply Last reply Feb 3, 2017, 7:25 PM Reply Quote 1
      • M Offline
        morozgrafix Moderator @Hein-Jan
        last edited by Feb 3, 2017, 7:04 PM

        @Hein-Jan reducing valenitnesCount may help with “sluggishness”.

        H 1 Reply Last reply Feb 4, 2017, 7:41 PM Reply Quote 0
        • M Offline
          morozgrafix Moderator @schlachtkreuzer6
          last edited by Feb 3, 2017, 7:25 PM

          @schlachtkreuzer6 Feel free to fork my repo. It’s pretty easy to modify it to display other images. I resized my images to 50x50px because they were fairly hi res after downloading them from flaticon site.

          S 1 Reply Last reply Feb 3, 2017, 8:08 PM Reply Quote 0
          • S Offline
            schlachtkreuzer6 @morozgrafix
            last edited by Feb 3, 2017, 8:08 PM

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

            C 1 Reply Last reply Feb 3, 2017, 9:40 PM Reply Quote 1
            • C Offline
              cowboysdude Module Developer @schlachtkreuzer6
              last edited by cowboysdude Feb 3, 2017, 9:41 PM Feb 3, 2017, 9:40 PM

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

              1 Reply Last reply Reply Quote 2
              • S Offline
                schlachtkreuzer6
                last edited by Feb 4, 2017, 12:56 PM

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

                M 1 Reply Last reply Feb 4, 2017, 4:21 PM Reply Quote 3
                • M Offline
                  morozgrafix Moderator @schlachtkreuzer6
                  last edited by Feb 4, 2017, 4:21 PM

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

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Hein-Jan @morozgrafix
                    last edited by Feb 4, 2017, 7:41 PM

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

                    M 1 Reply Last reply Feb 5, 2017, 1:51 AM Reply Quote 2
                    • M Offline
                      morozgrafix Moderator @Hein-Jan
                      last edited by Feb 5, 2017, 1:51 AM

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

                      H 1 Reply Last reply Feb 17, 2017, 3:23 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        14/31
                        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