Read the statement by Michael Teeuw here.
Set MagicMirror time of compliments for specific durations
-
Hello everyone,
My MMM-compliments.js code has to be modified so that certain compliments are only shown on particular days (Friday, Saturday, and Sunday) and at particular hours (around beer o’clock, which is 6 to 8 p.m.).
The problem is that, despite my complete confidence that it is feasible, the module’s documentation makes no indication of how to proceed.Therefore, it would be very appreciated if someone could explain how to accomplish it or has already done it and is willing to share the code!
Many thanks, and enjoy your day!
-
@yonika the default compliments module provides that ability today.
Using a new key type, a Cron expression
From the documentation
-
@yonika there is an MMM-Compliments module too.
It does not provide support for cron entries.Which module were you asking about?
-
@sdetweil said in Set MagicMirror time of compliments for specific durations:
@yonika the default compliments module provides that ability today.
Using a new key type, a Cron expression
From the documentation
Thanks! That Helps! Got My Solution! ;)
-
-
That’s one good solution, It was really helpful, Now i know why, Saved my hell of time Time! Thanks