MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. evroom
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 2
    • Topics 18
    • Posts 476
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: MMM-MPlayer

      @plainbroke
      Happy to help.

      posted in Entertainment
      evroomE
      evroom
    • RE: MMM-MPlayer

      @plainbroke

      Can you please provide me with the output of:

      $ grep Version /home/admin/MagicMirror/modules/MMM-MPlayer/node_helper.js

      And the commands found in this section of the README:

      https://github.com/evroom/MMM-MPlayer?tab=readme-ov-file#data-gathering

      I have a feeling you have placed the config from the old version into the ‘new’ version.
      Or in other words: you installed version 2…0.1, without changing the config accordingly, which has changed quite a bit.
      See https://github.com/evroom/MMM-MPlayer?tab=readme-ov-file#config-example

      posted in Entertainment
      evroomE
      evroom
    • RE: cron job hdmi on and off

      @Sam-0

      You only had to change the 1 into a 0.
      Not to move the lines around, especially not the ones with export.

      #!/bin/bash
      export WAYLAND_DISPLAY=wayland-0
      export XDG_RUNTIME_DIR=/run/user/1000
      wir-randr --output HDMI-A-1 --on
      

      But you are slowly getting there :-)
      Wax on, wax off
      Screen on, screen off.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: cron job hdmi on and off

      @Sam-0 said in cron job hdmi on and off:

      @evroom

      should it be modified in this way?

      output HDMI-A-1 --on
      Into
      output HDMI-A-0 --on

      No, like this:

      export WAYLAND_DISPLAY=wayland-0

      In both scripts.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: cron job hdmi on and off

      @Sam-0

      So as stated before you most probably need to change wayland-1 to wayland-0 in your scripts.
      Give it a try.
      Furthermore the .lock file may cause a problem, but I guess this will show in your error log.
      And temporarily change the times in your cronjob to speed things up a bit.
      Waiting till ten and midnight is not really necessary :-)

      posted in Troubleshooting
      evroomE
      evroom
    • RE: cron job hdmi on and off

      @Sam-0

      In de laatste 2 regels mist een spatie bij /home.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: cron job hdmi on and off

      @Sam-0

      So it seems that the cronjob is okay.

      Can you do:
      ˋˋˋls -als /run/user/1000/wayland*ˋˋˋ

      I think you need wayland-0 iso wayland-1.

      With ˋˋˋ grep username /etc/passwdˋˋˋ (use your username) you can verify that your user has uid 1000.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: cron job hdmi on and off

      @Sam-0 said in cron job hdmi on and off:

      i created two files
      off.sh and on.sh
      they contain the following lines

      wlr-randr --output HDMI-A-1 --off
      wlr-randr --output HDMI-A-1 --on

      Do you have #!/bin/bash or #!/bin/sh at the very beginning of your shell scripts ?

      #! /bin/sh – Execute the file using the Bourne shell, or a compatible shell, assumed to be in the /bin directory
      #! /bin/bash – Execute the file using the Bash shell

      You can also put /bin/bash in the crontab entry (before /home/username/...).
      Then there is no way for cron to not execute it as a shell script and it will even run without the executable bit set.

      And what Sam mentioned: the scripts need to be executable but not necessarily writable (chmod 755).
      This should normally do the trick.

      If you have mail installed (which mail) you can put this at the very beginning of the crontab file:
      MAILTO=username (in my case admin).
      With
      journalctl --since "1 day ago" --unit cron.service --no-pager
      you can see if cron ran your script and with mail you can see more details on the cron job executed.

      Good luck.

      posted in Troubleshooting
      evroomE
      evroom
    • MMM-MPlayer - version 2.0.1

      Hi,

      I just published version 2.0.1 of the MMM-MPlayer module.
      Fixed some issued, added more options.

      https://github.com/evroom/MMM-MPlayer

      Please read the README carefully, especially when you are using the first version.

      If you are a user of version 1 of this module, please be aware that the configuration is slightly different and that more options are available. It is advisable to move a working version of this module before installing the new version.

      Best regards,

      E.J.

      posted in Utilities
      evroomE
      evroom
    • 1
    • 2
    • 3
    • 4
    • 5
    • 47
    • 48
    • 1 / 48