MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. jimmy_382837
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 10
    • Best 0
    • Controversial 0
    • Groups 0

    jimmy_382837

    @jimmy_382837

    0
    Reputation
    1
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jimmy_382837 Unfollow Follow

    Latest posts made by jimmy_382837

    • RE: Adjust individual table column widths?

      @MMRIZE my current config looks like this

      {
      	module: "MMM-OpenWeatherForecast",
      	position: "top_right",
      	config: {
      		apikey: "xx", 
      		latitude: 30.266666,            
      		longitude: -97.733330,         
      		requestDelay: 1500,
      		units: "imperial",
      		forecastHeaderText: "",
      		forecastLayout: "table",
      		hourlyForecastTableHeaderText: "",
      		hourlyForecastInterval: 3,
      		  extraCurrentConditions: {
      				highLowTemp: true,
      				precipitation: true,
      				sunrise: true,
      				sunset: true,
      				wind: false,
      				barometricPressure: false,
      				humidity: false,
      				dewPoint: false,
      				uvIndex: false,
      				visibility: false
      				},
      			hourlyExtras: {
      				precipitation: true,
      				wind: true,
      				barometricPressure: false,
      				humidity: true,
      				dewPoint: false,
      				uvIndex: false,
      				visibility: false
      				},
      		showDailyForecast: false,
      		}
      },	
      

      i am trying to edit the column widths on the hourly forecast table. i have tried all of the below in the custom.css, but none seem to work.

      .MMM-OpenWeatherForecast .forecast-container.hourly {
        table-layout: fixed;
      }
      
      
      
      .MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item {
          table-layout: fixed;
      }
      
      
      .MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item .forecast-icon-container {
          width: 30px;
      }
      

      ideally, i’d like to set a specific width for each column. e.g., the time is 30 px, conditions are 35 px, temperature is 45 px, and so on.

      posted in Custom CSS
      J
      jimmy_382837
    • Adjust individual table column widths?

      is there a way to adjust the individual column widths on a table in custom.css?

      i am using the MMM-openweathermapforecast, which is fantastic module.

      the hourly forecast is in a little table as pasted below, and i’m trying to adjust the individual column widths so that there’s no linebreak when the text exceeds the width.

      i tried table-layout: auto and table-layout: fixed with a width %, but both seem to either do nothing, or adjust all column widths to the same thing. is there a way to say col 1 should be X%, col 2 should be y%, and so on?

      a0a57187-0945-483a-ab6b-6d8c9c2bad27-image.png

      posted in Custom CSS
      J
      jimmy_382837
    • RE: Hourly weather showing up as undefined location

      @sdetweil ah yes, i had to subscribe to the one call 3.0 api and then wait about a half an hour for my api to update. now it works - thanks for helping me troubleshoot!

      posted in Troubleshooting
      J
      jimmy_382837
    • RE: Hourly weather showing up as undefined location

      @sdetweil hmm, extending the lat / lon to 6 decimals doesn’t seem to help either.

      if i go to the api url directly with the 6 decimal lat / lon and my api key, it does return something, so i know the inputs are working.

      https://api.openweathermap.org/data/2.5/forecast?lat=30.266666&lon=-97.733330&appid=xxxxxx

      however, it still is showing up as undefined on the mirror output itself.

      it seems to be something with the onecall endpoint. if i comment out the endpoint and switch the “type” from hourly to forecast, it works again. but when i switch back to hourly and uncomment the endpoint, it says undefined again.

      i signed up for an openweather subscription too, as it looked like the one call 3.0 api is only available to subscribers, but that didn’t seem to help either.

      any other thoughts or ideas? sorry again for the basic questions and thank you for trying to help me troubleshoot this.

      posted in Troubleshooting
      J
      jimmy_382837
    • RE: Hourly weather showing up as undefined location

      @sdetweil thanks - and sorry this is a pain and probably stupid user error on my part, but even when i put in a locationID, it still gives me the undefined error.

      
      {
      			module: "weather",
      			position: "top_right",
      			header: "Hourly Weather Forecast",
      			config: {
      				weatherProvider: "openweathermap",
      				weatherEndpoint: "/onecall",
      				type: "hourly",
      				lat: 30.267,
      				lon: -97.743,
      				locationID: 4671654,
      				apiKey: "xxxxxxx",
      				initialLoadDelay: 5000,
      				maxEntries: 12,
      				roundTemp: true,
      				fade: false
      			}
      		},
      
      
      posted in Troubleshooting
      J
      jimmy_382837
    • RE: Hourly weather showing up as undefined location

      @rejas this is my exact config with the lat / lon below, minus the api key. i pulled the lat / lon off of openweathermap.org’s search for austin, us.

      i didn’t include the locationID, given i thought the module ignored it when on hourly mode.

      {
      	module: "weather",
      	position: "top_right",
      	header: "Hourly Weather Forecast",
      	config: {
      		weatherProvider: "openweathermap",
      		weatherEndpoint: "/onecall",
      		type: "hourly",
      		lat: 30.267,
      		lon: -97.743,
      		apiKey: "xxxxxxxxxx",
      		initialLoadDelay: 5000,
      		maxEntries: 12,
      		roundTemp: true,
      		fade: false
      	}
      },
      
      posted in Troubleshooting
      J
      jimmy_382837
    • RE: Hourly weather showing up as undefined location

      @sdetweil thank you for the reply - however, when i try to take the quotes out, i still get the undefined issue. any other things i should try?

      6f349ae6-f9e8-42b4-99bd-640f094293af-image.png

      
      {
      	module: "weather",
      	position: "top_right",
      	header: "Hourly Weather Forecast",
      	config: {
      		weatherProvider: "openweathermap",
      		weatherEndpoint: "/onecall",
      		type: "hourly",
      		lat: XX.XXX,
      		lon: -XX.XXX,
      		apiKey: "XXX",
      		initialLoadDelay: 5000,
      		maxEntries: 12,
      		roundTemp: true,
      		fade: false
      	}
      },
      
      
      posted in Troubleshooting
      J
      jimmy_382837
    • Hourly weather showing up as undefined location

      I am trying to get both the daily and the hourly forecast to show up via the default weather module. The daily works fine, but the hourly shows up as undefined. Any thoughts? Screen shots and config pasted below.

      I tried the lat / lon with and without quotes and with single quotes, and I get the same undefined result each time.

      I am using the same API key for both, if that makes a difference.

      36e98e01-95a8-4c87-b9bb-625b6992130e-image.png

      
      {
      	module: "weather",
      	position: "top_right",
      	header: "Daily Weather Forecast",
      	config: {
      		weatherProvider: "openweathermap",
      		type: "forecast",
      		location: "XXX",
      		locationID: "XXX", 
      		apiKey: "XXX",
      		roundTemp: true,
      		maxNumberOfDays: 8,
      		appendLocationNameToHeader: false,
      		fade: false
      	}
      },
      
      {
      	module: "weather",
      	position: "top_right",
      	header: "Hourly Weather Forecast",
      	config: {
      		weatherProvider: "openweathermap",
      		weatherEndpoint: "/onecall",
      		type: "hourly",
      		lat: "XX.XXXX",
      		lon: "-XX.XXXX",
      		apiKey: "XXX",
      		initialLoadDelay: 5000,
      		maxEntries: 12,
      		roundTemp: true,
      		fade: false
      	}
      },
      
      
      posted in Troubleshooting
      J
      jimmy_382837
    • RE: Google calendar loading, but not updating

      @sdetweil thanks - that seemed to have worked and makes sense!

      posted in Troubleshooting
      J
      jimmy_382837
    • Google calendar loading, but not updating

      I spent the last couple weeks setting up my MM and everything is going well, but I noticed recently that my google calendar has stopped updating.

      When I restart MM or change the config.js file, it seems to fetch the calendar and everything loads properly. But as I make changes on the google calendar itself, the changes never seem to get pushed to the MM.

      Again, if I restart the MM or change the config.js, it seems to force a manual refresh of the calendar and everything looks up to date. But, when I leave it run, an automatic refresh never seems to happen.

      The section of my config.js is below. I made the fetch interval 30 seconds for testing purposes, but usually have it at the default of 5 min.

      Any thoughts?

      		{
      			module: "calendar",
      			position: "top_left",
      			config: {
      				calendars: [
      
      					{
      						symbol: "calendar-check",
      						fetchInterval: 30000,
      						url: "https://calendar.google.com/calendar/ical/<xxxxxx>/basic.ics",
      						name: "joint_calendar"
      					},
      					
      				{
      						symbol: "calendar-check",
      						fetchInterval: 30000,
      						url: "https://calendar.google.com/calendar/ical/<xxxxxx>/basic.ics",
      						name: "jimmy_calendar"
      					},
      	
      					
      				]
      			}
      		},
      
      
      posted in Troubleshooting
      J
      jimmy_382837