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.

    Help to modify existing modules

    Scheduled Pinned Locked Moved Requests
    11 Posts 3 Posters 6.5k Views 2 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.
    • G Offline
      greda
      last edited by

      Hello,

      I would like to modify the following modules: weather, news, holidays to put those of my country.
      How can I do ?
      Thank you for your help.

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @greda
        last edited by

        @greda

        Weather usually requires that you enter a location ID of some sort, so that the module knows what information to display.

        Newsfeed? Do a google search for an .rss newsfeed that interests you, local to you and/or in your native language. You’ll need the url to that newsfeed to add to the module.

        MMM-Holiday2? Change the country code in the config.

        The README file included with each module has directions for use

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer
          last edited by

          Holiday module that should work for your country…

          https://github.com/cowboysdude/MMM-Holiday2

          1 Reply Last reply Reply Quote 1
          • G Offline
            greda
            last edited by

            Thanks you so much everybody

            1 Reply Last reply Reply Quote 1
            • G Offline
              greda
              last edited by

              Hello,
              I am a beginner in this field. I’m stuck for the following things:
              1- Modify the rss stream while I modify it in the configuration file newsfeed.js with a new url: http://www.lemonde.fr/rss/une.xml
              2- I will also activate the color weather on the MagicMirror by setting my country of origin.
              For the moment, I managed to edit compliments
              Thank you very much for your help.

              1 Reply Last reply Reply Quote 0
              • G Offline
                greda
                last edited by

                Sorry,

                I found or had to modify the parameters for the rss feed (MagicMirror/config/config.js).

                Now I try to display the color weather of my country.

                Mykle1M 1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @greda
                  last edited by

                  @greda said in Help to modify existing modules:

                  Now I try to display the color weather of my country.

                  What weather module are you using?

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    greda
                    last edited by yawns

                    Hi,
                    I use module currentweather and weatherforecast.
                    Here’s my configuration :

                    			module: "currentweather",
                    			position: "top_right",
                    			config: {
                    				location: "Saint Nicolas d'Aliermont",
                    				locationID: "https://openweathermap.org/city/2977892",  //ID from http://www.openweathermap.org/help/city_list.txt
                    				appid: "MyAPI"
                    			}
                    		},
                    		{
                    			module: "weatherforecast",
                    			position: "top_right",
                    			header: "Weather Forecast",
                    			config: {
                    				location: "Saint Nicolas d'Aliermont",
                    				locationID: "https://openweathermap.org/city/2977892",  //ID from http://www.openweathermap.org/help/city_list.txt
                    				appid: "MyAPI"
                    

                    No information is displayed on screen.
                    0_1502353663403_MagicMirror.JPG
                    Thank you for you help

                    Mykle1M 1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @greda
                      last edited by

                      @greda said in Help to modify existing modules:

                      locationID: “https://openweathermap.org/city/2977892”,

                      Change your locationID in both modules to this:

                      locationID: "2977892",

                      And, of course, enter your apiKey in both

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        greda
                        last edited by

                        Super thank you so much.
                        I ve got weather on my magic mirror :-)

                        Mykle1M 1 Reply Last reply Reply Quote 2
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          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