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

    Posts

    Recent Best Controversial
    • Attribution Tag for Default Compliments Model

      I would like to have multiple people write compliments to be displayed on my mirror and when each of these compliments gets displayed, I’d like there to be a little graphical tag in the upper left or right of the compliment that says the name of the person who wrote the compliment. I figure I could store the compliments like:

      { “You are the best kid in the world.”, “Mom” }

      and “Mom” will be displayed along with the compliment.

      I’m not a front end programmer and I am not familar with Javascript and HTML, so I was wondering if someone could orient me as to how I would go about implementing this. Would I have to modify the getDom funciton of the default complients module and add some code to draw an attribution tag when then compliment gets rendered? What would that code look like?

      I’m not sure of the details of how to do this, and I’d really appreciate some pointers.

      Thanks so much for your help!

      posted in Development
      R
      raspberrypi9
    • RE: How to turn compliments blue?

      That worked great! Thank you so much for taking the time to answer my question.

      posted in Custom CSS
      R
      raspberrypi9
    • How to turn compliments blue?

      Hi,

      I would like the compliments text of the default compliments module to be in blue instead of white. I think this can be done with custom css but I struggled with the instructions in the pinned post. If someone would please give me a shortcut of how to do it, I would really appreciate your help.

      Thanks

      posted in Custom CSS
      R
      raspberrypi9
    • RE: MM on RPi3 is Extremely Slow

      @sdetweil I’ve tried it with Bullseye 32-bit and Bookworm 64-bit

      posted in Troubleshooting
      R
      raspberrypi9
    • MM on RPi3 is Extremely Slow

      I am running MM on a RPi3B. I thought that it was freezing because after 10 minutes of running normally, the clock module will stop ticking and then the whole system becomes unresponsive. I tried ssh’ing into the box and after minutes, I got a prompt and was able to execute an ‘ls’ command, so I know the system is alive and just moving very slowly. The MM display still doesn’t update.

      I was wondering if anyone had tips on how to get MM running smoothly on a RPi3B? I don’t want to switch to a Pi4 or Pi5 because they don’t support changing the brightness (and the Pi3B does) and this is a critical feature for me.

      Thank you so much for your help.

      posted in Troubleshooting
      R
      raspberrypi9
    • RE: MM Freezes with Raspberry Pi 3 But Not Raspberry Pi 4

      @sdetweil I am using a gpio module and a PIR motion sensor. I don’t have a fan. I am running bullseye 32-bit os. Should I try changing any of those things?

      posted in Troubleshooting
      R
      raspberrypi9
    • RE: MM Freezes with Raspberry Pi 3 But Not Raspberry Pi 4

      I have other projects running on other Pis and they have been running with 2 years uptime. I think it is something about the Magic Mirror application and maybe the Raspberry Pi 3B. I would switch to a Pi 4, but like I said, I can’t control the brightness with the Pi 4.

      posted in Troubleshooting
      R
      raspberrypi9
    • RE: MM Freezes with Raspberry Pi 3 But Not Raspberry Pi 4

      /varl/log/messages:

      Dec 20 01:02:58 mirror kernel: [ 6510.507323] schedule from __mmc_claim_host+0x
      c0/0x208
      Dec 20 01:03:00 mirror kernel: [ 6510.507360] __mmc_claim_host from mmc_sd_dete
      ct+0x1c/0x74
      Dec 20 01:03:02 mirror kernel: [ 6510.507402] mmc_sd_detect from mmc_rescan+0xa
      4/0x2e0
      Dec 20 01:03:03 mirror kernel: [ 6510.507431] mmc_rescan from process_one_work+
      0x244/0x508
      Dec 20 01:03:05 mirror kernel: [ 6510.507465] process_one_work from worker_thre
      ad+0x48/0x558
      Dec 20 01:03:07 mirror kernel: [ 6510.507498] worker_thread from kthread+0xe4/0x100
      Dec 20 01:03:09 mirror kernel: [ 6510.507532] kthread from ret_from_fork+0x14/0x34
      Dec 20 01:03:12 mirror kernel: [ 6510.507558] Exception stack(0xbbe1dfb0 to 0xbbe1dff8)
      Dec 20 01:03:13 mirror kernel: [ 6510.507574] dfa0: 00000000 00000000 00000000 00000000
      Dec 20 01:03:14 mirror kernel: [ 6510.507592] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      Dec 20 01:03:14 mirror kernel: [ 6510.507607] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000

      /var/log/syslog:

      Dec 20 00:46:30 mirror kernel: [ 5527.545960] Exception stack(0xbc405fb0 to 0xbc405ff8)
      Dec 20 00:46:30 mirror kernel: [ 5527.545977] 5fa0: 00000000 00000000 00000000 00000000
      Dec 20 00:46:30 mirror kernel: [ 5527.545995] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      Dec 20 00:46:30 mirror kernel: [ 5527.546011] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
      Dec 20 01:02:52 mirror kernel: [ 6510.507132] INFO: task kworker/0:0:3629 blocked for more than 122 seconds.
      Dec 20 01:02:53 mirror kernel: [ 6510.507190] Tainted: G C 6.1.21-v7+ #1642
      Dec 20 01:02:54 mirror kernel: [ 6510.507203] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
      Dec 20 01:02:55 mirror kernel: [ 6510.507212] task:kworker/0:0 state:D stack:0 pid:3629 ppid:2 flags:0x00000000
      Dec 20 01:02:56 mirror kernel: [ 6510.507247] Workqueue: events_freezable mmc_rescan
      Dec 20 01:02:57 mirror kernel: [ 6510.507288] __schedule from schedule+0x58/0xf0
      Dec 20 01:02:58 mirror kernel: [ 6510.507323] schedule from __mmc_claim_host+0xc0/0x208
      Dec 20 01:03:00 mirror kernel: [ 6510.507360] __mmc_claim_host from mmc_sd_detect+0x1c/0x74
      Dec 20 01:03:02 mirror kernel: [ 6510.507402] mmc_sd_detect from mmc_rescan+0xa4/0x2e0
      Dec 20 01:03:03 mirror kernel: [ 6510.507431] mmc_rescan from process_one_work+0x244/0x508
      Dec 20 01:03:05 mirror kernel: [ 6510.507465] process_one_work from worker_thread+0x48/0x558
      Dec 20 01:03:07 mirror kernel: [ 6510.507498] worker_thread from kthread+0xe4/0x100
      Dec 20 01:03:09 mirror kernel: [ 6510.507532] kthread from ret_from_fork+0x14/0x34
      Dec 20 01:03:12 mirror kernel: [ 6510.507558] Exception stack(0xbbe1dfb0 to 0xbbe1dff8)
      Dec 20 01:03:13 mirror kernel: [ 6510.507574] dfa0: 00000000 00000000 00000000 00000000
      Dec 20 01:03:14 mirror kernel: [ 6510.507592] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      Dec 20 01:03:14 mirror kernel: [ 6510.507607] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000

      posted in Troubleshooting
      R
      raspberrypi9
    • RE: MM Freezes with Raspberry Pi 3 But Not Raspberry Pi 4

      @sdetweil Thanks so much for your help. xrandr won’t control the brightness on the Pi 4 even with switching to the X11 backend. I tried your suggestion of increasing the swap file (I increased it to 2048M) and then my system ran from about 11:30 pm to 6:20 am and then froze. When it froze, the entire Pi OS froze–not just the MM app. Do you have any other suggestions about what might be causing the Pi to freeze while running MM?

      Tbanks so much for your help!

      posted in Troubleshooting
      R
      raspberrypi9
    • MM Freezes with Raspberry Pi 3 But Not Raspberry Pi 4

      MM runs okay with my Raspberry Pi 4, but when I run it on a Pi 3, it freezes pretty often. I need to run it on a Pi 3 because I wish to control the screen brightness programmatically (which I can do with xrandr --output HDMI-1 --brightness 0), but I can’t get that command to work on the Pi 4.

      If you would please let me know how I can get MM to run reliably on the Pi 3, I would really appreciate it.

      Thanks so much for your help.

      posted in Troubleshooting
      R
      raspberrypi9
    • 1
    • 2
    • 3
    • 4
    • 3 / 4