MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

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

    Requests
    4
    8
    2476
    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
      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
        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
          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
            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
            • cowboysdude
              cowboysdude Module Developer last edited by

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

              bhepler 1 Reply Last reply Reply Quote 0
              • bhepler
                bhepler Project Sponsor @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
                  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
                    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
                    • 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