Read the statement by Michael Teeuw here.
Problems with MMM-ModuleScheduler
-
Hi there,
I have a problem with the module MMM-ModuleScheduler on my new Reaspberrys PI 4
I crated my Mirror no a Pi3 with a working config.js.
Now on the PI4 i creaded the Mirror with a fresh raspian buster os and a fresh Mirror (V2.11) and all my favrorit modules. Everything works fine but …When i use the Module MMM-ModuleScheduler and i disable the Screen in the power interface with the option “Turn monitor OFF” it works very well, but “Turn monitor ON” wont work. The Display stays blank.
The same problem in my config.js
{ module: 'MMM-ModuleScheduler', header: '', config: { notification_schedule: [ { notification: 'REMOTE_ACTION', schedule: '00 5 * * *', payload: { action: 'MONITORON' } }, { notification: 'REMOTE_ACTION', schedule: '30 22 * * *', payload: { action: 'MONITOROFF' } }, { notification: 'REMOTE_ACTION', schedule: '0 4 * * SUN', payload: { action: 'RESTART' } } ] } },On my Pi 3 it works very well. but on the Pi4 the Display switch to “Blank Screen” but doesn`t wake up.
Has anyone a hit oder fix for me ???
Best Regards,
Sandy2503 -
@Sandy2503 yes. This has been reported before. Don’t rember the solution. Change command as I recall
-
@sdetweil - i don`t remember …
-
-
thanks for the fast replay - i have searched but i havn`t found this post .
I will test it tomorrow.Best Regards
-
@sdetweil - the fix thems to be for the old Version 1.x of RemoteControl & Scheduler.
In my node_helper.js i find NO entrys like the posted from the link. :-(
Best Regards
-
@Sandy2503 well, they are there
monitorControl: function(action, opts, res) { let status = "unknown"; let offArr = ["false","TV is Off","standby"]; let monitorOnCommand = (this.initialized && "monitorOnCommand" in this.thisConfig.customCommand) ? this.thisConfig.customCommand.monitorOnCommand : "tvservice --preferred && sudo chvt 6 && sudo chvt 7"; let monitorOffCommand = (this.initialized && "monitorOffCommand" in this.thisConfig.customCommand) ? this.thisConfig.customCommand.monitorOffCommand : "tvservice -o"; let monitorStatusCommand = (this.initialized && "monitorStatusCommand" in this.thisConfig.customCommand) ? this.thisConfig.customCommand.monitorStatusCommand : "tvservice --status";just not in the same form…
also, the doc describes how to specify different ones without changing the code
https://github.com/Jopyth/MMM-Remote-Control#using-custom-commands
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login