MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    SOLVED Analog + Digital Clock module

    Requests
    5
    38
    32356
    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.
    • K
      Kevin last edited by

      Looking for some help with implementing an analog clock next to (left of) the standard digital watch.
      So is someone intrested in helping me “convert” this moments js script to module and make an impementation of it to the standard clock.js? http://codepen.io/Wardee-IDUK/pen/XmMvGK

      With a end result similar to:
      alt text

      N 1 Reply Last reply Reply Quote 0
      • N
        nobita @Kevin last edited by

        @Kevin you can convert to module like default module,because I don’t unstand in css,js

        1 Reply Last reply Reply Quote 0
        • MichMich
          MichMich Admin last edited by

          I love the idea of adding a analog clock. If you manage to add it, and make it configurable, feel free to send a pull request to the default module.

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

            I’m mildly curious, @Kevin, why would you want both an analog and a digital clock displayed at the same time? I’d rather think someone would want one or the other, but maybe I’m missing something in the grand scheme of things here … like making sure both parallel universes are running on the same time. 🙂

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

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

              0_1467836563318_analog.png

              a) what comes before ALPHA, or BETA? whatever it is, that’s the state of the code
              b) at the moment it’s a separate module, will see about merging it with the current (default) clock

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

              1 Reply Last reply Reply Quote 0
              • K
                Kevin last edited by

                Cool, looking good.
                Hehe, right now it’s purely cosmetic with both analog and digital. Looking forward to the beta, delta, omega versions 🙂

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

                  Myah, found a few bugs in both the JS and CSS, which are now fixed. (Also found a conflict with same name CSS files across different modules.) Tomorrow I’ll start working on incorporating it with the default one, and see how to make it work so both can be displayed, or one of them while allowing for everything else to reflow gracefully. Adding some config features at the moment … which means I get to play a bit:

                  0_1467876366653_faces.jpg

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

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kevin last edited by

                    Fantastic! Looks great. Would be nice if you can ajust the placement of the analog dail, if you manage to implement it to the original clock script.

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

                      Adjust placement?

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

                      1 Reply Last reply Reply Quote 0
                      • K
                        Kevin last edited by

                        ex. right of, left of, over or under the digital time…

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 1 / 4
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy