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: FYI new weather_plus onecall module

      @hango

      O.K. The time is displayed just no icon.

      Thanks for the information.

      Regards.

      posted in Troubleshooting
      S
      scumbelly
    • RE: FYI new weather_plus onecall module

      @hango

      Hi,

      The latest https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/fontawesome.min.css did not throw a 404 error

      https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.12/css/weather-icons.min.css returns a 404 error. For fun I tried 2.0.11 to no avail. However 2.0.10 still works.

      Another odd thing is that with showSun: true and onlyTemp: false there is no sunriseSunsetIcon displayed.

      Cheers.

      posted in Troubleshooting
      S
      scumbelly
    • RE: FYI new weather_plus onecall module

      @hango

      Hi.

      I deleted my existing weather_plus module and did a “git clone”.

      On the reboot the module came up “loading”.

      Developers Tool showed 2 errors and 1 warning.

      First error was “Failed to load resource the server responded with a staus of 404 font-awesome.min.css:1”
      Second error was “Error on loading stylesheet: modules/weather_plus/weather_plus.css loader.js:215”

      The warning was the Electron security message.

      I removed the 404 error "import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/font-awesome.min.css");" from the .css file.

      On reboot the module loaded.

      I tried to visit “https://cdnjs.cloudflare.com/ajax” to update the link but a “resources not found” message was returned.

      Only “https://cdnjs.cloudflare.com/” exists.

      Cheers.

      posted in Troubleshooting
      S
      scumbelly
    • FYI new weather_plus onecall module

      Hi,

      I downloading the new weather_plus onecall module to test it out.

      Once configured, etc. I rebooted and the screen area where I assigned it was blank.

      No loading error, nothing.

      I toggled the developers tool and saw 1 error (1 warning re: Electron security). Console showed an error for "Uncaught SyntaxError: Unexpected token ‘:’ module.js:43.

      I opened up the .js file and noticed that defaults had 2 showHumidity listed, one false and one true. I edited out the false showHumidity.

      The apiBase: was set as https:://api.openweathermap.org/data/, so I edited it to “https:://api.openweathermap.org/data/”,

      Ultimately I made additional changes to the .js
      - Define required scripts. Removed “font-awesome.css” (font-awesome already loaded).
      - Define required translations. deleted en&ro.json and made return false (en.json error).

      The weather_plus.css contains 2 addresses. I deleted these as 5.14.0 is a 404 error.

      @import url(“https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/font-awesome.min.css”);
      @import url(“https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.10/css/weather-icons.min.css”);

      I think that’s everything I did.

      My config is -

      {
      module: “weather_plus”,
      position: “top_right”,
      config: {
      lat: “xx.xxxxxx”,
      lon: “-xx.xxxxxx”,
      showWindDirectionAsArrow: false,
      appid: “bunchofnumbers”,
      }
      },

      I’m not sure if I had to do all the changes but it’s loading.

      Nice module Hangorazvan.

      Cheers

      posted in Troubleshooting
      S
      scumbelly
    • RE: Help!!

      @gnomemcgmome

      Hi. Take a look at this to see if it will help with your loading issue.

      https://forum.magicmirror.builders/topic/14919/weather-module-location-id

      Cheers.

      posted in Troubleshooting
      S
      scumbelly
    • RE: default Weather, current with wethergov issues

      @linuxha

      https://w1.weather.gov/xml/current_obs/KBLM.xml

      posted in Bug Hunt
      S
      scumbelly
    • RE: default Weather, current with wethergov issues

      @linxha

      I captured an xml string from your location…

      e28cb8d0-fd62-4197-b794-3ede660df47f-image.png

      <current_observation version=“1.0”
      xmlns:xsd=“http://www.w3.org/2001/XMLSchema”
      xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
      xsi:noNamespaceSchemaLocation=“http://www.weather.gov/view/current_observation.xsd”>
      NOAA’s National Weather Service
      <credit_URL>http://weather.gov/</credit_URL>

      http://weather.gov/images/xml_logo.gif

      NOAA's National Weather Service http://weather.gov 15 minutes after the hour 60 Belmar-Farmingdale, NJ KBLM 40.18333 -74.13333 Last Updated on Apr 14 2021, 12:56 pm EDT Wed, 14 Apr 2021 12:56:00 -0400 A Few Clouds 70.0 F (21.1 C) 70.0 21.1 39 from the West at 9.2 gusting to 17.3 MPH (8 gusting to 15 KT) West 270 9.2 17.3 8 15 1016.4 mb 1016.4 30.02 44.1 F (6.7 C) 44.1 6.7 10.00 http://forecast.weather.gov/images/wtf/small/ http://www.weather.gov/data/obhistory/KBLM.html few.png http://www.weather.gov/data/METAR/KBLM.1.txt http://weather.gov/disclaimer.html http://weather.gov/disclaimer.html http://weather.gov/notice.html

      … but I saw no ‘wind chill’ or ‘feels like’ information at the time I grabbed the file.

      I’ve gone about as far as I can. Hopefully someone can add more to this for you.

      Cheers.

      posted in Bug Hunt
      S
      scumbelly
    • RE: default Weather, current with wethergov issues

      @linuxha

      With following set you should get correct weather… except wind chill.

      language: “en”,
      locale: “en-US”,
      logLevel: [“INFO”, “LOG”, “WARN”, “ERROR”], // Add “DEBUG” for even more logging
      timeFormat: 12,
      units: “imperial”,

      		config: {
      			type: "current",
      			weatherProvider: "weathergov", //Default value: openweathermap
      			weatherEndpoint: "/forecast/hourly",
      			degreeLabel: true,
      			showFeelsLike: false,
      			lat:        40.25571,
      			lon:        -74.39416,
      

      No matter what I tried Feels Like came up as 32degrees. The web site shows “wind chill” and openweathermap shows “feels like” and the current.njk translates “FEELS” - DEGREE. I’m scratching my head for now.

      Cheers.

      posted in Bug Hunt
      S
      scumbelly
    • RE: default Weather, current with wethergov issues

      @linuxha

      That’s odd. Your wind speed looks like it could be in meters/seconds but it should be about 3.3 @ 7 miles per hour. So, are you using the current weather module or the ‘new’ weather module?

      Cheers

      posted in Bug Hunt
      S
      scumbelly
    • RE: default Weather, current with wethergov issues

      @linuxha

      71e0d7b5-b7cd-413c-ab5f-240452abc444-image.png

      This is what I am guessing is your weather.

      posted in Bug Hunt
      S
      scumbelly
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 3 / 6