MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Profile Switcher on demand? send notification via script?



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


Log in to reply