MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Daytime vs Night Time Mirror

    Troubleshooting
    2
    4
    1672
    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.
    • C
      carltonb last edited by

      I have finally got my 7" touch screen sort of setup to what I am looking for.
      As you can see I have made adjustments to the clock module with some custom css. The first image is the daytime the second image is what I envision.
      Here is what I would like to do.
      Lets say at 7pm every night the current screen changes to a clock with no date, just the time in huge red colored numbers. And then at 7am every morning it reverts back to my main page.
      I know I can set up a schedule to do this, but here is where I do not know how to proceed. How to have two different clock modules. One for daytime with its own css and one for night time also with its own css.

      Thanks for the advice.
      Carltonb
      0_1514157749540_clock.jpg

      strawberry 3.141 1 Reply Last reply Reply Quote 0
      • strawberry 3.141
        strawberry 3.141 Project Sponsor Module Developer @carltonb last edited by

        @carltonb small hint, setup the clock module two times in the config and toggle between them with mmm-modulescheduler.

        add a class to both entrys in the config like day and night.

        then in the custom css you can apply different rules based on the day and night class

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

        C 1 Reply Last reply Reply Quote 2
        • C
          carltonb last edited by

          Thanks. Have started the process and so far it looks promising.
          Happy Holidays
          Carltonb

          1 Reply Last reply Reply Quote 0
          • C
            carltonb @strawberry 3.141 last edited by

            @strawberry-3.141 Thanks for the help. Got it working. Spent 5 hours yesterday figuring word names, spacing, periods in names, etc.
            Learned a lot.
            Now I just need to determine what a good dark bedroom color is for my nighttime mode. The red I tried last night was super bright.
            Again thanks to all that helped.
            Carltonb

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • 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