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.

    Show compliments only for a limited time after wake-up HDMI

    Scheduled Pinned Locked Moved Requests
    8 Posts 4 Posters 4.0k Views 4 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.
    • H Offline
      hulkhaugen
      last edited by

      I’m about to build my first complete MM. I have fiddled with the software before and have managed to modify most of the modules to my liking with my very limited knowledge of programming. I don’t want to have the compliments module running the whole time, but if it could be enabled for maybe 15-20 seconds after the PIR sensor wakes up the HDMI output, it would be awesome. Just one compliment, like “Hello”, “Good evening” or whatever.

      Where would i start to achieve something like this? I realize that the GPIO input somehow should enable/disable the module, but i have no idea how.

      1 Reply Last reply Reply Quote 0
      • P Offline
        PatriceG Module Developer
        last edited by PatriceG

        Hi,
        You could use the MMM-ProfileSwitcher module and then switch to the desired profile upon PIR detection.
        The MMM-ProfileSwitcher module can be configured to automatically switch back to the default profile after a configured time.

        I’m currently building my mirror and I’m using it to drive the various modules visibility and I find this module very convenient.

        I have voice recognition and touch-button modules sending notifications to the MMM-ProfileSwitcher that then handles the various modules visibility.

        1 Reply Last reply Reply Quote 0
        • H Offline
          hulkhaugen
          last edited by

          OK, havn’t seen that yet. Just assuming here, wouldn’t that reload all modules. If so, not a smooth solution for my goal. I could be wrong, will look into it 😁

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            PatriceG Module Developer @hulkhaugen
            last edited by PatriceG

            @hulkhaugen
            No it only shows/hides modules.
            As far as I know there is no dynamic loading/unloading of modules in MagicMirror.

            1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              Just use MMM-ModuleScheduler… it shows and hides modules based on time…

              bheplerB 1 Reply Last reply Reply Quote 0
              • bheplerB Offline
                bhepler Module Developer @cowboysdude
                last edited by

                @cowboysdude I don’t think that will give him the effect he wants. That method isn’t dynamic based upon his PIR sensor.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  hulkhaugen
                  last edited by

                  That’s what i was wondering about as well. Can the MMM-ProfileSwitcher react with a timed module based on PIR input? If so, that sounds like my solution :)

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    PatriceG Module Developer @hulkhaugen
                    last edited by

                    @hulkhaugen No but you could implement your own module based on the MMM-PIR-Sensor one that sends notifications to MMM-ProfileSwitcher instead of directly driving the HDMI output state.

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 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