A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Compliment from calendar event
-
Has anyone got any idea or a working module to display calendars events as a compliment?
-
@sdmydbr9
I think it’s not so difficult to create the module, but what is different with the view which shows only one event upcoming on default calendar module? -
@MMRIZE I have come across a module which displays compliments based on notification received but unfortunately I’m unable to integrate it together mainly due to lack of skills. The name of the module is compliments-plus
-
This post is deleted! -
{ classes: "default scheduler", module: "compliments_plus", position: "middle_center", disabled: false, config: { module_schedule: {from: '0-59/10 * * * *', to: '5-59/10 * * * *'}, updateInterval: 30000, remoteFile: null, fadeSpeed: 4000, random: true, mockDate: null, classes: "compliments_plus thin large pre-line", // the beginning of the day period morning: 5, noon: 12, afternoon: 15, evening: 18, night: 22, midnight: 1, compliments: { "AQI_1" : [ "<i class=\"fa fa-leaf lime\"></i> Air Quality Good", ], "AQI_2" : [ "<i class=\"fa fa-leaf yellow\"></i> Air Quality Fair, mask on", ], "AQI_3" : [ "<i class=\"fa fa-leaf orange\"></i> Air Quality Moderate, mask on", ], "AQI_4" : [ "<i class=\"fa fa-leaf orangered\"></i> Air Quality Poor, need air purifier", ], "AQI_5" : [ "<i class=\"fa fa-leaf redrf\"></i> Air Quality Unhealty, dont breathe", ], "25-12-...." : [ "<i class=\"fa fa-snowman\"></i> Marry Christmas!" ], "01-01-....": [ function() {return "<i class=\"fa fa-glass-cheers\"></i> Happy New Year! " + moment().format("YYYY")} ], "..-..-....": [ function() {return moment().locale(config.language).format("dddd, D MMMM")} ], } }, },
The config for the module