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.

    My display so far...

    Scheduled Pinned Locked Moved Showcase
    66 Posts 18 Posters 91.5k Views 22 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.
    • pjkoelemanP Offline
      pjkoeleman
      last edited by

      @j-e-f-f
      In MMM-MyWeather …
      I just saw that the clock for the sunset / sunrise is not displayed in the 24 hour format. Is there any option for setting this? Well searched but not found in the config options.

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        j.e.f.f Project Sponsor Module Developer @pjkoeleman
        last edited by

        @pjkoeleman Let me look into this. Likely overlooked in the code.

        pjkoelemanP 1 Reply Last reply Reply Quote 1
        • pjkoelemanP Offline
          pjkoeleman @j.e.f.f
          last edited by

          @j.e.f.f
          Thanks in advance

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer @pjkoeleman
            last edited by

            @pjkoeleman Try now. It’s a bit hacky… basically if your time format has a capital H in it, then it formats it in 24 hour time HH:mm, otherwise it will use 12 hour time h:mm a.

            I should probably make this a separate time format config parameter, but this should do for now.

            pjkoelemanP 1 Reply Last reply Reply Quote 1
            • pjkoelemanP Offline
              pjkoeleman @j.e.f.f
              last edited by

              @j.e.f.f
              Thanks, is working now like it should be doing.

              So the module is not using ‘timeFormat’ as set in the main part of config.js
              I thought that it would look and use the settings of ‘language’ and ‘timeFormat’ in the global settings of config.js

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @pjkoeleman
                last edited by

                @pjkoeleman not directly, no, as it specifically comes down to how I have it configured. My time format for the forecast table is “h a” (e.g.: “9 pm”). This time format has no minutes, which is fine for the hourly forecast, but doesn’t work for sunrise/sunset. So when rendering the sunrise/sunset time it looks for the presence of a capital “H” in the time format config. If present, sunrise sunset is rendered as “HH:mm” (i.e.: 24 hour time format). Otherwise it is rendered as “h:mm a” (12 hour time format).

                The right thing to do is separate sunrise/sunset time format out to its own configuration parameter.

                pjkoelemanP 1 Reply Last reply Reply Quote 1
                • pjkoelemanP Offline
                  pjkoeleman @j.e.f.f
                  last edited by

                  @j.e.f.f
                  Thanks for clearing us up.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    brendyburgers
                    last edited by

                    would it be possible to have a copy of your program have been trying for a while now to come up with something like this, and does it work with touch???

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      j.e.f.f Project Sponsor Module Developer @brendyburgers
                      last edited by

                      @brendyburgers much of the above have now become modules. Which one were you interested in?

                      Sorry to say but none of my modules are touch enabled.

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        rrrene @j.e.f.f
                        last edited by

                        @j.e.f.f

                        Hi Jeff, I just put your CSS code in my custom.css.

                        Unforunately for one Module the line below the header stays the „old“ grey color and won‘t change to your great blue.

                        What did I do wrong?

                        Best regards,
                        René

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          j.e.f.f Project Sponsor Module Developer @rrrene
                          last edited by

                          @rrrene said in My display so far...:

                          What did I do wrong?

                          Most likely nothing :)

                          If the issue is with just one module, then likely my custom CSS is being overridden with that module’s CSS. You need to inspect the markup to see what styles are being applied to that particular module and then write more specific CSS to override that.

                          You can access the inspector by starting MM in dev mode npm start dev.

                          R V 2 Replies Last reply Reply Quote 1
                          • R Offline
                            rrrene @j.e.f.f
                            last edited by

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

                              This is awesome! I would like your files could you PM them to me?

                              1 Reply Last reply Reply Quote 0
                              • justjim1220J Offline
                                justjim1220 Module Developer
                                last edited by

                                My display so far…

                                0_1523819339121_Screenshot (5).png

                                any questions, feel free to ask!

                                Very willing to share!

                                Platform: Windows 10 (Asus 15.6’ laptop)

                                Issues: Cannot get any type of voice control or interaction with it yet. NOT GIVING UP!!!
                                (but very willing to hear some ideas,)

                                Future Additions: >Google fit (already have it set up on one of my desktops
                                >change Selfie to a daily random pic (not from a website, from a file folder)
                                >get email to show different origins (Gmail, Yahoo, Hotmail, etc.)
                                >voice control/interaction/assistant (would like combo of Alexa, Google
                                Assistant, Watson, and Cortana)
                                >Interactive Avatar to utilize the previous idea
                                >want to know how to hide a module but it keep working in the background.
                                for example: have a music module or the YouTube module play without it
                                taking up space on the Mirror
                                >would also like to know how to change the code to give me 4 columns
                                (I’ve tried everything I could!!!)
                                >would also like to know how to get the email module to align left
                                (I’ve tried everything I could!!!)
                                >And, I eventually will 1 or more of the modules that would be changeable through
                                random display, voice control, or timed change.

                                If anyone out there would like to give me some hints, tips, pointers, code examples, or just collaborate on any or all of this, I would greatly appreciative!!!

                                "Life's Too Short To Dance With Ugly People"
                                Jim Hallock - 1995

                                1 Reply Last reply Reply Quote 0
                                • V Offline
                                  vincentveenman
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • V Offline
                                    vincentveenman @j.e.f.f
                                    last edited by

                                    @j-e-f-f

                                    Hi Jeff, amazing job on the css. Would you please share your files for me to learn? Thanks in advance.

                                    Vincent

                                    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
                                    • 3
                                    • 4
                                    • 3 / 4
                                    • 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