MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. sdetweil
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S
    Do not disturb
    • Profile
    • Following 0
    • Followers 108
    • Topics 90
    • Posts 20,803
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: RMV module issue (no live data)

      @drfukc said in RMV module issue (no live data):

      I have not edited the code, I have created a pull-request.

      well, you edited the source file, which is the same…

      it doesn’t matter what the defaults are (what u changed)…

      just set the values in config (as the deverloper expects you to do), and all is good…

      your ‘’ vs the original produce the same results… it doesn’t work…

      it was expected that you would put values in config, they override the defaults…

      posted in Troubleshooting
      S
      sdetweil
    • RE: How do I increase display size once Magic Mirror loads?

      @ceddirr there are two minus keys on most keyboards… the keypad area and next to the equal sign ( us keyboard)

      posted in Troubleshooting
      S
      sdetweil
    • RE: RMV module issue (no live data)

      and the MMM-MRV.js code says (for example)

      else if (trains.direction === this.config.fDestination1 || trains.direction === this.config.fDestination2 || trains.direction === this.config.fDestination3 || trains.direction === this.config.fDestination4 || trains.direction === this.config.fDestination5) 
      				{	
      					if (trains.Product.catOutL == "S-Bahn" || trains.Product.catOutL == "Niederflurstraßenbahn")
      					{	countedLinesTram = countedLinesTram + 1;	}
      					else if (trains.Product.catOutL == "U-Bahn")
      					{	countedLinesSub = countedLinesSub + 1;	}
      					else if (trains.Product.catOutL == "Niederflurbus" || trains.Product.catOutL == "Bus")
      					{	countedLinesBus = countedLinesBus + 1;	}
      					else if (trains.Product.catOutL == "RB" || trains.Product.catOutL == "RE" || trains.Product.catOutL == "IC" || trains.Product.catOutL == "ICE" || trains.Product.catOutL == "R-Bahn" || trains.Product.catOutL == "EC")
      					{	countedLinesTrain = countedLinesTrain + 1;	}
      					else 
      					{	countedLines = countedLines + 1; }
      				}
      

      you should not have to edit the code

      posted in Troubleshooting
      S
      sdetweil
    • RE: RMV module issue (no live data)

      @drfukc i looked at the source for the module u described, I see your pull request…

      		fDest: 'true',
      		fDestination1: 'Frankfurt (Main) Hauptbahnhof',
      		fDestination2: 'Frankfurt (Main) Flughafen Regionalbahnhof',
      		fDestination3: '',
      		fDestination4: '',
      		fDestination5: '',
      		lines: '', // "S1, U1,Tram 11"
      

      because they are in the defaults section of the code, all u have to do is set them in the config entry for this module in config.js
      that will override the defaults

      {
         module: "MMM-RMV",
         position: "center",
         config: {       
             		fDestination1: 'Frankfurt (Main) Hauptbahnhof',
             		fDestination2: 'Frankfurt (Main) Flughafen Regionalbahnhof',
             		fDestination3: 'something',
             		fDestination4: 'something else',
             		fDestination5: 'and even more',
          }
      }
      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-AQI

      did something else push the header off the screen…

      can u try with just the AQI module

      posted in Health
      S
      sdetweil
    • RE: config error

      @BandNerd1002 you should have received errors pointing to the line where the error was detected…

      in generall

      the config section of a module looks like this

      config: {
      string: value,
      .
      .
      .
      }

      where value can be
      true or false
      a number
      or a string in quotes… (either single or double as long as both are the same)

      notice the comma after each value

      posted in Troubleshooting
      S
      sdetweil
    • RE: Setup from scratch for beginners?

      what modules did u install? beyond the defaults?

      posted in Troubleshooting
      S
      sdetweil
    • RE: Setup from scratch for beginners?

      oh, and can u show the config entry for

      var config = {
        address: "0.0.0.0", // 
      

      spammers have ruined everything…

      there is a security check now… localhost == 0.0.0.0 when false, results in the cross-site-scripting rejection

      posted in Troubleshooting
      S
      sdetweil
    • RE: RMV module issue (no live data)

      @drfukc those variables are documented as needing entries in the config section in config.js

      Station ID and apiKey
      An apiKey has to be requested at RMV - opendata.
      The stationId can be found in file 'StationID.txt' or at RMV - opendata.
      The correct station name is in column 'E'.
      Note: The stations have to be added in german only.
      
      Config Options
      
      fDestination1	'Frankfurt (Main) Hauptbahnhof'	
      The final stop of the train line has to be added here! (station name)
      default value: 'Frankfurt (Main) Hauptbahnhof'
      fDestination2	'Frankfurt (Main) Flughafen Regionalbahnhof'	
      The final stop of the train line has to be added here! (station name)
      default value: 'Frankfurt (Main) Flughafen Regionalbahnhof'
      
      

      note that dest 3,4,5 are marked optional, where 1 and 2 are not

      maybe doc update

      posted in Troubleshooting
      S
      sdetweil
    • RE: Setup from scratch for beginners?

      @Adrian_O can u do

      in MM folder

      ls fonts -laF
      

      did u do sudo npm install?

      posted in Troubleshooting
      S
      sdetweil
    • 1
    • 2
    • 1976
    • 1977
    • 1978
    • 1979
    • 1980
    • 2080
    • 2081
    • 1978 / 2081