Many thanks @sdetweil ,
Here is what I done, and MM only displays pictures from the first MMM-RandomPhoto, the class ‘lundimatin’ and we’re mondy afternoon, not morning…
modules: [
{
module: 'MMM-ModuleScheduler',
config: {
// SHOW MODULES WITH THE CLASS '*********' AT **:00 AND HIDE AT **:00 EVERY DAY
notification_schedule: [
// SHOW AN ALERT toutes les minutes impairs
{notification: 'SHOW_ALERT', schedule: '1-59/2 * * * *', payload: {type: "notification", title: 'Impaire !'}},
// SHOW AN ALERT toutes les minutes pairs
{notification: 'SHOW_ALERT', schedule: '*/2 * * * *', payload: {type: "notification", title: 'Paire !'}},
// SHOW MODULES WITH THE CLASS 'lundimatin' AT 09:00 AND HIDE AT 13:00 EVERY LUNDI
{from: '0 9 * * *', to: '0 13 * * 1', groupClass: 'lundimatin'},
// SHOW MODULES WITH THE CLASS 'lundiaprem' AT 14:00 AND HIDE AT 17:00 EVERY LUNDI
{from: '0 14 * * *', to: '0 17 * * 1', groupClass: 'lundiaprem'},
// SHOW MODULES WITH THE CLASS 'mardimatin' AT 09:00 AND HIDE AT 13:00 EVERY MARDI
{from: '0 9 * * *', to: '0 13 * * 2', groupClass: 'mardimatin'},
// SHOW MODULES WITH THE CLASS 'mardiaprem' AT 14:00 AND HIDE AT 17:00 EVERY MARDI
{from: '0 14 * * *', to: '0 17 * * 2', groupClass: 'mardiaprem'},
]
}
},
{
module: 'MMM-RandomPhoto',
position: 'fullscreen_below',
classes: 'lundimatin',
config: {
imageRepository: "localdirectory",
repositoryConfig: {
path: "/home/pi/MagicMirror/modules/Images/lundimatin/",
recursive: true,
exclude: ["tmp", "#recycle"],
},
updateInterval: 5,
opacity: "0.9",
}
},
{
module: 'MMM-RandomPhoto',
position: 'fullscreen_below',
classes: 'lundiaprem',
config: {
imageRepository: "localdirectory",
repositoryConfig: {
path: "/home/pi/MagicMirror/modules/Images/lundiaprem/",
recursive: true,
exclude: ["tmp", "#recycle"],
},
updateInterval: 5,
opacity: "0.9",
}
},
Do you see where is my problem, please?