WatchApp: GIFTTT Alpha (Garmin device IFTTT trigger)

https://apps.garmin.com/en-US/apps/04890351-a25c-40ad-afae-f3c6907fe05f

GIFTTT is a simple application 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
  • Turn on or turn off a fan or other device
  • Control a programmable thermostat
  • Change the ambient lighting, open/close blinds
  • Text your wife a pre-written message


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

Instructions:
  • To use this app, you'll need to configure an IFTTT account, and activate the Maker channel (http://ifttt.com).
  • Once you've done this, you'll have to get into the application settings for GIFTTT and set the secret key you were given.
  • You will then need to create an IFTTT recipe to connect the services that you wish to use. For instance, if you wish to send your wife a pre-written text message, you would configure the Maker channel as the 'this' portion of the recipe, and iOS/Android Notification as the 'that'.
  • Now that you have a IFTTT recipe in place, you will need to configure one of the tasks in GIFTTT with the name and values you want to feed to the IFTTT recipe. You can do this from the GIFTTT menu for the task you want to modify.
  • To submit an action, you just have to pull it up on screen it and press enter.


Notes:
  • I don't currently have any logic in place to verify your key is correct and I don't check that you've entered one at all. I plan to fix this in the future.
  • The app currently does nothing to tell you that your device is not connected Garmin Connect Mobile. You will get errors when trying to submit requests, not before. I'd like to fix this so users see a not connected page.
  • The app currently displays a 404 error code. This does not mean that the send didn't work, it just means that the IFTTT server responded with data that couldn't be parsed by the devices JSON parser. I need to figure out how to tell IFTTT to send back JSON data.
  • There is currently no support for adding/deleting actions. You can rename and configure the existing ones, but you can't add or delete them. This will be addressed soon.
  • This is currently a watch-app, but I'd like it to be a widget. As soon as I can figure out how to get the widget to let me use the up/down arrows, I'll switch over. I'm considering adding a widget that has only one action (similar to the existing IFTTT Do channel).
  • The user interface is a little clunky. I'll work to refine it in the future.
  • I'd like to be able to send data from the device in place of the hard-coded value strings. For instance, you could send your current position and speed data to IFTTT.
  • If you have ideas on how to improve this app, please feel free to make requests.


Release History:

0.0.2
* Remove my secret key from the default settings.

0.0.1
* Initial Revision
* Supports 920XT with 4.20 firmware (ConnectIQ 1.1.2)
  • Yup. You have a very long key...

    Thanks for your patience. I've contacted the folks at IFTTT to figure out if this is normal behavior or not. If it is, I'll have to code up my own text input view/delegate. Technically I should probably do this anyway (so I can support the vivoactive), but ugh..

    Travis
  • (so I can support the vivoactive)
    Travis


    vivoactive please :)
  • Bug found: i can't delete the values when i create new Events. I can delete the "value1", "value2", "value3" strings in the value field, but then i can not save. As soon as i type one letter i can save.

    I've created this post that will hopefully see some action from Garmin. I can create a workaround, but it isn't great. If the user enters all whitespace, I can treat that as the empty string. Another possibility would be to not prompt for the value fields at all. If you want them you can go back and edit the event to add them later.

    Bug found: Name (Event) can not handle SPACE "navMytown" works fine. "Nav Mytown" doesn't. Maybe thats a ifttt problem and not a bug.

    This is my bug. I need to url encode the event name as well as the values. I've updated the app and uploaded it again to the same location.
  • Thank you so much for helping to test this. Having a fresh set of eyes helps tremendously. Being the author, it is often difficult to see bugs sitting right in front of me. I'm going away for the weekend. I don't plan to make changes to the app until I get back on Sunday, but feedback is greatly appreciated.

    For those who didn't notice, I've posted versions for the fenix3, epix, d2bravo and fr920xt here. When I get back on Sunday I'll upload the latest version to the app store.

    Travis
  • Former Member
    Former Member over 10 years ago
    Were you able to upload it to the store for the fenix 3?

    Dying to try this out. This could make the watch possibly do anything, as we can link ifttt with tasker.
  • on

    on Epix when i trigered event nothing happened tested event without watch all work seem that watch not triggering event :(
  • when you say nothing happened, that leads me to believe you didn't trigger the event.

    If you tap the screen (on a touch-enabled device) or press enter, a progress bar will appear and an attempt is made to send the web service request. The progress bar stays up until the request is satisfied or an error occurs, at which point the normal event screen will be shown with the response status.

    Do you see anything to indicate the request has been sent?
  • i recieve progress screen
    after this error 404
    now it said beta expired
  • installed again
    i have progress bar after that i have trigger name on screen
    under that 401
    under that
    value1
    value2
    value3
  • 124

    i entered a key again and i see on verifiying only 20 letters without last one tried 3 times