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

    Posts

    Recent Best Controversial
    • RE: Header missing for Current weather (MMM_OpenMapWeather)

      Here’s my currentweather example …

      {
      module: “currentweather”,
      position: “top_right”,
      header: “blah blah City”,
      config: {
      location: “City”,
      // locationID: “XXXXXX”, //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
      appid: “wholelottanumbers”,
      appendLocationNameToHeader: false,
      degreeLabel: true,
      useBeaufort: false,
      useKMPHwind: true,
      showHumidity: true
      }
      },

      posted in Troubleshooting
      S
      scumbelly
    • RE: Header missing for Current weather (MMM_OpenMapWeather)

      @Nneuland ,

      Hi. Just a little confused as to which module but if you’re asking about OpenMapWeather by default in the .js file appendLocationNameToHeader: true, so in the config/config.js you can look at adding the location or locationID options.

      The location used for weather information.

      Example: ‘Phoenix,USA’
      Default value: false

      Note: When the location and locationID are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.

      Location ID from OpenWeatherMap This will override anything you put in location.
      Leave blank if you want to use location.
      Example: 1234567
      Default value: false

      Note: When the location and locationID are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.

      If you are asking about the currentweather module you can do the same or use the header option in the config.js file.

      I hope this is what you were looking for.

      Cheers.

      posted in Troubleshooting
      S
      scumbelly
    • RE: Weatherbit Unit

      @matthewlawson3

      Please don’t post your apikey.

      posted in Troubleshooting
      S
      scumbelly
    • RE: Weatherbit Unit

      @matthewlawson3

      From the module .js file…

      Module.register(“MMM-OpenWeatherForecast”, {

      /*
      This module uses the Nunjucks templating system introduced in
      version 2.2.0 of MagicMirror. If you’re seeing nothing on your
      display where you expect this module to appear, make sure your
      MagicMirror version is at least 2.2.0.
      */
      requiresVersion: “2.2.0”,

      defaults: {
      apikey: “”,
      latitude: “”,
      longitude: “”,

      …and add lat and long into the config.js (sorry for wrong extension in earlier post).

      Example,

      {
      			module: "MMM-OpenWeatherMapForecast",
      			disabled: false,
      			header: "",
      			position: "top_right",
      			config: {
      			apikey: "wholelottanumbers",
      			latitude: "4X.XXXXXX",
      			longitude: "-7X.XXXXXX",
      			iconset: "4c",
      			concise: false,
      			forecastLayout: "table",
      			showCurrentConditions: false,
      			showExtraCurrentConditions: false,
      			showSummary: false,
      			showForecastTableColumnHeaderIcons: false
      			}
      		},
      

      Cheers

      posted in Troubleshooting
      S
      scumbelly
    • RE: Weatherbit Unit

      @matthewlawson3

      All I did was go to Google maps, found my “village” coordinates and plugged them into lat and long in the config.sys and “Bob’s your uncle”.

      posted in Troubleshooting
      S
      scumbelly
    • RE: MMM-BM-OW when 'no rain' for forecast undefined message received.

      @cowboysdude
      @Mykle1

      I’m going to move onto another module for now. I’ll revisit this in the future when I am more experienced. Right now I’m just self immolating.

      Thanks for your time and effort.

      posted in Troubleshooting
      S
      scumbelly
    • RE: MMM-BM-OW when 'no rain' for forecast undefined message received.

      @cowboysdude

      I don’t know if I’m headed in the right way but I’ve tried to make showRain a config option - true/false.

      Right now it kinda loads - at least I get Openweather data… on the screen instead of a blank “dead zone”.

      Gotta play more… Gotta learn more.

      Cheers

      posted in Troubleshooting
      S
      scumbelly
    • RE: MMM-BM-OW when 'no rain' for forecast undefined message received.

      @cowboysdude

      Exceptional. That’s it! What’s the solution? I started to go down an isNAN() rabbit hole but as yet haven’t been successful.

      Great job.

      posted in Troubleshooting
      S
      scumbelly
    • RE: MMM-BM-OW when 'no rain' for forecast undefined message received.

      Hi,

      I changed the string a bit. I added Math.round to forecast.daily[X].rain + “/mm Rain”

      Math.round (forecast.daily[X].rain) + “/mm Rain”

      and instead of undefind/mm Rain I now receive NaN/mm Rain.

      Cool.

      posted in Troubleshooting
      S
      scumbelly
    • RE: MMM-BM-OW when 'no rain' for forecast undefined message received.

      That check mark is supposed to be X for 0 to 6.

      posted in Troubleshooting
      S
      scumbelly
    • 1 / 1