@japmagicmirror33 exemple : ```
var recipe = {
transcriptionHooks: {
“Page2”: {
pattern: “mets la page 2”,
command: “PAGE2”
},
},
commands: {
“PAGE2”: {
moduleExec: {
module: () => {
this.sendNotification(“EXT_PAGES-CHANGED”, 2)
setTimeout(() => {
this.sendNotification(“EXT_PAGES-HOME”)
}, 15000)
}
}
}
}
}
exports.recipe = recipe
Cette recette affichera la page 2 pendant 15 secondes puis retournera à la page principale.