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

Remote Control API Help Please

Scheduled Pinned Locked Moved Unsolved Troubleshooting
2 Posts 2 Posters 98 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.
  • M Offline
    mart11
    last edited by Aug 4, 2024, 11:54 AM

    I’m looking for help using the API provided by MMM-Remote-Control module.
    I have the pages module installed and I want to send a command from another system to change the page. I’ve tried various curl commands and some have replied with a success message but nothing changed. Can someone help me formulate a curl command to change the page please?

    S 1 Reply Last reply Aug 4, 2024, 2:11 PM Reply Quote 0
    • S Away
      sdetweil @mart11
      last edited by sdetweil Aug 4, 2024, 2:16 PM Aug 4, 2024, 2:11 PM

      @mart11 generally it’s this

      https://github.com/Jopyth/MMM-Remote-Control/blob/master/API/README.md#basic-examples-of-sending-a-module-notification

      But, pages expects the payload to be a number
      Not object, not string. I don’t know how to do that w curl

      You might be able to do the forward or back, as the payload is optional as i remember it

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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