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.
    • J Offline
      j.e.f.f Project Sponsor Module Developer
      last edited by

      First, many MANY thanks to all of the programmers who make this project possible. I’m waiting on delivery of my screen and glass, meanwhile I’ve been doing my configurations on my laptop. I’ve modified pretty much every module’s CSS and markup to get this.

      Here’s what I have so far. I can share my files with anyone who wants this but know that you’re stuck having to maintain your own versions of each of the modules – an update will overwrite the custom markup, so you’ll want to be careful if you need to update from git source.

      0_1493777449919_Screen-shot-comp-2-may-2017.png

      Can’t wait to get this on the wall!

      Mykle1M C 2 Replies Last reply Reply Quote 11
      • cowboysdudeC Offline
        cowboysdude Module Developer
        last edited by

        Very nice!! Great job…

        Very interested in your weather module and the thermometer in the lower right hand corner…

        Other than that… LET’S GO RANGERS!! ;)

        J 2 Replies Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @j.e.f.f
          last edited by

          @j.e.f.f

          Nice work! :thumbsup_tone1:

          Create a working config
          How to add modules

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

            @cowboysdude The weather module is MMM-WunderGround with only a few tweaks. The thermometer is MMM-Nest but modified - including using the same font - to look more like the Nest’s thermostat display in the app. Gimme a sec and I’ll see if I can upload a ZIP with the changed files.

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

              @cowboysdude PM me for the files if you want them. This forum won’t let me attach a ZIP file.

              -Jeff

              1 Reply Last reply Reply Quote 0
              • pjkoelemanP Offline
                pjkoeleman
                last edited by

                @j.e.f.f
                How did you change the calendar module (custom CSS-file) or which calendar module did you use, because I like your layout.

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

                  @pjkoeleman I actually modified the HTML markup in the js file in addition to writing custom CSS. I can share what I did in order to make it work. PM me.

                  1 Reply Last reply Reply Quote 3
                  • T Offline
                    twosix
                    last edited by

                    This post is deleted!
                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      j.e.f.f Project Sponsor Module Developer @twosix
                      last edited by

                      @twosix For traffic I used mrx-work-traffic, but I made some js modifications, both to get it working, and to add the travel mode options (e.g.: biking, driving, transit, walking). For music, I’m using MMM-Sonos. I modified the JS to comment out much of the information being supplied to the display, and to reformat the remaining HTML such that it could be styled like you see in my photo.

                      1 Reply Last reply Reply Quote 1
                      • L Offline
                        laylaykom
                        last edited by

                        Hey!! I want to that zip what you change the files too. Can you PM to me?

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

                          Wow! I did not expect so much interest! So I’m going to put all of my stuff on Github and you’ll be able to pick and choose what you want to use.

                          Just know that the changes I made to the modules were just supposed to be for my use, and are in no way complete as far as a robust code base goes. For example I haven’t put anything in place for translations and any time functions just assume Eastern time. They may or may not work perfectly for you out of the box.

                          In any case, thanks for the interest!
                          -Jeff

                          1 Reply Last reply Reply Quote 2
                          • C Offline
                            cohron @j.e.f.f
                            last edited by

                            @j.e.f.f why not add it to github and make it part of the master so updates won’t overwrite your work.?

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

                              @cohron well that’s up to the original authors of the respective modules. I don’t want to step on their toes – they’ve built their modules to suit their vision. My changes were tweaks I wanted for me. So I’m thinking keeping it separate is the better course of action here.

                              That said, I’m not an expert with Github, so maybe there’s a way to do what you suggest without changing the original modules?

                              cowboysdudeC strawberry 3.141S 2 Replies Last reply Reply Quote 0
                              • cowboysdudeC Offline
                                cowboysdude Module Developer @j.e.f.f
                                last edited by

                                @j.e.f.f You know if it’s css there has to be a way to include more than one css file in a module… something I think I’ll look into…

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

                                  @cowboysdude In my case, I’ve also changed the HTML markup. It’s difficult to move things around in the CSS when the visual elements are marked up with tables. So in many cases the markup has been changed significantly – especially in the sports modules – so that I was free to position things as I wished.

                                  In some case using tables makes sense. For example the weather forecast is tabular data, so using a table to present the information is appropriate. But when you use tables, your layout is pretty much fixed to be in a table format, and the information will always be presented in the order that it is marked up. For example, for the sports modules, I wanted the visiting team’s scores first (i.e. on the left) and the home team’s score second (on the right). The NHL module had this reversed. I also wanted to hide the scores when the game hadn’t yet started. So the logos are marked up first, then the game status. Based on the status, I decide whether to markup the scores. So the markup looks like this:

                                  <div>
                                    <img src="modules/MMM-NHL/icons/NSH.svg" class="team-logo home" />
                                    <img src="modules/MMM-NHL/icons/STL.svg" class="team-logo visitor" />
                                    < span class="status in-progress">
                                      < span class="live time">13:45< /span>
                                      < span class="period">3< sup>RD< /span>
                                    < /span>
                                    < span class="score home">2< /span>
                                    < span class="score visitor">1< /span>
                                  </div>
                                  

                                  Elements are written in this order:

                                  1. Home Team’s logo
                                  2. Visiting Team’s logo
                                  3. Game status
                                  4. Home Team’s score
                                  5. Visiting Team’s score

                                  But with the CSS, I’m able to position them in this order:

                                  1. Visiting Team’s logo
                                  2. Visiting Team’s score
                                  3. Game status
                                  4. Home Team’s score
                                  5. Home Team’s logo

                                  Scores and logos are positioned relative the their respective left and right edges, while the status is centered. So this layout will adapt to changing container widths. And if I wanted to swap the display to have home team on the left, and visitor on the right, it’s a simple CSS change, with no need to touch the markup.

                                  So it works out better to render each piece as its own HTML element (e.g.: div, span, p, img, etc), and then position them using CSS. This gives you WAY more flexibility. Maybe the way forward here is to work with the module devs to change their markup to something that lends itself to more flexible CSS styling.


                                  P.S. Does anyone know how to make span elements show up in markdown? I had to put spaces between the < character and span>, otherwise they don’t show up in the code block. Also have the same problem with the class name on the outer div. There should class="box-score" on that element.

                                  1 Reply Last reply Reply Quote 1
                                  • strawberry 3.141S Offline
                                    strawberry 3.141 Project Sponsor Module Developer @j.e.f.f
                                    last edited by

                                    @j.e.f.f you can create a fork of the module and push your changes to it then everyone can clone your fork

                                    Please create a github issue if you need help, so I can keep track

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

                                      @strawberry-3.141 Thanks! I’ll see if I can figure that out.

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

                                        OK Here’s my first crack at this. I’ve forked mrx-work-traffic to make MMM-MyCommute.

                                        [card:jclarke0000/MMM-MyCommute]

                                        https://github.com/jclarke0000/MMM-MyCommute

                                        Will work on the others soon.

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

                                          …and MMM-MyWeather:

                                          [card:jclarke0000/MMM-MyWeather]

                                          https://github.com/jclarke0000/MMM-MyWeather

                                          rudibaraniR 1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            ring23
                                            last edited by

                                            Awesome! Do you plan on making a module for the Sports Scores? If not, can you PM me the files?

                                            J cowboysdudeC 2 Replies 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
                                            • 1 / 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