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.

    Just installed magic mirror, now how do I change some things?

    Scheduled Pinned Locked Moved Troubleshooting
    28 Posts 12 Posters 47.1k Views 11 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.
    • C Offline
      C13INTZ
      last edited by

      Hello, I just finished the installation of my magic mirror using this guide: https://forum.magicmirror.builders/topic/236/complete-setup-tutorial, but I want to change a few things. I’m extremely new to raspberry pi and I’m having trouble finding what I need. I was wondering:

      1. How do I set up the weather module with my location?
      2. How do I adjust the clock from a 24 to 12 hour format?
      3. I want to get rid of the news feed and move the compliment module to the bottom of the screen. I assume to get rid of the news feed I just delete it, but how do I move down the compliment module?
        either links to tutorials on how to do this or full explanations would work great, thanks.
      KirAsh4K 1 Reply Last reply Reply Quote -1
      • andrewchumchalA Offline
        andrewchumchal
        last edited by

        @C13INTZ To answer all of your question. It is all in the config.js file. You can remove the news feed section and change the location of the compliment module also in the config file. The weather is also right in that file too

        1 Reply Last reply Reply Quote 0
        • KirAsh4K Offline
          KirAsh4 Moderator @C13INTZ
          last edited by

          @C13INTZ said in Just installed magic mirror, now how do I change some things?:

          Hello, I just finished the installation of my magic mirror using this guide: https://forum.magicmirror.builders/topic/236/complete-setup-tutorial, but I want to change a few things. I’m extremely new to raspberry pi and I’m having trouble finding what I need.

          Welcome to the wonderful world of the Raspberry Pi, and MagicMirror.

          I was wondering:

          1. How do I set up the weather module with my location?

          https://github.com/MichMich/MagicMirror/tree/master/modules/default/currentweather

          1. How do I adjust the clock from a 24 to 12 hour format?

          https://github.com/MichMich/MagicMirror/tree/master/modules/default/clock

          1. I want to get rid of the news feed and move the compliment module to the bottom of the screen. I assume to get rid of the news feed I just delete it, but how do I move down the compliment module?

          https://github.com/MichMich/MagicMirror/#configuration - specifically the 'position' value.

          either links to tutorials on how to do this or full explanations would work great, thanks.

          Hope those links help.

          A Life? Cool! Where can I download one of those from?

          C 1 Reply Last reply Reply Quote 3
          • C Offline
            C13INTZ @KirAsh4
            last edited by

            @KirAsh4 Thank You! It’s exactly how I want it now!

            1 Reply Last reply Reply Quote 0
            • KirAsh4K Offline
              KirAsh4 Moderator
              last edited by

              Don’t hesitate to ask more questions if you get stuck.

              A Life? Cool! Where can I download one of those from?

              1 Reply Last reply Reply Quote 0
              • C Offline
                Crookedsoul
                last edited by

                I am also very new to the raspberry pi. I see the links but i am having an issue accessing the correct folders to make the needed changes. It may be something simple but I am not seeing it at this time.

                How do you get into the modules to make changes?

                Thanks in advance.

                bheplerB lolobyteL 2 Replies Last reply Reply Quote 0
                • bheplerB Offline
                  bhepler Module Developer @Crookedsoul
                  last edited by

                  @Crookedsoul The modules that come with the Magic Mirror software can be found in ~/MagicMirror/modules/default/[name of module] (assuming you ran through the tutorial and didn’t change anything).

                  Any of the modules that you download from the community (Weatherbug, Instagram, Tides, etc.) need to be installed in their own folder in the modules folder. The positioning of any module is handled by the config.js script located at ~/MagicMirror/config/config.js. In addition to location information, you’ll also define most of the module’s configuration there as well. Think of it as configuration parameters that you’re passing into the module code, so you need to specify those parameters while you’re telling the Magic Mirror system to load up the module.

                  Pi-GiP 1 Reply Last reply Reply Quote 1
                  • Pi-GiP Offline
                    Pi-Gi @bhepler
                    last edited by

                    @bhepler hello everyone.

                    I am in the process of making a magic mirror as well. I have downloaded and installed it on my Pi 3. But I am getting a permission denied message when I try to update the current weather with an app ID.

                    I have not tried any other modules to update or change at this time.

                    Any help will be greatly appreciated.

                    Where's my wallet honey…>>>

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      frog
                      last edited by frog

                      I’m not totally sure what your issue is, but it may be permissions when editing the config.js file.

                      try:

                      sudo nano ~/MagicMirror/config/config.js
                      

                      make the change and save it with ctrl-o, ctrl–z

                      Pi-GiP V 2 Replies Last reply Reply Quote 0
                      • lolobyteL Offline
                        lolobyte @Crookedsoul
                        last edited by

                        @Crookedsoul

                        for guys without command line experience do following!

                        login to your raspi.
                        execute following command:
                        sudo apt-get install mc

                        That’s the midnight commander SW. Maybe u know the old DOS norton commander, mc is similar like notons commander.

                        U can start mc by typing mc and enter.
                        For root privileges type sudo mc.
                        Now u can brows with your keyboard or mouse between the folder, view or edit config or other files.

                        Good luck

                        Pi-GiP 1 Reply Last reply Reply Quote 0
                        • Pi-GiP Offline
                          Pi-Gi @frog
                          last edited by

                          Thank you I forgot to use Nano

                          Where's my wallet honey…>>>

                          1 Reply Last reply Reply Quote 0
                          • Pi-GiP Offline
                            Pi-Gi @lolobyte
                            last edited by

                            @lolobyte I will try this as well. Thanks guys just really new to this you’re the best.

                            Where's my wallet honey…>>>

                            1 Reply Last reply Reply Quote 0
                            • V Offline
                              VirtualLeonard @frog
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                hellboyhum
                                last edited by

                                Hello guys. I have just one question. I have installed my magic mirror, and changed everything like hours, temp. etc. But i can’t add my own news from my country…I am from Croatia. Please help me :/

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

                                  @hellboyhum

                                  You need to google search for Croatian rss news feeds. Then get the url to the rss file of the news feed. Then add it to your config like this:

                                  {
                                  			disabled: f,
                                  			module: 'newsfeed',
                                  			position: 'bottom_bar',
                                  			config: {
                                  				feeds: [
                                  					{
                                  						title: "NASA",
                                  						url: "https://www.nasa.gov/rss/dyn/solar_system.rss"
                                  					},
                                  					{
                                  						title: "Reuters Science News",
                                  						url: "http://feeds.reuters.com/reuters/scienceNews"
                                  					},
                                  					{
                                  						title: "New York Times",
                                  						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                                  					},
                                  					{
                                                      				title: "BBC World News",
                                                      				url: "http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml"
                                                  			},

                                  Create a working config
                                  How to add modules

                                  H 1 Reply Last reply Reply Quote 0
                                  • H Offline
                                    hellboyhum @Mykle1
                                    last edited by

                                    @Mykle1 First, I want to thank you for your response.! :D Second, I forgot to tell you that I have a bit different magic mirror installed than you think :) I know that I need the RSS news but they don’t work :S
                                    I will paste my magic mirror code here so you can see it :/
                                    Here we go: --> the document is “smartmirror.py” and I start magic mirror in terminal with command “python smartmirror.py”

                                    [0_1509619008226_code.pdf](Uploading 100%)

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

                                      @hellboyhum

                                      So you want me to troubleshoot an issue you’re having using a platform other than this forum’s MagicMirror software?

                                      Uhhh . . .

                                      Create a working config
                                      How to add modules

                                      H 1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        hellboyhum @Mykle1
                                        last edited by

                                        @Mykle1 I’m so sorry, i don’t know why I can’t past my code here :/
                                        class News(Frame):
                                        def init(self, parent, *args, **kwargs):
                                        Frame.init(self, parent, *args, **kwargs)
                                        self.config(bg=‘black’)
                                        self.title = ‘Novosti’ # ‘News’ is more internationally generic
                                        self.newsLbl = Label(self, text=self.title, font=(‘Helvetica’, medium_text_size), fg=“white”, bg=“black”)
                                        self.newsLbl.pack(side=TOP, anchor=W)
                                        self.headlinesContainer = Frame(self, bg=“black”)
                                        self.headlinesContainer.pack(side=TOP)
                                        self.get_headlines()

                                        def get_headlines(self):
                                            try:
                                                # remove all children
                                                for widget in self.headlinesContainer.winfo_children():
                                                    widget.destroy()
                                                if news_country_code == None:
                                                    headlines_url = "http://www.hrt.hr/?id=316&type=100&rss=vijesti"
                                                else:
                                                    headlines_url = "http://www.hrt.hr/?id=316&type=100&rss=vijesti" % news_country_code
                                        
                                                feed = feedparser.parse(headlines_url)
                                        
                                                for post in feed.entries[0:5]:
                                                    headline = NewsHeadline(self.headlinesContainer, post.title)
                                                    headline.pack(side=TOP, anchor=W)
                                            except Exception as e:
                                                traceback.print_exc()
                                                print "Error: %s. Cannot get news." % e
                                        
                                            self.after(600000, self.get_headlines)
                                        
                                        Mykle1M 1 Reply Last reply Reply Quote 0
                                        • Mykle1M Offline
                                          Mykle1 Project Sponsor Module Developer @hellboyhum
                                          last edited by

                                          @hellboyhum

                                          This forum is for MagicMirror users.

                                          You’re using smartmirror software.

                                          Create a working config
                                          How to add modules

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

                                            Looks like Evan Cohen’s magic mirror… that’s a different forum my friend…

                                            H 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 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