@jbat66 , @karsten13 , thank you for the help, I was able to get it going using the custom commands in MMM-Remote-Control
Read the statement by Michael Teeuw here.
Posts
-
RE: MM current version on Raspberry Pi 5 cannot turn off monitor
-
RE: MM current version on Raspberry Pi 5 cannot turn off monitor
@karsten13 I was not able to get any commands using the wlr-randr to show anything other than “failed to connect to display”, however, after much searching, I did find a command that was able to turn the screen off and on
MMUser@MagicMirror:~ $ DISPLAY=:0.0 xrandr --output HDMI-1 --off MMUser@MagicMirror:~ $ DISPLAY=:0.0 xrandr --output HDMI-1 --mode 2560x1440 --rate 60 --rotate left
Although I’m not sure how to get this into something that can be called from MagicMirror itself so that it can be run as a menu command in MMM-Remote-Control or some other way that it can be called from outside of MagicMirror
-
RE: MM current version on Raspberry Pi 5 cannot turn off monitor
@karsten13 said in MM current version on Raspberry Pi 5 cannot turn off monitor:
wlr-randr --output HDMI-A-1 --off
@karsten13, I did try those commands and I receive this response to both
MMUser@MagicMirror:~ $ wlr-randr --output HDMI-A-1 --off failed to connect to display
-
MM current version on Raspberry Pi 5 cannot turn off monitor
Anyone using MM on a Raspberry Pi 5 or running a Raspberry Pi 5 in general know how to turn off the monitor now?
I have been using MMM-Remote-Control and turning off/on the monitor using the following requests
http://<MagicMirrorIPAddress>:8080/remote?action=MONITOROFF http://<MagicMirrorIPAddress>:8080/remote?action=MONITORON
Which ultimately issue the commands
vcgencmd display_power 0 vcgencmd display_power 1
but these commands, no longer work and are generating errors and not Turing the monitor off/on
[30.12.2023 12:15.44.921] [ERROR] [30.12.2023 12:15.44.927] [ERROR] Error: Command failed: vcgencmd display_power 0 at ChildProcess.exithandler (node:child_process:430:12) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1091:16) at Process.onexit (node:internal/child_process:302:5) { code: 255, killed: false, signal: null, cmd: 'vcgencmd display_power 0' } [30.12.2023 12:15.47.731] [ERROR] [30.12.2023 12:15.47.732] [ERROR] Error: Command failed: vcgencmd display_power 1 at ChildProcess.exithandler (node:child_process:430:12) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1091:16) at Process.onexit (node:internal/child_process:302:5) { code: 255, killed: false, signal: null, cmd: 'vcgencmd display_power 1' }
This is the command line result from outside of MM
MMUser@MagicMirror:~ $ vcgencmd display_power 0 vc_gencmd_read_response returned -1 error=1 error_msg="Command not registered"
Web searches for a solution have been unsuccessful.
Thanks for any help you might be able to provide.
-
Is there a way or a module that will display an svg graphic?
Hello,
I have a webcam url that returns an SVG graphic that I would like to display on my MagicMirror2, anyone know of a way or module to do this?
Thanks!
Rick
-
RE: Could not resolve host
@sdetweil Yes, I am not very confident in my Internet sometimes! I work from home and I see my connection to the office drop for a few seconds on average every day. I am also trying to rule that out as a possible cause for some mysterious lockups where the MM and RPi appear to still be running but I lose VNC connectivity and eventually have to pull the plug to reboot :-(
-
RE: Calendar fetch issues
@sdetweil Thank you for the explanation, I will not worry too much about those errors then.
I have had some mysterious lockups on the MM and so I am just trying to resolve what I can from the logs to better pin it down, I really appreciate all the help!
-
RE: Could not resolve host
@sdetweil No, I do not run any DNS blocking tools locally.
-
Could not resolve host
Hello, I have seen few times in the logs the errors below.
[2020-10-15 01:06:54.515] [ERROR] fatal: unable to access 'https://github.com/Jopyth/MMM-Remote-Control.git/': Could not resolve host: github.com [2020-10-15 01:06:54.516] [ERROR] fatal: unable to access 'https://github.com/BenRoe/MMM-SystemStats/': Could not resolve host: github.com [2020-10-15 01:06:54.516] [ERROR] fatal: unable to access 'https://github.com/mykle1/MMM-Events/': Could not resolve host: github.com [2020-10-15 01:06:54.540] [ERROR] fatal: unable to access 'https://github.com/jclarke0000/MMM-DarkSkyForecast.git/': Could not resolve host: github.com [2020-10-15 01:06:54.551] [ERROR] fatal: unable to access 'https://github.com/MichMich/MagicMirror.git/': Could not resolve host: github.com
Does anyone know if this is more likely related to local internet connectivity or something external and if there are any ways to resolve it.
Thank you kindly,
Rick
-
Calendar fetch issues
Hello, I have seen the following errors in the log for calendars and am looking for help to resolve them.
The first issue appears it may be a legit 503 service unavailable issue, but does throw an error into the log.
[2020-10-14 13:34:33.657] [ERROR] Calendar Error. Could not fetch calendar: http://p42-calendars.icloud.com/published/2/MjE1NDI5NjM0Mj*MASKED*--sxGM 503: Service Temporarily Unavailable [2020-10-14 18:53:07.815] [ERROR] Calendar Error. Could not fetch calendar: http://p64-calendars.icloud.com/published/2/AAAAAAAAAAAAAA*MASKED*Cj9UqU 503: Service Temporarily Unavailable
I have also seen the following error but they don’t always coincide with the 503 errors so not sure if they are related or not.
[2020-10-15 00:44:37.926] [ERROR] Calendar Error. Could not fetch calendar: http://p42-calendars.icloud.com/published/2/MjE1NDI5NjM0Mj*MASKED*--sxGM Error: getaddrinfo EAI_AGAIN p42-calendars.icloud.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) { errno: 'EAI_AGAIN', code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'p42-calendars.icloud.com' } [2020-10-15 01:02:13.529] [ERROR] Calendar Error. Could not fetch calendar: http://recollect.a.ssl.fastly.net/api/places/03A47F*MASKED*0E18/services/253/events.en-US.ics Error: getaddrinfo EAI_AGAIN recollect.a.ssl.fastly.net at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) { errno: 'EAI_AGAIN', code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'recollect.a.ssl.fastly.net' } [2020-10-15 01:02:41.306] [ERROR] Calendar Error. Could not fetch calendar: http://p64-calendars.icloud.com/published/2/AAAAAAAAAAAAAA*MASKED*Cj9UqU Error: getaddrinfo EAI_AGAIN p64-calendars.icloud.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) { errno: 'EAI_AGAIN', code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'p64-calendars.icloud.com' } [2020-10-15 01:03:44.890] [ERROR] Calendar Error. Could not fetch calendar: http://ical.mac.com/ical/US32Holidays.ics Error: getaddrinfo EAI_AGAIN ical.mac.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) { errno: 'EAI_AGAIN', code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'ical.mac.com' }
Thanks again for any help!
Rick