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

linuxha

@linuxha

0
Reputation
1
Profile views
12
Posts
0
Followers
0
Following
Joined Mar 29, 2021, 6:08 AM
Last Online May 4, 2021, 3:52 AM

linuxha Unfollow Follow

Latest posts made by linuxha

  • RE: default Weather, current with wethergov issues

    Ah feels like also needs to consider “windChill” & “heatIndex”. I’m betting they’re mutually exclusive.

    posted in Bug Hunt
    L
    linuxha
    Apr 16, 2021, 11:56 AM
  • RE: default Weather, current with wethergov issues

    @sdetweil , thanks, I did find those but I’m also trying to figure out a way so when I change the code it doesn’t break the existing. I’m just giving it thought now.

    To convert kph to mph: *0.621371. I 'm used to MPH and m/s or kph wouldn’t register with me. I can handle temperatures and distance in metric but not wind speeds.

    posted in Bug Hunt
    L
    linuxha
    Apr 15, 2021, 2:55 PM
  • RE: default Weather, current with wethergov issues

    Okay, I see the issue with windSpeed. The URL returns windSpeed in km_h-1 (k/h), the convertSpeed(metSec) function appears to be m/s. I’m not sure how to fix this for general use. I’ll try to fix it for my use first.

    posted in Bug Hunt
    L
    linuxha
    Apr 15, 2021, 2:07 PM
  • RE: default Weather, current with wethergov issues

    I figured out the Feels like being 32F, it’s getting a null in the heat index from weather.gov. I’ve added code to check for null and use the currentWeather.temperature instead. I’ll send diffs later (where do I send them?) when I’ve finished with the windSpeed.

    		if(currentWeatherData.heatIndex.value) {
    			currentWeather.feelsLikeTemp = this.convertTemp(currentWeatherData.heatIndex.value);
    		} else {
    			// If null, set it to the current temperature
    			currentWeather.feelsLikeTemp = currentWeather.temperature;
    		}
    
    

    Sorry it took so long for me to figure out this env. I’m using the browser to debug now. I’ve not done this much. :-)

    posted in Bug Hunt
    L
    linuxha
    Apr 15, 2021, 12:00 PM
  • RE: default Weather, current with wethergov issues

    @scumbelly , huge thanks for the help. What URL did you use to get the XML? For weather.gov, I’ve been seeing JSON.

    I think I’ll toss in a few log statements and see what weather.gov code is using.

    posted in Bug Hunt
    L
    linuxha
    Apr 14, 2021, 6:02 PM
  • RE: default Weather, current with wethergov issues

    @scumbelly , the new weather module, the old is call currentweather and weatherforecast. Those are commented out in my config.

    posted in Bug Hunt
    L
    linuxha
    Apr 14, 2021, 1:13 PM
  • RE: default Weather, current with wethergov issues

    @scumbelly

    Here’s the weather config section:

    	units:      "imperial", // global
    ...
    		{
    			module: "weather",
    			//position: "top_right",
    			position: "bottom_left",
    			config: {
    				type: "current",
    				weatherProvider: "weathergov", //Default value: openweathermap
    				//windUnits: "imperial", // this is messed up in the code
    				tempUnits: "imperial",
    				useBeaufort: false,
    				fade: false,
    				// See 'Configuration options' for more information.
    				//apiBase: "https://api.weather.gov/points/",
    				//weatherEndpoint: "/forecast/hourly", // for current
    				lat:        40.25571,
    				lon:        -74.39416,
    			}
    		},
    

    I basically get this:
    chopped screen shot

    posted in Bug Hunt
    L
    linuxha
    Apr 14, 2021, 4:36 AM
  • default Weather, current with wethergov issues

    I’m playing around with Weather/Current/weathergov setting for the US and I see a lot of issue. First the Windspeed is 33 NNW (it’s 7 NNW) and the temperature 54F ‘feels like’ 32F.

    When I visit the weathergov API URL for lon/lat I see “5 to 10 mph” instead of a windspeed. My guess is that this may be part of the issue. I’m not really sure how to debug this as some of the javascript looks very different than what I’m used to.

    Any pointers on how I can help, please let me know.

    posted in Bug Hunt
    L
    linuxha
    Apr 13, 2021, 5:14 PM
  • RE: MagicMirror² v2.15.0 is available don't work.

    @sdetweil thanks, I made the changes but the results are the same. I think there’s something else wrong with the weather.gov part of the module.

    posted in Troubleshooting
    L
    linuxha
    Apr 2, 2021, 10:32 PM
  • RE: MMM-CalendarExt2: Black Screen

    @jack819 , I may have given you bad advice. It shouldn’t cause any issues. Sorry about that.

    So starting over, Did you do all of this (and have no errors)?

    cd ~/MagicMirror/modules
    git clone --depth=1 https://github.com/eouia/MMM-CalendarExt2
    cd MMM-CalendarExt2
    npm install
    
    posted in Troubleshooting
    L
    linuxha
    Apr 2, 2021, 9:58 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy