• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Daytime vs Night Time Mirror

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 2.0k Views 2 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.
  • C Offline
    carltonb
    last edited by Dec 24, 2017, 11:22 PM

    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

    S 1 Reply Last reply Dec 24, 2017, 11:55 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @carltonb
      last edited by Dec 24, 2017, 11:55 PM

      @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 Dec 26, 2017, 7:17 PM Reply Quote 2
      • C Offline
        carltonb
        last edited by Dec 25, 2017, 2:36 PM

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

        1 Reply Last reply Reply Quote 0
        • C Offline
          carltonb @strawberry 3.141
          last edited by Dec 26, 2017, 7:17 PM

          @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
          1 / 1
          • First post
            4/4
            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