Widget: Maker

You'll find the widget here... https://apps.garmin.com/en-US/apps/f...2-7178a9da1985

Maker is a simple widget that allows Garmin devices to trigger IFTTT events via the IFTTT Maker Channel (http://ifttt.com/maker). This may not sound all that interesting, but here are a few things it can allow you to do.
  • Open or close your garage door (using SmartThings, Garagio, ...)
  • Turn on or turn off a fan or other device (using SmartThings, Wemo, ...)
  • Control a programmable thermostat (using Nest, Honeywell, ...)
  • Change lighting, open/close blinds (using SmartThings, Hue, ...)
  • Text a brief message (using SMS, e-mail, ...)


Anything you could control with IFTTT, you can control with Maker. Some actions may require purchase of additional hardware (to control lighting, you'll need lights that are controllable similar to the Phillips Hue, or to turn on/off a switch you might need to buy something like a Belkin Wemo Switch).

To use this app, you must use Garmin Express or Garmin Connect Mobile to configure your IFTTT secret key. If you don't set these attributes, you will get an error when you try to submit.

Setup

Configure the IFTTT trigger
  • Go to https://ifttt.com, click the Account link (your user profile icon) in the top-right corner of the page.
  • Click My Applets from the top of the page. You should be presented with the list of your applets (assuming you have some).
  • Click New Applet from the top-right of the page. You should be presented with the Applet Maker.
  • Click the +this link
  • Search for WebHooks, and click the WebHooks channel icon from the channel list
  • If you haven't already configured the WebHookschannel, click the connect button.
  • Click the Receive a web request link
  • Enter an Event Name, and click Create Trigger. Note that the name you choose here will be the trigger name in the Maker app (see step 5 below).
  • Click the +that link
  • Click the IF Notifications channel icon from the channel list (you could choose any channel; in this example we're generating a message on your iOS device).
  • Click the Send a notification link
  • Click inside the Notification box.
  • Set the Notification text as you wish, being sure to use the {{EventName}}, {{Value1}}, {{Value2}} and {{Value3}} special values as necessary.
  • Click the Create Action button
  • Edit the Recipe Title as you see fit.
  • Click the Create Recipe button


Configure the Maker app
  • Go to https://ifttt.com/channels/maker, and click the settings icon near the top-right corner, below your profile icon.
  • Note the URL shown in the Account Info section. Select the secret key part of the url and copy it to the clipboard (CTRL+C). Note that the secret key is the alphanumeric bit following the last slash in the URL. e.g., if URL is https://maker.ifttt.com/use/AnaweiNO91NWDUIna, then AnaweiNO91NWDUIna is the secret key.
  • In Garmin Express, click the ellipsis icon next to the Maker app icon to configure the app
  • Paste the key into the IFTTT secret key field (CTRL+V)
  • Set the Name field to the Event Name you entered in the IFTTT trigger configuration (see step 7 above)
  • Set the other fields for the first trigger as you see fit. See notes below about special trigger values
  • Click the Save button
  • Eject the device, and start the Maker widget. The procedure to do this depends on device; see your device documentation for details.
  • Tap the screen or press the enter key to trigger the event being sent to the IFTTT service
  • If you have multiple events enabled in the app settings, you can use the menu button to select from the list of enabled events.


Special Trigger Values

If you specify a trigger value, the system will gather the appropriate data from the device and send it along with the request. The special values are listed below, along with a brief description of the what they will be replaced with.
  • Altitude will be replaced with the current altitude in meters (e.g., 72)
  • Latitude will be replaced with the current latitude in decimal degrees (e.g., 44.565198)
  • Longitude will be replaced with the current longitude in decimal degrees (e.g., -123.280963)
  • Position will be replaced with the current latitude and longitude in decimal degrees (e.g., 44.565198,-123.280963)
  • Timestamp will be replaced with the current date and time in ISO8601 extended date and time format (e.g., 2016-05-24T23:20:17-0700)
  • Time of Day will be replaced with the current time of day in 24-hour clock mode (e.g., 23:20:17)


Release History:

1.2.0
* Completely revised the UI.
* Added support for up to 8 triggers, selectable via the menu instead of swiping or using the arrow keys.
* Fixed a bug that sometimes resulted in position data not being sent with requests.
* Added support for all devices that support Widgets on ConnectIQ 1.2.
* Removed the ability to specify arbitrary strings to be sent with requests. This can be worked around by creating additional triggers in IFTTT.

1.1.4
* Fixed a bug that prevented the progress view from being discarded with a back button press.
* Built with the 1.2.10 SDK.

1.1.2
* Fixed a bug that caused the app to crash when using a last known gps solution.

1.1.1
* Reduced number of triggers to 3 to work around issues with Garmin Express.
* Fixed :location trigger to format values as expected.
* Fixed :location, :altitude, :latitude, and :longitude replacements to only take effect if a recent or decent GPS solution is found.

1.1.0
* Add value replacement so data from the watch can be forwarded to the IFTTT service.

1.0.9
* Add support for two trigger values.

1.0.8
* Initial Revision
  • Former Member
    Former Member over 9 years ago
    Ok, so I am fairly lost on how all of this works to activate my lights hooked up to a wink hub. I have do buttons setup and working through IFTTT, but I have no idea how to get any of that process hooked up through this Maker app and development tool. Any and all support would be greatly appreciated. Thanks!


    I have mine successfully activating Wink shortcuts.

    There are a few steps to go through and these are the main points, I am assuming you know basic things like how to access widget settings in Garmin Connect and creating recipes in ifttt.

    1. Go to ifttt.com/maker and login in to your account. On the first page you should see your key, its a long string of letters and numbers, this is entered in the 'Secret Key' field in the Maker widget settings in Garmin Connect.
    2. On iftt create a recipe, the trigger (This) is the Maker channel and there is only option, Receive a web request, and you will be prompted to give the request an 'Event Name'. I keep mine real simple and just use trigger1, trigger2, etc. The 'That' event will then be Wink Shortcuts and you can choose the shortcut to be activated with the trigger.
    3. In Garmin Connect in the Maker widget settings enter the name you used as the Event Name in ifttt (e.g. trigger1) in to the Name field and a better description, such as 'Bedroom On' in the 'Display name' field.
    4. Sync your device, go to the Maker widget, Tap the M logo when it appears and you should see you display name option, tap it and see your light turn on, it is not instant and can take several seconds.
  • Are the instructions in the first post of this thread not helpful?

    Travis
  • Former Member
    Former Member over 9 years ago
    Thanks so much for the effort! I hope i can use this app but i am getting a problem. I am getting a -300 Timed Out.
    I can connect to my BT on my phone no problem. Tried with wifi on and off.
    I have a FX3 with 7.20 and iphone 6plus.

    What would cause the time out?
  • I'm not sure. Have you tried using any other app that makes a web request? Any of the weather apps (AccuWeather Minutecast) do, so if they are working, I'd expect Maker to work as well.
  • Former Member
    Former Member over 9 years ago
    I'm not sure. Have you tried using any other app that makes a web request? Any of the weather apps (AccuWeather Minutecast) do, so if they are working, I'd expect Maker to work as well.


    yes i did and the other apps worked fine... i will give it a try in a different network.
  • Former Member
    Former Member over 9 years ago
    I see that also the Edge 1000 now supports connect iq apps. Any chance of making this app available on the Edge 1000?
  • Former Member
    Former Member over 9 years ago
    Timeout problem

    Hello Travis,

    Even on the last update I still have an issue when launching a command.

    The IFFTT trigger works but the 'sending...' screens never disappears.

    After a minute or so, the 'sending...' screen finally disappears, but it looks more like the widget crashes than a normal leave.

    I have a forerunner 235 and an iPhone 5s.
    I just go to the widget, click a trigger and wait.

    Thank you very much!

    Michael
  • Former Member
    Former Member over 9 years ago
    To use this app, you must use Garmin Express or Garmin Connect Mobile to configure your IFTTT secret key and the event names. If you don't set these attributes, you will get an error when you try to submit.

    ...

    • In Garmin Express, click the ellipsis icon next to the Maker app icon to configure the app.


    Do you have to have Garmin Express to set this App up? It says Connect OR Express but I cannot figure out how to enter the secret key using Garmin Connect.
  • Former Member
    Former Member over 9 years ago
    Set up Secret Key in Garmin Connect

    How do I set up the secret key in Garmin Connect? There are only instructions for doing in in Garmin Express.
  • You either configure the app via Garmin Connect Mobile (on your phone) or Garmin Express (on your PC/Mac). If you want to configure via Garmin Connect Mobile, you need to click More > Garmin Devices > {Device} > ConnectIQ Apps.

    Travis