• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Changing icons of the modules Current Weather and Weather Forecast

Scheduled Pinned Locked Moved Development
301 Posts 30 Posters 1.0m Views 33 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil @Manu85
    last edited by sdetweil Jan 20, 2024, 2:43 PM Jan 20, 2024, 2:42 PM

    @Manu85 here is the module config I used
    I took the size from the original web page

    {
    		module: 'MMM-SmartWebDisplay',
    		position: 'middle_center',	// This can be any of the regions.
    		config: {
    			// See 'Configuration options' for more information.
    			logDebug: false, //set to true to get detailed debug logs. To see them : "Ctrl+Shift+i"
    			height:"350px", //hauteur du cadre en pixel ou %
    			width:"650px", //largeur
                   		updateInterval: 0, //in min. Set it to 0 for no refresh (for videos)
                    	NextURLInterval: 0.5, //in min, set it to 0 not to have automatic URL change. If only 1 URL given, it will be updated
                    	displayLastUpdate: true, //to display the last update of the URL
    					displayLastUpdateFormat: 'ddd - HH:mm:ss', //format of the date and time to display
                    	url: ["https://isstracker.spaceflight.esa.int/"], //source of the URL to be displayed
    					scrolling: "no", // allow scrolling or not. html 4 only
    					shutoffDelay: 10000 //delay in miliseconds to video shut-off while using together with MMM-PIR-Sensor
    			}
    	},
    

    I didn’t change anything other than size and url
    there could be other settings needed…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 3 Replies Last reply Jan 20, 2024, 3:10 PM Reply Quote 0
    • M Offline
      Manu85 @sdetweil
      last edited by Jan 20, 2024, 3:10 PM

      @sdetweil I did like you I see the image clearly on the MM, but it disappears every 3 seconds then recharges continuously, the green LED of the raspberry is lit very often, as if the module required a lot of resources from the pi

      1 Reply Last reply Reply Quote 0
      • M Offline
        Manu85 @sdetweil
        last edited by Jan 20, 2024, 3:31 PM

        @sdetweil I found, you have to set this setting to “0”, otherwise it reloads every 30 seconds

        NextURLInterval: 0,
        
        1 Reply Last reply Reply Quote 1
        • M Offline
          Manu85 @sdetweil
          last edited by Jan 23, 2024, 5:15 PM

          @sdetweil Hello Sam, I still need your help, I saw KristjanESPERANTO’s module: MMM-OneCallWeather which I really like, so I installed this module I copied his example from js.config which I have completed with my elements longitude, latitude apy key, I tested my api key on the internet in version 2.5 and it works, so I changed the version in MMM-OneCallWeather.js, as Kristjan explains in the github, and when I restart the MM it notifies loading and nothing happens, I tried to understand, but I’m stuck, so I call a specialist :-)

          S 1 Reply Last reply Jan 23, 2024, 5:19 PM Reply Quote 0
          • S Offline
            sdetweil @Manu85
            last edited by Jan 23, 2024, 5:19 PM

            @Manu85 said in Changing icons of the modules Current Weather and Weather Forecast:

            -OneCall

            OneCall requires the v3 key and api as I understand it…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M M 3 Replies Last reply Jan 23, 2024, 5:23 PM Reply Quote 0
            • M Offline
              Manu85 @sdetweil
              last edited by Jan 23, 2024, 5:23 PM

              @sdetweil In detail he says this:
              (apiVersion The OpenWeatherMap API version to use. Change it to “2.5” if you have an old apikey

              Default value: 3.0)
              I understood that if we had an old version then we had to change this parameter but I may have misinterpreted

              1 Reply Last reply Reply Quote 0
              • M Offline
                Manu85 @sdetweil
                last edited by Jan 23, 2024, 5:28 PM

                @sdetweil when I connect to an internet page it gives me this, so I think it’s active, I entered lat, long and api key

                7754e207-c876-4ca7-bb47-bc9614fca53a-image.png

                S 1 Reply Last reply Jan 23, 2024, 5:36 PM Reply Quote 0
                • S Offline
                  sdetweil @Manu85
                  last edited by Jan 23, 2024, 5:36 PM

                  @Manu85 as far as I can tell, the one call API with keys since mid 2023 is only available via the v3.0 apikey setting

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 2 Replies Last reply Jan 23, 2024, 5:49 PM Reply Quote 0
                  • M Offline
                    Manu85 @sdetweil
                    last edited by Jan 23, 2024, 5:49 PM

                    @sdetweil So it pays?

                    S 1 Reply Last reply Jan 23, 2024, 6:17 PM Reply Quote 0
                    • M Offline
                      Manu85 @sdetweil
                      last edited by Jan 23, 2024, 6:11 PM

                      @sdetweil on my weather module I have an api key 2.5, I don’t know if that’s it but I have the impression that the weather data is wrong. Do you know of a weather module for the MM with current and forecast that would be graphically nice and free? because if to have version 3.0 you have to pay that doesn’t interest me, thank you for your help

                      S 1 Reply Last reply Jan 23, 2024, 6:13 PM Reply Quote 0
                      • 1
                      • 2
                      • 12
                      • 13
                      • 14
                      • 15
                      • 16
                      • 30
                      • 31
                      • 14 / 31
                      14 / 31
                      • First post
                        140/301
                        Last post
                      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