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.

    Profile Switcher on demand? send notification via script?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    1 Posts 1 Posters 614 Views 1 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.
    • ceddirrC Offline
      ceddirr
      last edited by

      Hello everybody, I have been stuck for months with this issue:

      I would like to be able to run scripts to switch profile on demand:

      I know this command: http://localhost:8080/remote?action=NOTIFICATION¬ification=CURRENT_PROFILE&payload="Test"

      but it has to be run on a browser, impossible to run it via a script…

      I know this one as well : this.sendNotification(‘CURRENT_PROFILE’, ‘Test’);
      but I don’t know how to run it via a script neither…

      I would like to run these scripts via IFTTT, so when I say “ok Google, I want to see blabla on mirror”, it switches profiles.

      Warning: I know that ifttt needs to run commands on an server opened to the internet, but I already have one (not my mirror). so my server opened to the internet will run the commands received from ifttt and run the scripts from the mirror to switch profile (whatever ssh, bash, perl, php…)

      Thank you for your help!

      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