Setup Spark Director

Configure IFTTT Services

  1. Create an IFTTT account here
    setup1
  2. Add the Webhooks Service by navigating to their page and selecting “Connect”
    setup2
  3. After successfully setting up Webhooks, you should now see a “Documentation” Button. Clicking that reveals a page with you Webhook API Key. Save this page for future use.
    setup3
  4. Add the Orro Service (or other services), select “Connect”, and sign in with your account.
    setup4

Create Applets

For each switch, you need to make 3 applets, 1 for on, 1 for off, and 1 to set a specific dimming level. The steps below can be repeated for each applet.

  1. Navigate to the IFTTT create page here
  2. Click “+ This”
    setup5
  3. Search for and select “Webhooks”
    setup6
  4. Choose “Receive a web request” as trigger
    setup
  5. Enter an event name signifying action and switch, and “Create Trigger”. This will be needed later. For example, for an Attic switch: “turn_on_attic”, “turn_off_attic”, or set_attic”
    setup
  6. Click “+ That”
    setup
  7. Search for and select “Orro”, “Hue”, or other compatible lighting services
    setup
  8. Select the appropriate action (Turn ON, Turn OFF, or SET)
    setup
  9. Select which of your switches it should control
    • When doing SET, click the “Add Ingredient” button and select “Value1” setup
  10. Select “Create Action”
  11. Review your event and select “Finish” setup
  12. Optional: You can test your new event from the Webhooks Documentation page and ensure it performs the desired action

Add Rooms

Once you have created 3 applets (for turn on, turn off, and set level of a switch), you can use the event names and the webhook api key to add the control to the Spark Director App!

  1. On the home page of the Spark Director app, tap the “+” icon on the bottom of the screen.
    app1
  2. Enter a room name, e.g. “Attic Switch”
  3. Enter the event name for the turn on action you previously created, e.g. “turn_on_attic”
  4. Enter the event name for the turn off action you previously created, e.g. “turn_off_attic”
  5. Enter the event name for the set action you previously created, e.g. “set_attic”
  6. Enter the Webhooks API Key from the webhooks documentation page. (Don’t worry, you only have to enter this the first time. Will be saved and autopopulated for other rooms).
    app4
  7. Select “Validate”. This will ensure the Webhok API Key you entered is valid. If so, the “Add Room” button will be enabled
  8. Select “Add Room”. The room should now be added to the home page, and the On and Off buttons and the slider should control the light!
    app3