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 491
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: MMM-Hoymiles-Wifi

      @Jose1701

      This command should give more information on the PID found:

      ps -Flww -p

      E.g.

      ps -Flww -p 64879

      Perhaps there are easier ways, but this should do.

      posted in Development
      evroomE
      evroom
    • RE: MMM-Hoymiles-Wifi

      @Jose1701

      Try this to find out what is using port 5000:

      sudo netstat -apln | grep -w 5000
      

      And did you update the bash program?
      https://github.com/schris88/MMM-Hoymiles-Wifi?tab=readme-ov-file#enter-dtu-ip-address-of-dtu

      posted in Development
      evroomE
      evroom
    • RE: problem with config.js file

      @Jose1701

      The
      };
      needs to be
      },
      So a comma iso of a semicolon.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: MMM-Mplayer video issues

      @ge

      I have almost the exact environment and Raspberry Pi.
      I am running MM version 2.33.0, but that should not matter IMHO.

      Btw, have 8Gb, and you ?

      vcgencmd get_config total_mem
      

      Can you open the RTSP URL in VLC and then open Window - Media Information ?
      Then the Codec Details tab and please provide the Codec, Video resolution and Frame rate information.
      I have H.264, 2560x1440, 25.

      And can you try to change the config to this (add 2 lines):

          windows: [
            {
              windowSize: { width: 990, height: 557 },
              windowPosition: { x: 471, y: 20 },
              rtspStreamOverTcp: true,
              noSound: true,
              streams: [
                 'rtsp://admin:Camadmin@172.16.0.37:554/cam/realmonitor?channel=1&subtype=0'
                       ]
            }
          ]
      

      From looks the RTSP URL you are using a Dahua cam, right ?
      Maybe you can try subtype=1 ??
      Or another channel perhaps.
      I do not know the relation between channels and resolutions.
      Try to find a lesser resolution to see if it makes it better.

      Also good to know how many other applications are streaming, for example Synology Surveillance Station.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: MMM-Mplayer video issues

      @ge

      You may have seen this example config.
      I am using this for my Axis P1448-LE.
      It works okay, but is sometimes lagging, not stuttering.

      https://github.com/evroom/MMM-MPlayer?tab=readme-ov-file#config-example-for-a-single-window-single-rtsp-stream

      There is also a section on data gathering:

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

      You can supply me with this data and your config, then I can have a look at it.

      posted in Troubleshooting
      evroomE
      evroom
    • 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
    • 1
    • 2
    • 3
    • 4
    • 5
    • 49
    • 50
    • 2 / 50