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.
    evroomE Online
    • Profile
    • Following 0
    • Followers 2
    • Topics 18
    • Posts 499
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: omxplayer overlay

      The MPG2 license I most probably needed in order to be able to stream the satellite TS stream.
      With the codec disabled, I am still able to play the .mov and .mp4 files.

      In general the rule applies: when you can play / stream a source using omxplayer from the command-line, you should be able to play that source via MM (as long as the module used passes the right omxplayer parameters).

      If you want to pursue the issue further, you can add the --genlog parameter in order to generate the omxplayer.log file:

      cd /MagicMirror/modules/MMM-RTSPStream
      $ vi node_helper.js
      
      Edit line 113:
      
      args.unshift("--genlog", "--avdict", "rtsp_transport:tcp");
      
      Restart MM.
      
      $ ls -als /home/pi/MagicMirror/omxplayer.log
      

      Perhaps this log will reveal why the file does not play.

      posted in Development
      evroomE
      evroom
    • RE: omxplayer overlay

      To be honest, I do run MM 2.4.1, but did not activate OpenGL. That is to say, I commented out
      #dtoverlay=vc4-fkms-v3d
      The electron processes do not show extreme usage and the temperature is around 48 celsius (25 celsius room temperature).
      I have 2 camera streams running.

      And I fail to see the difference between streaming via a rtsp url and from the SD card.

      It just now pops up in my head; do you have the MPG2 license?
      Try this to see if it is enabled:

      # vcgencmd codec_enabled MPG2
      
      posted in Development
      evroomE
      evroom
    • RE: omxplayer overlay

      For me this works:

      url: '/home/pi/Videos/MoonEclipse.mp4',
      

      So no ‘rtsp:’.
      But I do not know if this sets the right parameters for this purpose, are more suited for CAM streaming I suppose:

      |mm       | Starting stream stream1 with args: [
      1|mm       |     "--avdict",
      1|mm       |     "rtsp_transport:tcp",
      1|mm       |     "--win",
      1|mm       |     "33, 620, 513, 890",
      1|mm       |     "--live",
      1|mm       |     "--video_queue",
      1|mm       |     "4",
      1|mm       |     "--fps",
      1|mm       |     "30",
      1|mm       |     "/home/pi/Videos/MoonEclipse.mp4"
      1|mm       | ]
      

      Makes my Pi very slow too, but that is because I put the file on the SD, which is not a fast medium in my case.

      posted in Development
      evroomE
      evroom
    • RE: omxplayer overlay

      Can you try this config, just to know what works and what not ?

       {
          module: "MMM-RTSPStream",
          disabled: false,
          position: "middle_center",
          header: "Video",
          config: {
            autoStart: true,
            rotateStreams: false,
            moduleWidth: 900,
            moduleHeight: 364,
            localPlayer: 'omxplayer',
            remotePlayer: 'none',
            showSnapWhenPaused: false,
            remoteSnaps: false,
            stream1: {
              name: 'BigBuckBunny Test Stream',
              url: 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov',
              width: 480,
              height: 270
          },
      }
      

      Height and width are perhaps a bit odd; is what I use for my camera streams.

      I will look if streaming a local file is possible; never tried it.

      posted in Development
      evroomE
      evroom
    • RE: Modules not loading

      Looks nice.
      I like the

      // new module
      

      Try this:

      {
      		module: "compliments",
      		position: "lower_third"
      },
      

      And you have entered the module calendar twice, but that should not lead to an error.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: omxplayer overlay

      I just tried MMM-RTSPStream and it loops the video without any extra options.
      You also could just try to add --loop after the URL of the video.
      When lucky it will be used as an omxplayer option.

      As omxplayer uses a fixed position, relative to the position of the module, it might need a bit extra fiddling.
      But with MMM-RTSPStream and the module options

      moduleWidth: 900,
      moduleHeight: 364,
      

      and the omxplayer options

      width: 480,
      height: 270
      

      you have the control over the overlay and overlapping that you need.
      And with the custom.css you have additional options and control.

      posted in Development
      evroomE
      evroom
    • RE: omxplayer overlay

      Hi,

      There is MMM-RTSPStream too.
      Meant to stream video for camera’s, but it works for every RTSP stream.
      You can specify height and width, but the position is determined by the module position.
      Overlaying other modules depends on the position of those modules, but there is nothing that can’t be done using the custom.css.
      And you cannot get away with trial and error.
      It took me a while to get it pixel perfect…

      posted in Development
      evroomE
      evroom
    • RE: Quick Syntax Error

      @smartsoldier

      I personally would not do a complete re-install, but I would re-install the modules according to their instructions.
      Those modules would be:

      MMM-DropboxWallpaper
      MMM-forecast-io
      MMM-DailyBibleVerse

      In that order.
      Btw, are all modules under the MagicMirror/modules directory ?
      You yourself proofed that most stuff works.
      @Sean proofed that your config is okay.

      Btw, a simple ‘trick’ to disable a module is to put

      disabled: true,

      under the module name

      and

      disabled: false,

      to enable it again.

      Disabled:

      module: 'MMM-DropboxWallpaper',
      disabled: true,
      

      Enabled:

      module: 'MMM-DropboxWallpaper',
      disabled: false,
      

      This gives you a faster way of excluding ‘wrong’ modules.
      Or simply to test a module, whilst leaving the config when the module is not needed.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Quick Syntax Error

      @smartsoldier Please edit the post with the config.js and remove your private api keys, like apiKey and dropboxAccessToken.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Quick Syntax Error

      Are you willing to share the syntax error with us?
      I thought you were referring to the “create config file” message at startup.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Quick Syntax Error

      I also do not get an error when copy/pasting your config lines.

      $ npm run config:check
      

      does not give an error.
      You should try it yourself; a very useful command.
      Perhaps the error does not apply to the MMM-DropboxWallpaper config ?

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Quick Syntax Error

      I would try changing this:

      tokenLocationIQ : "secret",
      

      to this:

      tokenLocationIQ: "secret",
      
      posted in Troubleshooting
      evroomE
      evroom
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @strawberry-3-141 ,

      Thanks for the background info.
      Did not know it was an issue before, but then again I am a novice MM user.

      Time and mood is always an issue.
      Better for cold evenings or weekends, not when it is 35 degrees and having spent 8 hours behind a PC in a relatively hot office 😀

      posted in Sport
      evroomE
      evroom
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @strawberry-3-141 ,

      I have it running. Added “NETHERLANDS”, 2003.

      I found out that v1 is still available, but only for pre-World Cup stuff.
      But that means you can use v1 for the logos:
      http://api.football-data.org/v1/teams/57
      http://upload.wikimedia.org/wikipedia/en/5/53/Arsenal_FC.svg

      You could add a separate league number_league name_team_logo.json file, with a collection of team logos.
      Per league, per team.
      Then users can add missing logos themselves and perhaps share their collection with you to be put on github.
      Just an idea.

      In the meantime I will try to contact the football-data.org person to ask what happened to the logos in v2.

      Hope you are not offended when I say that SoccerLiveScore has it all.
      Except for 2 things that are unique for your module:
      focus and number of teams to show on the table.
      Cannot say if the sources of data is equally well maintained, so cannot say if it is worth the trouble of coding, unless it brings you pleasure.

      posted in Sport
      evroomE
      evroom
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      Both modules display matches and standings.
      https://github.com/master117/MagicMirror-FootballLeagues
      https://github.com/LukeSkywalker92/MMM-SoccerLiveScore
      Differences might be in the extra possibilities of the api and therefore additional possibilities for the module.
      For example football-data.org v2 can show you the squad.

      posted in Sport
      evroomE
      evroom
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      It looks like I mixed up things.

      You have:
      MMM-soccer: uses api.football-data.org - api v1
      MagicMirror-FootballLeagues: api.football-data.org - api v1
      MMM-SoccerLiveScore: uses www.ta4-images.de

      Modules using api.football-data.org - api v1 - are not working and that leaves MMM-SoccerLiveScore as the only module working at this moment.

      Now … I promised to have a look at MMM-Soccer, which is MMM-soccer (small detail), to see if I can get v2 working.
      So I started with github (never used it before) and got MM working on my MacBook.
      Stupidly I got a copy of MMM-SoccerLiveScore and was surprised to see it working.
      Only then I realised that my comments were based on MagicMirror-FootballLeagues and not on MMM-Soccer.
      Not even speaking about MMM-SoccerLiveScore.

      Probably the heat-wave melted my brains, or what was left of it.

      What to do ?

      On the one hand we have MMM-SoccerLiveScore.
      Install it. Configure it. Run it. Go with it.
      Nothing needed.
      I have it running myself.

      Then we have MMM-soccer and MagicMirror-FootballLeagues.
      Both need to be adapted to run with api v2.
      MagicMirror-FootballLeagues, owner @master117, looks to be more up-to-date and a better start than MMM-soccer.
      It says to be a spin.off of MMM-SoccerLiveScore, but I do not know exactly why.
      And I do not know if an adapted MagicMirror-FootballLeagues will have more possibilities over the other(s).

      I might give it a try, just for the fun of it.

      posted in Sport
      evroomE
      evroom
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @strawberry-3-141 ,

      I will give it a try in the next days. Might have some questions though. As said, I am a novice to JavaScript and JSON, but fit in Perl. For the moment the biggest challenge is to have a programming / test environment setup. MM is running on a Pi and perhaps it is better to have a MM instance running on my MacBook. Or even better, to be able to test the module out of MM, if possible. Will report back asap on my progress, if any.

      posted in Sport
      evroomE
      evroom
    • RE: TV Tuner

      I got streaming from a Linux SAT receiver with enigma2 working, using the module MMM-RTSPStream-
      But you will need to supply a bit more information than rather ‘a TV tuner’.

      posted in Requests
      evroomE
      evroom
    • RE: MMM-EARTH - config options

      You are not allowed to guess anymore :-)
      Yes, I use a PI, I think most people use a PI to start with and then things get out of control (MagicModuleVirus).
      What starts with 4 MM modules, ends up with juggling a whole bunch of modules on a ‘tiny’ monitor (for me a 900x1600 resolution).

      posted in Troubleshooting
      evroomE
      evroom
    • 1 / 1