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.

    MMM-Adventskalender

    Scheduled Pinned Locked Moved Fun & Games
    4 Posts 2 Posters 574 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
      chrisfr1976
      last edited by

      Hello,

      I’ve created a quick module for an advent calendar. Is is customizable and the images can be chosen individual.

      I’ve made this module quite quick after I got the ideas yesterday morning. I’ll refine it a little but I did’t want to let you wait any longer g

      It could contain some bugs and may not be perfect at this time. Let me know what you notice, and I will try to improve it.

      MMM-Adventskalender

      Example

      Regards, Chris.

      KristjanESPERANTOK 1 Reply Last reply Reply Quote 4
      • KristjanESPERANTOK Offline
        KristjanESPERANTO Module Developer @chrisfr1976
        last edited by

        @chrisfr1976 Nice! Don’t forget to add it to the module list: https://github.com/MagicMirrorOrg/MagicMirror/wiki/3rd-party-modules 🎄

        C 1 Reply Last reply Reply Quote 1
        • C Offline
          chrisfr1976 @KristjanESPERANTO
          last edited by

          @KristjanESPERANTO Done. I’m not yet completely happy with the style. I’ll work on it next Summer :)

          Regards, Chris.

          1 Reply Last reply Reply Quote 2
          • C Offline
            chrisfr1976
            last edited by

            Hello,

            I’ve added one nice interactions to the module now. This took me some days to get it fully running. But now I’m quite happy with the result, so I also share it here again:

            • CSS animations for door opening and closing effects.
            • Manual Door Interaction:
              • Click to Open/Close: Clicking a closed door opens it with an animated rotation.
            • Door Opening Animation:
              • 3D rotation animation from the right edge when opening.
              • Reverse animation when closing.

            The state is written in the state.json file. So now your kids can “really” open a door in the morning and if you shut down your mirror in the night it has the same state after a reboot.

            If you’re already running the module delete the state.json file if you feel that something does not work correct (I deleted it quite often during development so I can’t say if there could be an issue).

            The update sounds easy but believe me for me it was not ;-)

            MMM-Adventskalender

            Regards, Chris.

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