MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    Adding more times of day to the complement module

    General Discussion
    3
    3
    490
    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.
    • D
      diegocastillo01 last edited by

      Anyone can help me add more times to the complement module as night time complements. Thank you

      hango 1 Reply Last reply Reply Quote 0
      • hango
        hango Module Developer @diegocastillo01 last edited by hango

        @diegocastillo01 you can see my version https://github.com/hangorazvan/compliments_plus

        https://github.com/hangorazvan

        M 1 Reply Last reply Reply Quote 0
        • M
          markomaglic @hango last edited by

          @hango
          That’s cool…
          Was looking for such thing, too.
          Is it possible to keep the text online for a certain time, i.e. from time x til time y?
          Maybe with the fade option…?
          Would like to use that for indicating the time of the day for an eldery person which sometimes confuses e.g. morning and evening etc.

          E.g. something like that:

          case (daytime >= 5 && daytime < 7):
          document.write("It's early morning...");
          break;
          case (daytime >= 7 && daytime < 9):
          document.write("it's morning time... " );
          break;
          

          Regretfully I am not too capable in java or implementing such little script.

          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