Read the statement by Michael Teeuw here.
-
Thanks for doing all the work. Just upgraded. However I had problems before waking and sleeping the screen and before I was able to change this in the node_helper.js to use:
vcgencmd display_power 1 instead of tvservice. The command works via ssh but when I tried to change like below the screens sleeps but I can not wake it up via the remote.html menu. Anyone with the same problem?
monitorControl: function(action, opts, res) { let status = "unknown"; let monitorOnCommand = (this.initialized && "monitorOnCommand" in this.thisConfig.customCommand) ? this.thisConfig.customCommand.monitorOnCommand : "sudo vcgencmd display_power 1"; let monitorOffCommand = (this.initialized && "monitorOffCommand" in this.thisConfig.customCommand) ? this.thisConfig.customCommand.monitorOffCommand : "vcgencmd display_power 0"; let monitorStatusCommand = (this.initialized && "monitorStatusCommand" in this.thisConfig.customCommand) ? this.thisConfig.customCommand.monitorStatusCommand : "vcgencmd display_power --status"; if (["MONITORTOGGLE", "MONITORSTATUS", "MONITORON"].indexOf(action) !== -1) { screenStatus = exec(monitorStatusCommand, opts, (error, stdout, stderr) => {
-
@jopyth I would love to give it a try, but I need first to replace the monitor on/off commands with more suitable CEC commands (I use the cec-utils package) as I have a TV instead. :)
Please tell me what do I have to edit to use the following commands?
Turn tv on:
echo on 0 | cec-client -s -d 1
Turn tv off:
echo standby 0 | cec-client -s -d 1
Tv status:
echo pow 0 | cec-client -s -d 1
-
@jopyth ,After git pull and npm install , Error like this (at below) happen
what wrong and how to fix it
Thanks for your help
-
This post is deleted! -
-
@costascontis I am experiencing the same issue you are as well.
-
solved it ,replace node_helper.js with this one ,fix is by ronanversendaal
-
@costascontis Thanks that worked I think…it doesn’t prompt a pm2 restart in the terminal window just closes MM browser and reopens?
-
@Jopyth after update the Magic Mirror to v2.7.0. I lost all icons. Do you have any idea why? Thanks in advance
-
Same issue here 🤔