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.

    Activate Profiles (via MMM-ProfileSwitcher) using MMM-Remote-Control...

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 4 Posters 4.2k Views 3 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.
    • SnilleS Offline
      Snille Module Developer @mortenbirkelund
      last edited by

      @mortenbirkelund {“status”:“Unexpected token P in JSON at position 1”}

      Tried that… :)

      If you cant find it, make it and share it!
      Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jopyth Moderator @mortenbirkelund
        last edited by Jopyth

        @Snille It is not an object, that you are supposed to send, see the documentation, just a simple string, i.e. ...?action=NOTIFICATION&notification=CURRENT_PROFILE&payload=%22Snille%22.

        Helpful sticky: How to troubleshoot

        SnilleS 1 Reply Last reply Reply Quote 0
        • SnilleS Offline
          Snille Module Developer @Jopyth
          last edited by

          @Jopyth said in Activate Profiles (via MMM-ProfileSwitcher) using MMM-Remote-Control...:

          %22Snille%22

          Oh! Works! :) I can’t believe that I did not try that… Thank you! :)

          If you cant find it, make it and share it!
          Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

          1 Reply Last reply Reply Quote 0
          • SnilleS Offline
            Snille Module Developer
            last edited by Snille

            Bonus for anyone who wounder why I wanted to do this…

            I’m a user of “Alexa” (Amazons Echo Dot). I have 6 dots in my house. I wanted to be able to interact with the mirror with Alexa. And, yes I know there are lot’s of modules and stuff out there for this. But I have tried and not been satisfied with different modules/solutions that I found.

            Now, It happens I already use a small software called “HA-Bridge” for controlling all kind of things using Alexa (for example all my lights via Z-Wave using a Fibaro HC2 controller). So this software can be configured to “visit” URL:s when called up on with a voice command though Alexa (in reality HA emulates a Philips HUE light that Alexa can “find” under “Smart House”, that give 3 different commands: On, off and dim.). This opens up a sea of opportunities as you can imagine. :)

            So, now I say: “Alexa, turn on Snilles Mirror” to view my profile. (Switches to my profile)
            Or: “Alexa, turn off Mirror Screen.” (Monitor off)
            Or: “Alexa, turn off Mirror” (Shutdown the mirror)
            And so on…
            Yes… Imagine the possibilities. :)

            If you cant find it, make it and share it!
            Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

            ceddirrC 1 Reply Last reply Reply Quote 0
            • ceddirrC Offline
              ceddirr @Snille
              last edited by

              @snille Hello Snilles how are you?

              I’ve been stuck for ages trying to do the same thing (switch profile on demand) with scripts or Google Home. The reason is:

              1. I can’t find any php or js function to (as you said) “visit” URL:s --> because you have to be in a browser
              2. You can add commands on Google Home via IFTTT request, which only uses external IP!

              Would you have any idea that could help me please?

              Thank you very much for your help,

              Cedric

              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