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

    Posts

    Recent Best Controversial
    • RE: MMM-MyGarbage trash icons no color

      bedankt het lijkt nu goed

      posted in Troubleshooting
      S
      Sam 0
    • RE: MMM-MyGarbage trash icons no color

      @JerryP

      ik kom uit NL

      ik eb een een update gedaan van deze module sindsdien zijn de kleuren niet meer goed.
      ik zie wel in de update dat er css mogelijkheden zijn. maar als ik deze toevoeg dan laat mijn mm niet meer vermoed een fout in mijn config

      de vraag is moet ik css waarde toevoegen in mijn config met de laatste update zo ja een mogelijk voorbeeld zou helpen

      zo niet dan is er mogelijk iets anders aan de hand maar wat bepaald dekleur van deze trah icons.
      al vast bedank voor het meedenken.

      posted in Troubleshooting
      S
      Sam 0
    • RE: MMM-MyGarbage trash icons no color

      e2bd84e1-6b28-4af7-8912-50ca70484aeb-image.png

      posted in Troubleshooting
      S
      Sam 0
    • MMM-MyGarbage trash icons no color

      aa7f4a1b-95b1-493a-b25c-226b78dd7c1f-image.png my trash icons are all the same color after the last update I try the color that should be in cofig.js but then my screen is empty it no longer starts I suspect a typo or a braeak }, which does not work well help

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      @Sam-0

      yes it works very well thank you for your patience with me I hope others can now set it up more easily
      thanks again for the effort

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      ok is this good now? :) let me know the result tomorrow…

      677dcde8-ec68-4ede-8705-41e842eb790c-image.png

      7504475c-a69b-45c2-a5fb-e1d57751b929-image.png

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      @evroom said in 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.

      Man who catch fly with chopstick, accomplish anything😆

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      @
      ok i will adjust it and see if it works

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      @sdetweil
      thank you i made the adjustment
      cbeb7a77-bad4-46f5-8f51-485262e43fea-image.png

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      @evroom said in cron job hdmi on and off:

      export WAYLAND_DISPLAY=wayland-0

      this way?
      0e8d7510-9711-4d3a-906d-9694419deee4-image.png

      posted in Troubleshooting
      S
      Sam 0
    • Pollen module

      I’m not a developer but maybe a pollen module would be nice or if it already exists I’d like to hear about it https://developers.google.com/maps/documentation/pollen/overview

      posted in Requests
      S
      Sam 0
    • RE: 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

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      @Sam-0 this is the result
      ecf36ac0-1805-459a-8f09-a634f156946a-image.png

      54d35d64-8643-4566-8e74-cf1a8fa93552-image.png

      checked the cron see below
      82e1d136-77d8-4e8a-b06b-544ba9c05629-image.png

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      ok i checked some more and did some tests

      73aa8bb5-2eeb-4bac-888c-2822ba96a7ad-image.png

      when I execute the following I get the error message that I also see in the log

      /usr/bin/wlr-randr --output H DMI-A-1 --off
      failed to connect to display

      also running the sh files via putty gives the error
      it seems that the command:
      /usr/bin/wlr-randr --output H DMI-A-1 --off
      the error message gives the question is this command incorrect or is there an underlying problem?

      4e3a1bda-3953-4e39-899b-35fbcae43297-image.png

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      unfortunately it still doesn’t work what am I doing

      wrong?!

      6df4646c-2d05-4f37-ab98-06602edb7242-image.png
      cron info

      on sh file
      5579a93f-27f3-4e53-b75e-59c5306798b8-image.png

      off sh file
      e7e6712a-47f1-4210-b91f-6eb6bc5c7230-image.png

      error logfile:
      2d8cad2e-a6e6-496d-a3eb-34dfff1f115d-image.png

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      @evroom Thanks for your explanation, I have made adjustments and will check tonight if it works. I will report this back. Thanks for the effort.

      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      I thought it was right but now the rights on the sh files are set to 0777 and also on the folders
      I also did a test to see if I could execute the sh files, this works tonight the cron should execute it, let me know if it works

      7d588f38-160b-4f84-a7fc-6932e1d74561-image.png

      posted in Troubleshooting
      S
      Sam 0
    • RE: 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

      i also created a folder
      with the following rights:
      cmod 777
      the cron contains the following lines:
      unfortunately this does not work what is wrong?

      # Schakel display uit zondag - donderdag om 22.00
      00 22 * * 0-4 /home/username/MagicMirror/config/hdmionoff/off.sh>> /home/username/MagicMirror/config/hdmionoff/mof.log 2>&1
      # Schakel display uit vrijdag - zaterdag om 22.45
      45 22 * * 5,6 /home/username/MagicMirror/config/hdmionoff/off.sh>> /home/username/MagicMirror/config/hdmionoff/mof.log 2>&1
      # Zet het scherm aan maandag - vrijdag om 7u00
      00 07 * * 1-5/home/username/MagicMirror/config/hdmionoff/on.sh>> /home/username/MagicMirror/config/hdmionoff/mon.log 2>&1
      # Zet het scherm aan zaterdag - zondag om 8u00
      00 08 * * 6,0/home/username/MagicMirror/config/hdmionoff/on.sh>> /home/username/MagicMirror/config/hdmionoff/mon.log 2>&1
      
      posted in Troubleshooting
      S
      Sam 0
    • RE: cron job hdmi on and off

      @Sam-0 thanks I will test it and share the result with you

      posted in Troubleshooting
      S
      Sam 0
    • cron job hdmi on and off

      Re: [Cron Job Question](/tI used a cron job to turn my screen off and on I still want to do this I understand that the addressing of the monitor has changed and now only the code below works:

      Turn off display Sunday - Thursday at 22:00

      00 22 * ​​* 0-4 wlr-randr --output HDMI-A-1 --off

      Turn off display Friday - Saturday at 22:45

      45 22 * ​​* 5,6 wlr-randr --output HDMI-A-1 --off

      Turn on screen Monday - Friday at 7:00

      00 07 * * 1-5 wlr-randr --output HDMI-A-1 --on

      Turn on screen Saturday - Sunday at 8:00

      00 08 * * 6,0 wlr-randr --output HDMI-A-1 --onopic/16967/cron-job-question)
      05080d0a-5b0b-4960-8a96-64aef0a9f548-image.png

      i see that running the commands:
      wlr-randr --output HDMI-A-1 --off
      wlr-randr --output HDMI-A-1 --on
      works fine
      only putting this in cron and making it work didn’t work. i think i need to point the above cron job to files to have it run by cronjob can someone give a good example of what this looks like

      posted in Troubleshooting
      S
      Sam 0
    • 1 / 1