MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Weather module



  • Hi,
    since update V2.13.0, all work fine but module weather has a problem.

    	{
    		module: "weather",
    		position: "top_left",
    		config: {
    			location: "myloc",
    			locationID: "myid", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    			apiKey: "myapikay",
    			useBeaufort: "false",
    			showFeelsLike: "false",
    			showWindDirection: "false",
    			showSun: "false"
    		}
    	},
    

    because this options are displayed on my mm.
    useBeaufort: “false”,
    showFeelsLike: “false”,
    showWindDirection: “false”,
    showSun: "false"

    Someone has the same problem ?
    thx



  • @boyboy oh, true/false do not have quotes



  • these options are displayed on the mirror while they are checked “false”

    useBeaufort: “false”,
    showFeelsLike: “false”,
    showWindDirection: “false”,
    showSun: “false”



  • @boyboy general rules

    the thing on the left of : does not need quotes

    if the thing to the right of : is a number or true/false, also does not need quotes

    if the thing to the right of : has letters in it, then it needs quotes, either kind are ok, but must be the same

    therefore

    useBeaufort: false,
    showFeelsLike: false,
    showWindDirection: false,
    showSun: false
    


  • ok thanks for the information.
    That’s ok
    I learned something today


Log in to reply