Open F3RIXX opened 11 months ago
Hi, I want to use the Remote_Action schedule with MonitorOn and Off. It works good, but only the first four notifications are working, the fifth and so on don't work:
{ module: 'MMM-ModuleScheduler', config: { notification_schedule: [ //Mo-Fr 6 Uhr an, 7 Uhr aus, Mo-Do 16:30 Uhr an, Fr 13:30 Uhr an, Sa-So 8 Uhr an, jeden Tag 23 Uhr aus {notification: 'REMOTE_ACTION', schedule: '0 6 * * 1-5', payload: {action: "MONITORON"}}, {notification: 'REMOTE_ACTION', schedule: '0 7 * * 1-5', payload: {action: "MONITOROFF"}}, {notification: 'REMOTE_ACTION', schedule: '30 16 * * 1-4', payload: {action: "MONITORON"}}, {notification: 'REMOTE_ACTION', schedule: '30 13 * * 5', payload: {action: "MONITORON"}}, {notification: 'REMOTE_ACTION', schedule: '0 8 * * 6,0', payload: {action: "MONITORON"}}, {notification: 'REMOTE_ACTION', schedule: '0 23 * * *', payload: {action: "MONITOROFF"}} ] } },
It doesn't matter, if I create two or three ModuleScheduler configs, or just this one. The friday 13:30 On works, but the Sat/Sun 8 On, doesn't work.
Then I tried to create a range with { } (here came an error), and [ ] (no error)
{ module: 'MMM-ModuleScheduler', config: { notification_schedule: [ //Mo-Fr 6 Uhr an, 7 Uhr aus, Mo-Do 16:30 Uhr an, Fr 13:30 Uhr an, Sa-So 8 Uhr an, jeden Tag 23 Uhr aus {notification: 'REMOTE_ACTION', schedule: ['0 6 * * 1-5', '0 8 * * 6,0'], payload: {action: "MONITORON"}}, {notification: 'REMOTE_ACTION', schedule: '0 7 * * 1-5', payload: {action: "MONITOROFF"}}, {notification: 'REMOTE_ACTION', schedule: '30 16 * * 1-4', payload: {action: "MONITORON"}}, {notification: 'REMOTE_ACTION', schedule: '30 13 * * 5', payload: {action: "MONITORON"}}, {notification: 'REMOTE_ACTION', schedule: '0 23 * * *', payload: {action: "MONITOROFF"}} ] } },
But it didn't worked too. here nothing worked anymore.
Can you help me or have an idea, how I can write this, or use 6 Remote_Actions with MonitorOn and Off?
Thank you
Hi, I want to use the Remote_Action schedule with MonitorOn and Off. It works good, but only the first four notifications are working, the fifth and so on don't work:
It doesn't matter, if I create two or three ModuleScheduler configs, or just this one. The friday 13:30 On works, but the Sat/Sun 8 On, doesn't work.
Then I tried to create a range with { } (here came an error), and [ ] (no error)
But it didn't worked too. here nothing worked anymore.
Can you help me or have an idea, how I can write this, or use 6 Remote_Actions with MonitorOn and Off?
Thank you