MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Richard238
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    R
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 36
    • Posts 238
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-FlightsAbove - Display all flights in the sky above you

      The vertical bar is only shown on Firefox or Edge, Chrome is OK, as is Electron on the Pi itself.

      posted in Transport
      R
      Richard238
    • RE: MMM-FlightsAbove - Display all flights in the sky above you
      #flightsabove {overflow:hidden;}
      
      

      Tried, but the vertical scroll bar is still there.

      posted in Transport
      R
      Richard238
    • RE: MMM-FlightsAbove - Display all flights in the sky above you

      @broberg

      This…

      .MMM-FlightsAbove .tabulator-footer {
      	visibility: hidden;
      }
      

      …works just fine, thank you.

      .MMM-FlightsAbove {
      	width: 400px;
      	overflow: hidden;
      }
      

      Worked when I added a width figure, the horizontal scroll bar is gone.
      The vertical scroll bar however, remains.
      I tired some height: nnnpx; figures, but still the pesky vertical bar is showing.

      posted in Transport
      R
      Richard238
    • RE: MMM-FlightsAbove - Display all flights in the sky above you

      I’ve set Max Entries to 10, but I get loads of entries, why? Seems OK after a PM2 stop/start!
      How do I get rid of the scroll bars?
      How do I lose the footer/key? (I tried footerLegend: false in MMM-tabulator.js)

      My config.js:

      		{
      			module: 'MMM-FlightsAbove',
      			header: 'Flights Above',
      			position: 'top_center',
      			config: {
      				header: "Flights Above",          // The module header text, if any. Use: "" to remove.
      				compassHeading: true,             // Use a compass direction (NSWE) for the of heading indicator ("45" vs "NE")
      				updateInterval: 180,              // [s] Radar scan/ping/update period in secodns [default 3 min]
      				maxItems: 10,                     // MAX Number of planes to display [default is 10]
      				homeIata: "LGW",
      				// The geographical (map) Boundary-Box (BB), from within planes will be shown are given by:
      				// the maximim Lat/Lon edges of: [N-lat, W-lon, S-lat, E-lon] - all in decimal degrees.
      				radarBBox: [51.34985,-0.49832,50.95459,0.13182], // "DPS" (Bali Airport) [default]
      				//radarLocation: "51.10741,-0.15029",     // [Lat,Lon] - The location of radar center in decimal degrees
      				//radarRadius: 90,                // [km] - The maximum distance of planes shown.
      				//watchList: "",                  // Alert or Highlight planes/flights/types on this watch list
      			}
      		}, 
      
      

      I’m not worried about the compliments module being in the way just now.
      0_1570893119855_MMMFA1.JPG

      posted in Transport
      R
      Richard238
    • UK fuel data

      There’s an API here: https://ukvehicledata.co.uk/Fuel-Prices for UK fuel prices.
      It’d be useful to someone I’m sure, rather like MMM-Fuel

      Just a thought, if anyone were interested! :)

      posted in Requests
      R
      Richard238
    • MMM-MysqlQuery module

      I have the MMM-MysqlQuery module working OK, just a couple of queries:

      How might you change “Amt” form an integer, to a message saying “Too High” or Too low"?
      [I am actually measuring temperature and lux levels, but the principle’s the same.]

      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • CSS: Heading underline, width control.

      (As posted in the CSS area, but no replies there.)

      I’m looking at the border-bottom in the ‘Lower third’ region.
      Currently, the line below the heading, when enabled, crosses the entire display.

      The CSS attributeborder-bottom-width changes not the width, but the height of the line, not what I want.

      How then, do I get border-bottom in lower-third, to be just the width of what it’s showing, and not the entire width of the display?

      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: MMM-MysqlQuery module just released!

      @Richard238 said in MMM-MysqlQuery module just released!:

      I have this module working quite well, just a couple of queries:

      How do you get the title “______________MYSQL SPICES” line displayed?
      I am getting just the table, not the title header line.

      And how might you change “Amt” form an integer, to a message saying “Too High” or Too low"?
      [I am actually measuring temperature and lux levels, but the principle’s the same.]

      Thank you.

      How do you get the title “______________MYSQL SPICES” line displayed?
      Fixed that one in config.js with header: 'Module Title',

      Other enhancements still need attention, if anyone can help, please?

      posted in Utilities
      R
      Richard238
    • CSS: Heading underline, width control.

      I’m looking at the border-bottom in the ‘Lower third’ region.
      Currently, the line below the heading, when enabled, crosses the entire display.

      The CSS attributeborder-bottom-width changes not the width, but the height of the line, not what I want.

      How then, do I get border-bottom in lower-third, to be just the width of what it’s showing, and not the entire width of the display?

      Thank you.

      posted in Custom CSS csss
      R
      Richard238
    • RE: MMM-MysqlQuery module just released!

      I have this module working quite well, just a couple of queries:

      How do you get the title “______________MYSQL SPICES” line displayed?
      I am getting just the table, not the title header line.

      And how might you change “Amt” form an integer, to a message saying “Too High” or Too low"?
      [I am actually measuring temperature and lux levels, but the principle’s the same.]

      Thank you.

      posted in Utilities
      R
      Richard238
    • RE: MMM-MysqlQuery module just released!

      Had to add a line:

      position: 'bottom_right'
      

      Now to make the SQL work with the Mysqli db I have running on an adjacent pi.

      posted in Utilities
      R
      Richard238
    • Current Weather - Location not shown.

      My currentweather module isn’t showing its location.

      Module.register("currentweather",{
      
      	// Default module config.
      	defaults: {
      		location: false,
      		locationID: 1234567,
      		appid: "", 
      		units: config.units,
      
      		{
      			module: 'currentweather',
      			position: 'top_right',
      			config: {
      				location: 'AnyTown,GB',
      				locationID: '1234567',  //ID from http://www.openweathermap.org
      				appid: '############'
      			}
      		},
      

      How do I get the location back on the current weather, please?

      posted in Troubleshooting
      R
      Richard238
    • RE: Module Current Weather shows "Undefined"?

      Doesn’t help much, but mine is still OK.

      posted in Troubleshooting
      R
      Richard238
    • RE: Module Current Weather shows "Undefined"?

      Hi Joe,

      I just ran the updates, which cleared the “undefined” message.
      No code was changed.

      Richard.

      posted in Troubleshooting
      R
      Richard238
    • RE: Module Current Weather shows "Undefined"?

      I think this update has fixed it.

      posted in Troubleshooting
      R
      Richard238
    • Module Current Weather shows "Undefined"?

      currentweather shows “undefined”, whereas weatherforecast shows “My Town”.

      Any ideas why, please?

      		{
      			module: 'currentweather',
      			position: 'top_right',
      			config: {
      				location: 'My Town',
      				locationID: '',  //ID from http://www.openweathermap.org
      				appid: 'a################'
      			}
      		},
      
      
      		{
      			module: 'weatherforecast',
      			position: 'top_right',
      			header: 'Weather Forecast',
      			config: {
      				location: 'My Town',
      				locationID: '',  //ID from http://www.openweathermap.org
      				appid: 'a#############'
      			}
      		},
                
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Updated, but 'MMM-EventHorizon' still shows as being behind.

      @yawns That’s fixed it, thank you!

      posted in Troubleshooting
      R
      Richard238
    • RE: Updated, but 'MMM-EventHorizon' still shows as being behind.
      pi@raspberrypi:~/MagicMirror/modules/MMM-EventHorizon $ git pull && npm installUpdating 73d1110..6d5a53a
      error: Your local changes to the following files would be overwritten by merge:
      	MMM-EventHorizon.js
      Please, commit your changes or stash them before you can merge.
      Aborting
      
      

      What does that mean?
      I think I’ve made any changes to the Event Horizon module.

      posted in Troubleshooting
      R
      Richard238
    • Updated, but 'MMM-EventHorizon' still shows as being behind.

      ‘MMM-EventHorizon’ says my MM is 27 commits behind.

      I’ve updated, twice, but still the same 27 commits message remains.
      Any idea why, please?

      Thanks.

      posted in Troubleshooting
      R
      Richard238
    • 1 / 1