Hi @sergge1
I think it is a better place to solve this, instead of the magic mirror forum.
Ok, I tried putting some 'notifications' in the 'schedule' mode about turning the screen on and off (just to test), and that worked perfectly. So the notification module is working.
{
module: 'MMM-ModuleScheduler',
config: {
notification_schedule: [
// TURN THE MONITOR/SCREEN ON AT 07:30 EVERY DAY
{notification: 'REMOTE_ACTION', schedule: '57 8 * * *', payload: {action: "MONITORON"}},
// TURN THE MONITOR/SCREEN OFF AT 22:30 EVERY DAY
{notification: 'REMOTE_ACTION', schedule: '55 8 * * *', payload: {action: "MONITOROFF"}},
// RESTART THE MAGICMIRROR PROCESS AT 2am EVERY SUNDAY
{notification: 'REMOTE_ACTION', schedule: '0 2 * * SUN', payload: {action: "RESTART"}},
],
},
},
I have rewritten the entire config, just to make sure that there are no misspellings.
I've also modified the MQTT subscription string to be shorter, just to be on the safe side.
From the config.js:
Hi @sergge1 I think it is a better place to solve this, instead of the magic mirror forum.
Ok, I tried putting some 'notifications' in the 'schedule' mode about turning the screen on and off (just to test), and that worked perfectly. So the notification module is working.
I have rewritten the entire config, just to make sure that there are no misspellings.
I've also modified the MQTT subscription string to be shorter, just to be on the safe side. From the config.js:
Now, I can see the commands in the log:
But nothing happens. This is the mqttdictionary.js
I tried making the notiID and notiPayload as alike as the scheduler with ' and " to make sure that wasn't the problem.
So what I can see. The notification module works. The MQTT module receives the command.
So for me it looks like one of two things: a) The mqttdictionary.js doesn't translate it properly or b) The notification sending uses the wrong format