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.

    Stop mm from a touch button

    Scheduled Pinned Locked Moved Tutorials
    6 Posts 4 Posters 1.7k 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
      harney
      last edited by

      I run MM on a 7inch touch screen on my ROI Server. There is no keyboard or mouse attached. It runs stats and displys data from my weather SQL database etc but I would like to stop MM with a touch button. I have looked at all the Touch Button modules and they only Shutdown or Reboot. None actually only stop MM. I tried modifying one of these using ‘npm stop’ but to no avail. (I start it with npm start).

      I dont always have a computer running that I can remote into it and do Ctrl Q to stop it. A touch button would be handy but Im stumped.

      Thanks

      wishmaster270W BKeyportB 2 Replies Last reply Reply Quote 0
      • wishmaster270W Offline
        wishmaster270 Module Developer @harney
        last edited by

        @harney Hi, I recently had the same problem and wrote a module to exactly do this job (MMM-TouchButton).

        H 1 Reply Last reply Reply Quote 1
        • H Offline
          harney @wishmaster270
          last edited by

          @wishmaster270

          Sir you are a legend of the highest order

          Thanks

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

            this turne out to be exaclty what I was looking for,
            Now to use snowflake to run an npm stop command :clapping_hands:

            1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @harney
              last edited by

              @harney because of the problems within the MM world, I ended up controlling my buttons with external python scripts. More flexable, more configurable, and able to do exactly what I want.

              The "E" in "Javascript" stands for "Easy"

              KamiSchamiK 1 Reply Last reply Reply Quote 1
              • KamiSchamiK Offline
                KamiSchami @BKeyport
                last edited by

                This post is deleted!
                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