• 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.

[MMM-TouchButton] A module to add clickable buttons to send notifications or run commands

Scheduled Pinned Locked Moved Utilities
7 Posts 4 Posters 5.1k 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.
  • W Offline
    wishmaster270 Module Developer @Sierra0815
    last edited by Nov 6, 2022, 11:33 AM

    @Sierra0815 Great to hear that. I developed the module a view years ago to provide buttons to toggle some modules (like snowfall) and to realize user presence notifications via remote connection.

    1 Reply Last reply Reply Quote 0
    • B Offline
      BreanneDolphin
      last edited by Jun 2, 2024, 10:09 PM

      @wishmaster270 I am fairly new to MagicMirror, I have a touch screen without a keyboard, but I am unsure how to set the button up for it just to exit the MagicMirror and not reboot the whole thing? Could you help?

      S 1 Reply Last reply Jun 2, 2024, 10:30 PM Reply Quote 0
      • S Offline
        sdetweil @BreanneDolphin
        last edited by Jun 2, 2024, 10:30 PM

        @BreanneDolphin how is MagicMirror started?

        npm start
        send a ctrl-q
        to the MM UI

        or pm2 on boot

        pm2’s JOB is to keep the app running… if it ends, pm2 will restart it…
        so then you will have to issue a command

        pm2 stop x
        

        where x is the name or number on the line for the app you want to stop
        from the output of

        pm2 status
        

        like this

        ┌────┬─────────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
        │ id │ name                │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
        ├────┼─────────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
        │ 1  │ MagicMirror         │ default     │ 2.15.0  │ fork    │ N/A      │ 0      │ 27   │ stopped   │ 0%       │ 0b       │ sam      │ disabled │
        │ 7  │ MagicMirror1        │ default     │ 2.26.0  │ fork    │ 0        │ 0      │ 9    │ stopped   │ 0%       │ 0b       │ sam      │ disabled │
        │ 2  │ startspot           │ default     │ N/A     │ fork    │ 7510     │ 20D    │ 418  │ online    │ 0%       │ 2.0mb    │ sam      │ disabled │
        └────┴─────────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
        

        so on line id =1 or name = MagicMirror

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Jun 4, 2024, 1:23 AM Reply Quote 0
        • B Offline
          BreanneDolphin @sdetweil
          last edited by Jun 4, 2024, 1:23 AM

          @sdetweil it’s just started with npm start

          S 1 Reply Last reply Jun 4, 2024, 1:38 AM Reply Quote 0
          • S Offline
            sdetweil @BreanneDolphin
            last edited by sdetweil Oct 16, 2024, 1:29 PM Jun 4, 2024, 1:38 AM

            @BreanneDolphin so, then you have to run a command that can send a keystrokes to mm.
            see xdotool

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            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 Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy