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 8 years ago
    You'll find the widget here... https://apps.garmin.com/en-US/apps/f75f52c4-c832-43e8-8f82-7178a9da1985

    • Select the key shown at the top of the page, and copy it to the clipboard (CTRL+C)


    I cannot see a secret key. Could it be that with the new palettes IFTTT changed the channel configuration?
  • Yes, it is because of the IFTTT service update. They've reorganized things quite a bit. In case you haven't figured it out, I've updated my instructions.
  • Thanks for the new version, the one-click activation of a trigger and the memory of the last one used is handy.
  • Former Member
    Former Member over 8 years ago
    Thanx

    This really cool works nice on my fenix 3! also like the swithing with settings.
  • edge 520

    Does this work on the Edge 520? Ive followed all the steps, setup the maker channel built a recipe to send me an email etc. When I test it from a URL it works fine. But from my garmin, nothing happens other than the screen changes from maker logo to a circle. I copied and pasted the maker key so I've not made a typo. I've configured it from the garmin app and synced via bluetooth rather than garmin connect web.

    I dont know what else to try at this point. Any idea what I'm doing wrong?

    update:
    As soon as I got outside and therefore a GPS lock the widget worked perfectly. Perhaps it would be useful if the widget warned you it needs a GPS lock when the enter key is pressed if one isn't found. Alternatively remove the requirement to have a GPS lock altogether.
  • The app doesn't need a GPS lock unless you've configured it to send data that is derived from GPS (latitude, longitude, altitude, ...).

    When you configure the triggers, you can tell it what bits of data you want to send. If you configure it to send GPS data, it displays standard icons to communicate what is being done. When the app is looking for GPS position, it displays an icon that looks like this. When the GPS position is acquired, the icon will change to look like this. If it fails to get a GPS solution within 30 seconds, you should see an icon that looks like this, but it is shown in red.

    Similarly, if you configure your trigger to send the current time or date, it will show a calendar or a clock icon for a short period.

    Travis
  • Former Member
    Former Member over 8 years ago
    Could do with a little pointer in the right direction, Travis.

    I configured a simple applet to send my location (lat/long) and a timestap. Tested it with +That being a IFTTT notification and worked fine. However, when I set the +That to email, nothing happens. I get the confirmation on my Vivoactive HR that it has sent with no errors, and then nothing.

    I am using the email channel in IFTTT, and it seems to have my address in there correctly, so wondering if I am making an obvious mistake somewhere? If I check the applet on IFTTT, then it fires ok.

    Thanks for the widget.


    Edit: It seems the obvious thing I was missing was patience. Emails came through after an hour. Subsequent ones a bit quicker.
  • Fenix 3 Problem?! ( I can only see one Event/Trigger) in the widget menu

    The widget system requires that you enter the widget (by tapping the screen or pressing enter). Until you enter the widget, it won't receive many of the normal input events.

    If the widget started out in the trigger selection menu, you wouldn't be able to use arrow keys and screen swipes to navigate the menu until you had tapped the screen or pressed enter. Normally tapping the screen or pressing enter on a menu selects the given menu item, and this would vary from that normal behavior. There would be confusion.

    The only thing I could really do would be to go back to how the app worked. I could display the most recently used trigger initially. If you press enter or tapped the screen, that would initiate the command. If you press menu, you would be presented with a menu of the available triggers. When you pick one, the menu would go away and you'd see that trigger as the current selection.

    As it is now, you'd...

    • swipe to widget
    • press enter to enter widget
    • press up/down to select correct trigger
    • press enter to trigger action
    • press back to leave summary screen
    • press back to exit the widget


    With this proposed change, you'd...

    • swipe to widget
    • press enter to trigger action


    If the trigger you want was the last used. Otherwise, you'd...

    • swipe to widget
    • press menu to get to the trigger selection menu
    • press up/down to select correct trigger
    • press enter to choose that trigger
    • press enter to trigger action
    • press back to leave summary screen


    It would be fewer clicks on average, so it has some advantages. The problem is that I need to come up with some UI for the initial view. This, for me at least is the hardest thing to do. Of course another option would be to just have a single trigger for the widget, but offer a bunch of them as separate downloads.



    Hello Travis!
    I dont know if i am doing something wrong here or if there is an issue with the fenix3.
    I love your Maker App/Widget !!
    the only thing is, no matter what i configure in the Garmin expres i can only see one ( the first one) "Action/Event" on my fenix3 when i am scrolling through the widgets. so my question is how to choose between other Actions/Events on a fenix 3 ....


    And one more question. What for is the "Enable the IFTTT event in this app" switch for ? ( located in the Garmin express Config)
    What exactly do you enable with it?

    Thanks a lot
    cheers
    stefan
  • Found the solution already :)

    Thanks and sorry - was my mistake ...
  • Former Member
    Former Member over 8 years ago
    crashes and wipes out all the data on vivoactive+

    I installed this widget a few weeks ago. It worked fine after I installed it. While today when I want to use it again, it got stuck for some minutes and than everything I installed to my watch disappeared, including applications, widgets and watch faces, and all data disappeared, just like it was reset to factory.