Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. janth
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 7
    • Best 0
    • Groups 0

    janth

    @janth

    0
    Reputation
    544
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    janth Follow

    Latest posts made by janth

    • Compliments via Telegram

      Hello 🙂

      the idea of the telegram bot is great. I got another idea when I built my own mirror about 1.5 years ago and I still think pretty often about it.

      Wouldn’t it be great to enable everyone living in the flat texting to the mirror? Things like “Please call me when you got home” (some people don’t check their phones 😡 ) or reminders like “Don’t forget to take your lunch box” or in case there’s a party in the flat being able to change the compliment text live… there are so many use cases. Maybe even keep older messages for a certain time and display the last three of them, and being able to remove them using telegram again.

      Thanks for all the work you all put into this project!!

      Jan

      posted in Feature Requests
      J
      janth
    • RE: MMM-PublicTransportHafas brings up ERRORs `fetchDepartures`

      I got the same issue. But there are other errors as well since I installed PublicTransportHafas.

      Is there any clue why this happens?

      Best,

      Jan

      posted in Troubleshooting
      J
      janth
    • PM2: Four instances using 100 % CPU

      Hallo 🙂

      I know it’s not how it’s supposed to be but I use a Pi Zero running Stretch lite. I start the Mm using „node /serveronly“ in a .sh script and launch chromium afterwards.

      Typing in these commands works perfectly fine. Everything takes some time to boot, but then, it just works.

      To start it after bootup, I use Pm2. It takes some time but it works. The problem is: the Pi‘s CPU is at 100 % all the time since node /serveronly runs 4 times and each needs between 15 and 20 %.

      How can I fix that? Any idea?

      posted in System
      J
      janth
    • RE: Two Instances in PM2

      Hello:)

      I run it on a Pi ZeroW and I know that’s not the common way. I use PM2 since I could not find any other working solution for Jessie or Stretch. Though it starts MM and chromium and everything looks well, the CPU is at 100 % all the time. When checking the active processes, the “node server only” is listed four times and chromium twice. Each node instance eats up to 20 % of CPU time.

      Any idea how to stop that?

      posted in Troubleshooting
      J
      janth
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      Thank you @NoNameRo !! It works now on Stretch. I can’t use localhost:8080 but xxx.xxx.xxx.xxx:8080 works fine.

      Since initd is replaced by systemd, how do I run a script at boot up? For the last couple of days, I’ve been using a solution using pm2, but it seems to run the “node serveronly/” process multiple times so that my pi’s cpu has been at 100 % all the time.

      Where do I have to place the script with
      cd ~/MagicMirror
      node serveronly &
      sleep 45
      sudo xinit /home/pi/chromium_start.sh

      and how do I activate it for boot up?

      posted in Tutorials
      J
      janth
    • RE: midori cant connect to localhost

      @bbdv did you use Jessie or Stretch for that?

      posted in Troubleshooting
      J
      janth
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      Hello 🙂 since my Zero’s USB port is broken, I have to run everything from ssh and scripts.

      I experienced the same as @Hawking: when starting midori, the screen would either turn black or white. I installed chromium and replaced the line “midori -e Fullscreen -a http://localhost:8080” by “chromium-browser --incognito --kiosk http://localhost:8080”. Chromium only shows a line at the top of the screen saying it can’t be run as sudo.

      Any idea on how to fix this? Or how to get midori to work?

      Thanks in advance 🙂

      posted in Tutorials
      J
      janth