7" touchscreen as a Non-alarm clock?



  • Dear Mystical Reflectors,
    I have built the 7" touchscreen alarm clock. It’s great for my wife. Has all that she needs.
    Now I want to build one for me with a few constraints that if someone can put me in the right direction would be a big help.
    I am no longer constrained by the need for an alarm clock (retired). I also have extremely poor vision when not wearing my “Coke Bottle” style glasses, and I am color blind as well.
    What I would like to do foremost is to create a second screen that from 7pm to 7am for example shows a screen in massive numbers only, in a color of number I can see at night. Can someone put me on a track to do this?
    Also because of the poor eyesite I would like to edit the date and time that would show up on my daytime screen. Instead of showing
    Monday January 1, 2018
    8:00AM
    I would like it to show
    Monday
    January
    1
    2018
    8:00AM
    I can not for the life of me figure out where to create the line breaks (in the .js file or the css file)

    Thank you for the help and Happy holidays for which ever holiday and in what ever country you celebrate it.

    Carltonb



  • @carltonb try that one

    {
      module: 'clock',
      position: 'top_left',
      config: {
        dateFormat: 'dddd<br />MMMM<br />D<br />YYYY'
      }
    }
    

  • Module Developer

    @carltonb

    You could also try position: 'top_center', and press Ctrl and Shift and = until you reach the desired size of the text. However, this will increase the size of every module that is being displayed. If all you want is “massive numbers only,” then this would be the result.

    0_1513721529289_1.PNG

    Pressing Ctrl and 0 (zero) will revert back to default size.

    https://forum.magicmirror.builders/topic/5619/how-to-find-and-use-key-commands-in-mm-for-absolute-beginners



  • @strawberry-3.141 Thanks that worked great. Did not know that you could “html” edit the info in the quotes of a config.
    Greatly appreciated.
    Carltonb



  • @Mykle1 At what point is the Ctrl+Shift= used. In the config.js file?
    Thank you so much. After reading the forum pretty well the link you sent was the first time I had ever seen these codes mentioned.
    Carltonb


  • Module Developer

    @carltonb said in 7" touchscreen as a Non-alarm clock?:

    At what point is the Ctrl+Shift= used. In the config.js file?

    No sir, not in the config. You simply press the corresponding key commands while the mirror is running, as stated in the link that I provided.

    Thank you so much. After reading the forum pretty well the link you sent was the first time I had ever seen these codes mentioned.

    You are welcome, mate. I took it upon myself to write that tutorial for key commands for that very reason.