Read the statement by Michael Teeuw here.
Replacing snow flakes with hearts in the MMM-SNOW module
-
@schlachtkreuzer6 Neither am I and I did in about 30 seconds… LOL You can do it!
-
Yeah I did it :P
[card:schlachtkreuzer6/MMM-Saint-Patrick] -
@schlachtkreuzer6 nice job. I told you it wasn’t that hard. :clap: :thumbsup:
-
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. -
@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 from02
to2
(allowed values for that field are 1 through 12). So it would read likemodule_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 languageand 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.
-
@morozgrafix So cool!
-
@morozgrafix The other idea is create a module template like this where include this type, snow, new year, etc… in one module.
-
@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.
-
@morozgrafix That’s exactly what I was thinking…
-
@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 @MichMichAlso, the MMM-ModuleScheduler seems to me too nice. I’ve not been have time to test yet.