• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.2k 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 Jan 30, 2021, 9:02 AM

    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

    W B 2 Replies Last reply Jan 30, 2021, 9:44 PM Reply Quote 0
    • W Offline
      wishmaster270 Module Developer @harney
      last edited by Jan 30, 2021, 9:44 PM

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

      H 1 Reply Last reply Jan 31, 2021, 2:06 AM Reply Quote 1
      • H Offline
        harney @wishmaster270
        last edited by Jan 31, 2021, 2:06 AM

        @wishmaster270

        Sir you are a legend of the highest order

        Thanks

        H 1 Reply Last reply Jan 31, 2021, 3:21 AM Reply Quote 0
        • H Offline
          harney @harney
          last edited by Jan 31, 2021, 3:21 AM

          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
          • B Online
            BKeyport Module Developer @harney
            last edited by Jan 31, 2021, 11:40 PM

            @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"

            K 1 Reply Last reply Feb 4, 2021, 7:47 PM Reply Quote 1
            • K Offline
              KamiSchami @BKeyport
              last edited by Feb 4, 2021, 7:47 PM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                5/6
                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