Extensions

Extend SAMMI's functionality with our community made extensions.

IFTTT to SAMMI

Developed by:
Rating | Productivity | views

Overview

Extension which lets you receive Triggers from IFTTT directly in your SAMMI.
You can also pass any data IFTTT provides in its triggers to SAMMI.

IFTTT is a very powerful app that connects to a lot of different services, such as your phone apps, smart devices, email, social media etc. Full list can be found at https://ifttt.com/services. You can create 5 applets for free.

Use Examples

  • Read your new emails and texts via SAMMI
  • Display mobile notifications in your OBS overlay
  • Automatically display any new photo taken on your phone in your OBS
  • Detect any new files uploaded to your Google Drive and act on it (for example refresh your OBS overlay)
  • Control SAMMI via Ok Google or Alexa
  • Have SAMMI detect any changes in your smart lights
  • And much more (whatever IFTTT supports you can connect to SAMMI)!

Features

  • Open and close the connection to listen to IFTTT triggers on demand
  • Set a specific extension trigger (that you can attach to a button in your SAMMI) for each IFTTT applet
  • Choose what IFTTT fields will be passed to your SAMMI (in a JSON formatted string - examples provided)

Special thanks goes to:
My amazing Patrons.
Thank you so much!

If you would like to support me developing SAMMI itself and my extensions, you can join my Patreon, which will give you access to all my upcoming creations for completely free and priority help on any of my extensions.

DISCLAIMER: The extension is provided as is. The developer has no obligation to provide maintenance and support services or handle any bug reports.
Feel free to edit the extension for your own use. You may not distribute, sell or publish it without the author’s permission.


Additional Information
Version 1.0 Requires SAMMI Any^ Stream Platform Any Updated April 16, 2022
Setup
  1. Install the extension while your Bridge is running. You can follow the installation guide
  2. In your new premade IFTTT deck, double tap on the blue IFTTT OPEN button and fill out the values in the IFTTT to SAMMI command:
    • Itch Key = your Itch key you received on your Download page
    • Password = any password you want to use to create Webhooks in your IFTTT (it’s an extra security layer to prevent others from hijacking your connection)
  3. Press Save and Save again.
  4. In your Stream Deck, press the blue IFTTT Open button. You should see a yellow notification in your SAMMI that the connection has been opened. That means SAMMI is listening for any new IFTTT triggers!
  5. Set up your first IFTTT applet and test it out!

Setting up your IFTTT applet

  1. Navigate to https://ifttt.com/explore
  2. Click on Create
  3. Add your own service in If This
  4. For Then that add Webhook
    • URL: https://lioranboard-websocket-7we7k.ondigitalocean.app/ifttthook/YOURITCHKEY (replace ITCHKEY with your own itch key)
    • Method: POST
    • ContentType: application/json
    • Additional Headers: Authorization: YOURPASSWORD (replace YOURPASSWORD with whatever password you set up in your blue IFTTT OPEN button)
    • Body: formatted JSON string containing at least “trigger” value, can contain IFTTT ingredients as well
      • Example of a simple JSON string:
          {
          "trigger":"SomeExtensionTrigger", 
          "someIFTTTingredient": "INSERTIFTTTINGREDIENT"
          }
        
      • Whatever you select for your trigger value will match to your extension trigger for your button in SAMMI
      • Any other values you will be able to retrieve with Trigger Pull Data command in SAMMI
      • you can insert as many values and IFTTT ingredients as you wish. However, be careful as some IFTTT ingredients MAY contain new lines which is not a proper JSON string. In that case add <<< before your IFTTT ingredient and >>> after your IFTTT ingredient, for example: "someIFTTTingredient": "<<<INSERTIFTTTINGREDIENT>>>"

New Photo Taken Example
Applet’s webhook body:

    {
    "trigger": "IFTTT Take Photo",
    "url": "{{TemporaryPublicPhotoURL}}"
    } 

Notification Received Example
Applet’s webhook body (notice <<< and >>> around the message ingredient to remove new lines!):

    {
    "trigger": "IFTTT Notification Received",
    "name": "{{AppName}}",
    "message": "<<<{{NotificationMessage}}>>>"
    }

Text Received Example
Applet’s webhook body:

    {
    "trigger": "IFTTT Text Received",
    "name": "{{ContactName}}",
    "number": "{{FromNumber}}",
    "text": "{{Text}}"
    }
Privacy Policy
This developer has disclosed that it will not collect or use your data.
Additional information provided by the developer

All your IFTTT triggers are sent to a secure server hosted with DigitalOcean that relays them to your SAMMI. The server logs all webhook activity by your unique Itch Key identifier that cannot be linked back to a specific user (unless you willingly share it if you need me to troubleshoot it for you). It logs a timestamp and whether it was successfully received. It does NOT log any personal information or the content of your IFTTT triggers.


This developer declares that your data is:

  • Not being sold to third parties.
  • Not being used or transferred for purposes that are unrelated to the extension's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Reviews

Coming soon!