MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Krisalexroberts 0
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 10
    • Groups 0

    Posts

    Recent Best Controversial
    • IFTTT Support (Easier Alexa/Google Assistant Integrations)

      So, I’ve been playing around with MMM-Syslog and have enabled the IFTTT webhooks service to update the syslog with a GET request - it got me thinking…

      Is it possible for someone much cleverer than myself to throw together a quick API to enable module interaction

      For example:

      http://MIRROR:PORT/IFTTT?type=ACTION&ACTION=HideModules
      http://MIRROR:PORT/IFTTT?type=ACTION&ACTION=ShowModules
      http://MIRROR:PORT/IFTTT?type=ACTION&ACTION=HideClock

      Then in IFTTT, all you would have to do is set the assistant of choice as the trigger, and the Webhooks service as the action.

      EG - If I speak the phrase ‘OK Google, Hide all modules’ then trigger http://MIRROR:PORT/IFTTT?type=ACTION&ACTION=HideModules
      Or
      ‘Alexa, trigger my mirror to hide modules’, then trigger http://MIRROR:PORT/IFTTT?type=ACTION&ACTION=HideModules

      It could also enable some much fancier things, such as a tie in for the motion detector (If xyz service detects I leave the house, turn off mirror)

      Would welcome your thoughts!

      posted in Requests
      K
      Krisalexroberts 0
    • 1 / 1