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
  • Maker works great! I have a it setup to call my mobile phone. This is useful if I need a excuse to get away from someone!
  • Yes, I could add this. I need to build a new version with support for the fenix5 and fr935 devices. Maybe I'll add these features then.


    I see why it wouldn't send a notification from my 935 :)
    Btw, I'm most interested in getting notifications from IFTTT to my watch (for habit building). Is that something possible ?
    Is your repo available somewhere, or can you make it OSS on github ? In which case, I might want to take some time and contribute to your app.
  • Former Member
    Former Member over 7 years ago
    Any timeline for compatibility with vivoactive 3? I have been using this since almost day one with my original vivoactive and would like to continue with my new watch, thanks.
  • ...
    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.


    Hi,

    I'm a newcomer with this widget : awesome ;) Thx a lot for the job...
    I have a F5X and main usage is to control my electric radiators.

    Nevertheless, I am confuse about the UI. Not sure that this post (above) is still applicable on last version, but I do not really understand why I have to (long) press Menu key (+ Enter to "Webhooks" option) to be able to navigate and choose another trigger. To have to go to a system menu and not stay inside the widget UI is not very "elegant"... And because in my case I use each time a different trigger from last used, could be a little bit boring.

    Could more easy (from UX pt of view) to have first a welcome screen, then with Enter key to get the list of triggers (maybe with last used automatically selected) and then Enter key to start the trigger. This navigation will be coherent, from my point of view.
    A widget like https://apps.garmin.com/fr-FR/apps/5...4-a3f375c44b10 have this king of UI principles...

    Just my 2 cents.

    BR
  • Former Member
    Former Member over 7 years ago
    Hola. Como lo has conseguido? No logro dar con los pasos para que me funcione. Un saludo
  • Former Member
    Former Member over 7 years ago
    Maker works great! I have a it setup to call my mobile phone. This is useful if I need a excuse to get away from someone!


    Hola. No logro que fucione. Cuales son los pasos? Un saludo

  • Hi guys!

    I always found Webhooks (previously Maker) an amazing widget. I already gave it the deserved five stars. ?????

    It was actually my first contact with IFTTT, and I'm glad I had it on my way. Now I wanted to give my contribution as a developer too, and I hope you don't mind if I share it here. The widget I designed is mainly intended for sending text messages (e-mail or SMS) via IFTTT Webhooks. It's completely free too.

    https://apps.garmin.com/en-US/apps/68efe490-db7d-4d49-93b3-16c64b4826a4

    Cheers!

    (PS: travis.vitek, if you find it inappropriate that I'm sharing my widget in your showcase thread, just let me know and I will delete this post.)


  • Thank you for this truly amazing widget!

    I use it on my E1030 to quickly mark location where I'm (e.g. cycling and see something interesting). The flow is:
    • E1030 -> WebHooks -> Google Spreadsheet
    Eventually, each press of in the widget button is reflected by a new row with time, location, link to google maps and map image. Something like below:


  • Former Member
    Former Member over 6 years ago
    Nice stuff! I made it work on my Forerunner 735XT. Now I can switch the lights remotely when approaching home :)
  • Hi, thanks for the app! I got it working but can't figure out on my VivoActive 3 and for those, like me, wondering how to access the events, you simply keep pressing the screen and they'll appear. Now I can control my Christmas tree lighs from my watch :D