• 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.

Help to modify existing modules

Scheduled Pinned Locked Moved Requests
11 Posts 3 Posters 6.3k 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 Aug 4, 2017, 8:38 AM

    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.

    M 1 Reply Last reply Aug 4, 2017, 11:35 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @greda
      last edited by Aug 4, 2017, 11:35 AM

      @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
      • C Offline
        cowboysdude Module Developer
        last edited by Aug 4, 2017, 11:46 AM

        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 Aug 4, 2017, 12:52 PM

          Thanks you so much everybody

          1 Reply Last reply Reply Quote 1
          • G Offline
            greda
            last edited by Aug 9, 2017, 7:13 AM

            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 Aug 9, 2017, 11:51 AM

              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.

              M 1 Reply Last reply Aug 9, 2017, 8:59 PM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @greda
                last edited by Aug 9, 2017, 8:59 PM

                @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 Aug 10, 2017, 2:47 PM Aug 10, 2017, 8:27 AM

                  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

                  M 1 Reply Last reply Aug 10, 2017, 11:21 AM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @greda
                    last edited by Aug 10, 2017, 11:21 AM

                    @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 Aug 10, 2017, 12:42 PM

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

                      M 1 Reply Last reply Aug 10, 2017, 10:44 PM Reply Quote 2
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        4/11
                        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