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.6m 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.
    • M Offline
      Manu85 @sdetweil
      last edited by

      @sdetweil sorry for not responding to you more quickly, but I had an appointment with the doctor, is it the weather module that doesn’t have the right version? you ask me to use your script but I don’t know what it is, sorry for my ignorance

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Manu85
        last edited by

        @Manu85 no problem… I don’t expect any timeline in responses… life goes on

        i provide scripts to handle the install and upgrade of the MM base
        https://github.com/sdetweil/MagicMirror_scripts
        (these are listed in the MM install doc, alternative approaches)

        upgrade is a 2 part process, cause I don’t want to destroy you MagicMirror installation

        so the first pass is a test… no changes are made… it will tell you anything about the install that might be of concern… (people change files, and do things I don’t know, so check and report… )

        then you run again, with a parameter to DO the upgrade…

        both are logged, so we can tell what happened.

        and I also provide scripts to take and restore backups of the MM installation
        which can also be versioned(with git) and saved/restored from github
        https://github.com/sdetweil/MagicMirror-backup-restore

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Manu85
          last edited by sdetweil

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

          s it the weather module that doesn’t have the right version?

          modules can check the version of MM and fail if its not at least this minimum
          https://docs.magicmirror.builders/development/core-module-file.html#available-module-instance-properties

          (from another module on my system currently)

          requiresVersion: "2.1.0", 
          

          so this one should have had

          requiresVersion: "2.26.0", 
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            Manu85 @sdetweil
            last edited by

            @sdetweil ok, I’ll try to see with the link you sent me “https://github.com/sdetweil/MagicMirror_scripts” I hope I won’t break everything

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Manu85
              last edited by

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

              I hope I won’t break everything

              thats why the test mode

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                Manu85 @sdetweil
                last edited by

                @sdetweil ok, I’ll see if I can do it…

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Manu85
                  last edited by

                  @Manu85 and its not fatal… there is some command work to go back to a prior release in place, but possible…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    Manu85 @sdetweil
                    last edited by

                    @sdetweil ok so I’m going to pass the command line:

                    bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Manu85
                      last edited by sdetweil

                      @Manu85 that is install from nothing , not upgrade to newer release

                      please translate the page if english is not your primary language

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        Manu85 @sdetweil
                        last edited by

                        @sdetweil fortunately I haven’t taken it yet, I’m starting well…and yes I will translate, thank you

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @Manu85
                          last edited by

                          @Manu85 it’s ok, install again will not do it… checks and exits

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          M 2 Replies Last reply Reply Quote 0
                          • M Offline
                            Manu85 @sdetweil
                            last edited by sdetweil

                            @sdetweil ok, so I pass this line in putty

                            upgrade-script.sh
                            

                            if so do I have to be in the MM folder or at the base of the pi?

                            S 1 Reply Last reply Reply Quote 0
                            • M Offline
                              Manu85 @sdetweil
                              last edited by

                              @sdetweil if so do I have to be in the MM folder or at the base of the pi?

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @Manu85
                                last edited by

                                it has to be the entire line. just push the copy icon that appears when your mouse is over the line in the GitHub content

                                the script figures it all out

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Manu85 @sdetweil
                                  last edited by

                                  @sdetweil This is the command:

                                  bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @Manu85
                                    last edited by

                                    @Manu85 yes, that is the 1st test, test run

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    M 2 Replies Last reply Reply Quote 0
                                    • M Offline
                                      Manu85 @sdetweil
                                      last edited by

                                      @sdetweil ok I do it

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        Manu85 @sdetweil
                                        last edited by

                                        @sdetweil I say yes or no?

                                        7f4e073c-d666-4160-97b0-bcf8d1357cdd-image.png

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @Manu85
                                          last edited by sdetweil

                                          @Manu85 well, you have 3 files of ours that will be changed

                                          main.css
                                          and weather.js and calendar.js

                                          those changes will be lost, unless you know what you changed and why…

                                          in general you NEVER edit any of our files…

                                          ALL config goes in config.js
                                          ALL css goes in custom.css

                                          reply no… also, I am adding a new check in test run mode…

                                          these changed files is the EXACT reason for test mode.
                                          otherwise those changes would be lost and your mirror might be broken

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          M 1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            Manu85 @sdetweil
                                            last edited by

                                            @sdetweil I may have moved something before meeting you, but in any case, I didn’t do anything that was important, now I know that I only touch config.js and css.custom!
                                            to carry out a test I pass the same line?

                                            S 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
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 11 / 16
                                            • 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