@MMRIZE
{
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