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.

    No numbers in analog watch face

    Scheduled Pinned Locked Moved Troubleshooting
    33 Posts 11 Posters 12.7k Views 9 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.
    • MichMichM Offline
      MichMich
      last edited by

      I just merged a fix into the develop branch. That should fix it.

      git checkout develop && git pull
      
      1 Reply Last reply Reply Quote 0
      • N Offline
        nagaculun
        last edited by

        @MichMich said in No numbers in analog watch face:

        git checkout develop && git pull

        I got error

        pi@MM:~/MagicMirror $ git checkout develop
        error: pathspec 'develop' did not match any file(s) known to git
        pi@MM:~/MagicMirror $
        pi@MM:~/MagicMirror $ git pull
        Already up to date.
        pi@MM:~/MagicMirror $ git status
        On branch master
        Your branch is up to date with 'origin/master'.
        
        Untracked files:
        ... ...
        

        What should I do next ?

        Thanks

        S lavolp3L 2 Replies Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @nagaculun
          last edited by

          @nagaculun did u use my install script?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • lavolp3L Offline
            lavolp3 Module Developer @nagaculun
            last edited by lavolp3

            @nagaculun Odd.
            I have the same error message and

            git fetch origin
            git branch -a
            

            do not show the develop branch on remote

            git checkout -b develop origin/develop gives a fatal error:

            fatal: Cannot update paths and switch to branch 'develop' at the same time.
            Did you intend to checkout 'origin/develop' which can not be resolved as commit?
            

            Haven’t seen this before.

            @sdetweil have not used your install script

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @lavolp3
              last edited by

              @lavolp3 interesting, my script tries to minimize space used, so only downloads the master branch
              to down develop do

              git fetch origin develop:develop
              git checkout develop
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              N T 2 Replies Last reply Reply Quote 0
              • N Offline
                nagaculun @sdetweil
                last edited by

                @sdetweil said in No numbers in analog watch face:

                git checkout develop

                that works. thanks.

                1 Reply Last reply Reply Quote 0
                • I Offline
                  Ice-cream
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    Ice-cream @Guest
                    last edited by

                    @hango Hi again, I’ve modified my script but it isn’t working:

                    .clockCircle {
                    margin: 0 auto;
                    position: relative;
                    border-radius: 50%;
                    background-size: 100%;
                    background: transparent /home/pi/MagicMirror/modules/default/clock/faces(“faces/face-005.svg”) center no-repeat;
                    }

                    In this context, is url an actual url or my fie path? x

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by A Former User

                      This post is deleted!
                      I 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • I Offline
                          Ice-cream @Guest
                          last edited by

                          @hango Thanks Hango.

                          1. I have updated the code (still not working presumably because of point 3 below)
                          2. I don’t know where to download the old SVG faces - when I installed MM there was/is a folder full of SVG clock faces
                          3. Please don’t laugh - I don’t know how to create/use a custom css folder - I plan to learn this soon! X
                          1 Reply Last reply Reply Quote 0
                          • ? Offline
                            A Former User
                            last edited by A Former User

                            This post is deleted!
                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @Guest
                              last edited by

                              @hango if one uses my installer script, I create the empty custom.css as part of the install.

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              ? 1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User @sdetweil
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • I Offline
                                  Ice-cream
                                  last edited by

                                  1. Haha thanks guys - that worked!

                                  Very good point in regard to ‘‘how you update the code if you don’t know to create custom.css?’’- I previouly edited the config.js, clock.js and clock_styles.css > I created a really pretty analog clock with the centre, second hand, minute and hour each with different colours.

                                  1. For some reason I thought that a custom.css was really technical but I easily created this from my terminal.

                                  For what it’s worth, I’ve connected to a few APIs and have configued these in the main confg folder and the css’s.

                                  Going forward I’m going to play with customising the default modules (well the ones which I haven’t hidden in the main config file) in the custom CSS.

                                  Thanks again Xx

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @Ice-cream
                                    last edited by

                                    @Ice-cream do not edit the default files.

                                    config in config.js and css in custom.css

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TomBrown @sdetweil
                                      last edited by

                                      @sdetweil said in No numbers in analog watch face:

                                      @lavolp3 interesting, my script tries to minimize space used, so only downloads the master branch
                                      to down develop do

                                      git fetch origin develop:develop
                                      git checkout develop
                                      

                                      I am probably doing something wrong.

                                      I typed in “git fetch origin develop:develop” and then “git checkout develop” and got an error.

                                      git checkout develop
                                      error: Your local changes to the following files would be overwritten by checkout:
                                      	modules/default/clock/clock.js
                                      	modules/default/weatherforecast/weatherforecast.js
                                      	package-lock.json
                                      Please commit your changes or stash them before you switch branches.
                                      Aborting
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @TomBrown
                                        last edited by

                                        @TomBrown do u remember why you edited the clock and weatherforecast files?

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TomBrown
                                          last edited by

                                          I edited the clock.js to change the default clock from digital to analog.
                                          Not sure about the weatherforcast.js though. I did make a copy of the files before editing anything. Could I just rename the backup file to the regular one and try the update again?

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @TomBrown
                                            last edited by

                                            @TomBrown yes u can copy the originals back.

                                            never edit them, use the config.js to change the config.

                                            git diff > somefile

                                            will show u the changes into somefile

                                            u can erase the package-lock.json file

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            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
                                            • 2 / 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