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 7.0k 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 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
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @greda
                  last edited by

                  @greda

                  Excellent! :^)

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • 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