Navigation

    MagicMirror Forum

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

    Stop mm from a touch button

    Tutorials
    4
    6
    110
    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
      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

      wishmaster270 BKeyport 2 Replies Last reply Reply Quote 0
      • wishmaster270
        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
          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
            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 👏

            1 Reply Last reply Reply Quote 0
            • BKeyport
              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.

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

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