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

Scheduled Pinned Locked Moved Unsolved Requests
4 Posts 2 Posters 1.4k Views 2 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.
  • S Offline
    Skorpionbird
    last edited by Jan 23, 2019, 10:01 AM

    I have a short question. How i can add more comands to the modul? I want tap to the center and the pi make a reboot as example. How i can do this?
    Thanks

    ? 1 Reply Last reply Jan 23, 2019, 10:13 AM Reply Quote 0
    • ? Offline
      A Former User @Skorpionbird
      last edited by A Former User Jan 23, 2019, 10:14 AM Jan 23, 2019, 10:13 AM

      @skorpionbird
      As far as I read, that module can emit only notification without payload.
      If you want to extend the feature;

      1. Modify module itself for your expectation.
      2. Or make your own module to do your job when notification from MMM-Hover is coming.
      3. Or You can use MMM-NotificationTrigger to convert notification from MMM-Hover to other job(another notification or execution of shell command)
      S 1 Reply Last reply Jan 23, 2019, 11:11 AM Reply Quote 0
      • S Offline
        Skorpionbird @Guest
        last edited by Jan 23, 2019, 11:11 AM

        @sean i use the hover to change the pages with left/right buttons. Is it easy to ad a new command?

        ? 1 Reply Last reply Jan 23, 2019, 11:45 AM Reply Quote 0
        • ? Offline
          A Former User @Skorpionbird
          last edited by A Former User Jan 23, 2019, 11:46 AM Jan 23, 2019, 11:45 AM

          @skorpionbird It depends on what you mean ‘command’
          Command for Page increment and decrement is easy enough. That is prepared by other module with simple notification. But By example; for reboot; you need something(module, shell command or script or extern application.) to do really reboot. Then you also need an activator which relay MMM—Hover to that command execution. Hover itself doesn’t have that feature, you should do one of options which is described in above post.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            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