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

    Posts

    Recent Best Controversial
    • 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
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      Maybe not nice for the author of MMM-Soccer, but I switched to MMM-SoccerLiveScore.
      Have to wait for the competition to start to see how it really works, but the matches for August are already displayed.

      I modified the api commands in MMM-Soccer to be compliant with v2, but could not get the parsing right.
      Am a novice to JavaScript, CSS and JSON, so that was to be expected.

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

      @Mykle1

      Thanks for eyplaining, it is clear now.
      I only do not get it to work a flawless spinning with rotateInterval: 1000 and animationSpeed: 0.
      Rather jerky, but that maybe due to other factors.

          config: {
            mode: "Enhanced", // Natural, Enhanced, Lunar, naturalThumb, enhancedThumb.
            useHeader: false,
            header: "NASA DSCOVR Satellite",
            updateInterval: 30*60*1000,
            rotateInterval: 1000*1,
            animationSpeed: 0,
            MaxWidth: "60%",
            MaxHeight: "60%",
          }
      

      But I am okay with rotateInterval: 10000 and animationSpeed: 2000 and will play some more with the settings.

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

      Yes, I mean the README; to be exact the README.md.

      updateInterval	30*60*1000	Every 30 minutes = 48. DO NOT exceed 50 per day.
      animationSpeed	3000	The speed at which each new image fades in and out.
      rotateInterval	15000	The time between each new image. (Rotation)
      

      With 15000 msec, 15 sec, I am rotating the same picture for 30 minutes, until a new picture is fetched through the api.
      And then I am rotating that picture again for 30 minutes.
      In that case it makes more sense to set the rotateInterval to 30 minutes too.
      Unless I am missing something.
      „each of the retrieved images“ would refer to rotate through all saved images, but if no images are being saved …
      Again, I am probably missing something and I am only asking because I really like the module.
      Perhaps the clue is, that the api delivers multiple pictures that are then being rotated, and that I am not aware of that.

      posted in Troubleshooting
      evroomE
      evroom
    • MMM-NOAA3 - user defined lat & lon values

      Hi,

      I stopped using NOAA due to the wunderground issue.
      Luckily NOAA3 now has been issued and that works like a charm, but for one issue.

      It uses http://ip-api.com/json to determine latitude and longitude.
      After (re)starting MM, a file called latlon.json it being created, with the info provided by ip-api.com.
      As I mentioned before in another thread, in my case the location is of by 67 km’s, which is quite a bit.
      And some users are interested in other locations (rotating through different locations would be anoher feature request).

      As a work-around I updated the providers/wb.js file and adopted the line with “var text = fs.readFileSync(‘modules/MMM-NOAA3/latlon.json’,‘utf8’)” and provided my own latlon.nuremberg.json file.

      But it would be nice to have a config option to do so.
      Something like:

      userLatlonJson: “latlon.nuremberg.json”

      When empty or not present, then to the http://ip-api.com/json routine, when present, then use userLatlonJson file.

      The work-around works for me, but it would be nice to do without.

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

      Hi @Mykle1

      Would it be possible to elaborate a bit more on some options ?

      updateInterval: is this the interval after which the latest picture from DSCOVR is being fetched ?

      rotateInterval: it says “The time between each new image.”, but that does not match with updateInterval.
      I get 48 new pictures a day, but rotate every 15 seconds.
      In the pix directory there is currently 1 gif. Does it rotate through the pictures in this directory ?

      Natural, Enhanced, Lunar, naturalThumb, enhancedThumb.

      Is there a short explanation on those mode values ?

      Many thanks in advance and thanks for this great module.

      posted in Troubleshooting
      evroomE
      evroom
    • 1 / 1