MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.
MMM-Pages - Changing pages
-
ive been trying to change page using recipies. ive butchered the test.js in the recipies folder in AMK2 … ive got this far:
var recipe = { transcriptionHooks: { "HOOKING_TEST": { pattern: "how's traffic", command: "CMD_TRAFFIC" }, "HOOKING_TEST2": { pattern: "test ([a-z 0-9]+)$", command: "INTRODUCTION2" }, }, commands: { "CMD_TRAFFIC": { notificationExec: { notification: "PAGE_CHANGED", payload: 1 }, } } } exports.recipe = recipe // Don't remove this line.
any help is greatly appreciated !