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.

    Made a birthday module

    Scheduled Pinned Locked Moved Entertainment
    39 Posts 4 Posters 7.9k Views 5 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.
    • S Offline
      sdetweil @plainbroke
      last edited by

      @plainbroke you can also use the environment variable to set the config file

      export MM_CONFIG_FILE=config/xxxxx.js
      npm start
      or
      npm run server

      Both will use that config

      export MM_CONFIG_FILE=

      To reset it

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      plainbrokeP 1 Reply Last reply Reply Quote 1
      • plainbrokeP Offline
        plainbroke @sdetweil
        last edited by

        @sdetweil
        I got it to work on another pi4 with only 4 mb ram.
        On the exact same setup
        Bookworm
        MM 2.30
        fully updated.
        It seems it has to be the only module besides some of the default ones.
        Which it covers up completely like the MPlayer does…
        Good thing I have an extra pi, I guess. The wifey likes it alot…
        I thought it would be cool add-on for my main mirror that is in the living room right above the TV. Gives us something to focus on during commercial’s…
        Updated your MMM-Config. LOOKING better every update…

        Slow learner. But trying anyways.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @plainbroke
          last edited by

          @plainbroke if you use my fork of mmm-pages it has the ability to show different pages for different amounts of time

          See the pageTimeout property

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          plainbrokeP 1 Reply Last reply Reply Quote 0
          • plainbrokeP Offline
            plainbroke @sdetweil
            last edited by

            @sdetweil
            I am using your mmm-pages. I just haven’t gotten that involved in it yet…
            I know sooner or later I will definitely take advantage of the different amounts of viewable content.

            Slow learner. But trying anyways.

            1 Reply Last reply Reply Quote 1
            • C Offline
              cgillinger @sdetweil
              last edited by cgillinger

              @sdetweil said in Made a birthday module:

              @cgillinger the other thing you can do is add support for the

              suspend(){}
              and resume{}

              methods in your modulename.js

              suspend means being hidden

              resume means being shown

              Done, but haven’t tried it with MMM-Pages yet, a bit to busy at work to install and try it that way. But its in the repo now.

              plainbrokeP 1 Reply Last reply Reply Quote 0
              • plainbrokeP Offline
                plainbroke @cgillinger
                last edited by

                @cgillinger
                Works on the fireworks, but not on the MESSAGE part, It stays on the screen.
                The fireworks came and went with the page it was supposed to.

                Slow learner. But trying anyways.

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  cgillinger @plainbroke
                  last edited by

                  @plainbroke said in Made a birthday module:

                  @cgillinger
                  Works on the fireworks, but not on the MESSAGE part, It stays on the screen.
                  The fireworks came and went with the page it was supposed to.

                  This annoys the hell out of me, if I get the time, I’ll try to set up a MM with MMM-Pages to test it here.

                  But to be clear:

                  The fireworks (and confetti?) works
                  But the message a) doesn’t show or b) shows, but does not get removed when MMM-Pages initiate page change?

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @cgillinger
                    last edited by

                    @cgillinger b

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      cgillinger @sdetweil
                      last edited by

                      @sdetweil said in Made a birthday module:

                      @cgillinger b

                      Huh?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @cgillinger
                        last edited by

                        @cgillinger you said a or b

                        I responded he said b

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        plainbrokeP 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 2 / 4
                        • 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