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)
  • if you change anything from mobile phone it is happened
    if you work with cable and PC everything work
  • Former Member
    Former Member over 9 years ago
    @Travis.vitek, all tested with with my VivoActive and my wife's FR920XT and it works great. I have configured mine with all 5 triggers and 4 on my wife's. FYI the app on her iPhone 6 also has the messed up order of data entry fields and so therefore I used express which was fine!

    Do you have donation link perhaps for your work?

    For anyone else interested, I have this controlling various actions on my Vera Home automation controller via the Maker Channel for my garage door and alarm panel. Here's a YouTube link of it controlling my Garage door https://youtu.be/E6ef1yvvgW4
  • I'm sorry stuff isn't working from Garmin Connect Mobile. I'll test changing the settings from there tonight.

    I'm thinking about taking this watch-app and turning it into a widget.

    I'm also thinking of making something similar to the IFTTT Do button Maker channel functionality. Users can specify a URL, HTTP method (GET/POST/PUT/DELETE), Content-Type, and Body. Submitting the request just packages that up and submits it. This could be used to work with IFTTT as well as many other web services that perform an action when a request is made.

    I'm also looking at writing a SmartThings app.
  • Former Member
    Former Member over 9 years ago
    I'm thinking about taking this watch-app and turning it into a widget.

    So is the advantage of doing it as a widget instead then that you could use each of these without launching the app first (one action less)?

    I'm also thinking of making something similar to the IFTTT Do button Maker channel functionality.

    Never used it really so I don't know what the advantage of that is apart from the other stuff you mentioned like a whole URL call...

    Users can specify a URL, HTTP method (GET/POST/PUT/DELETE)

    That would be great since I can cut out using IFTTT and the Maker Channel as the middle man and hit up my Home Automation Controller directly.
  • So is the advantage of doing it as a widget instead then that you could use each of these without launching the app first (one action less)?

    Yes, the big advantage is fewer taps/button presses. If you are looking at the clock, you could swipe once to locate the widget, then tap to 'enter' the widget. From there it would behave just like the app (swipe to select trigger, tap to activate).

    Never used it really so I don't know what the advantage of that is apart from the other stuff you mentioned like a whole URL call...

    Yeah. It would just be a bit more flexible.

    That would be great since I can cut out using IFTTT and the Maker Channel as the middle man and hit up my Home Automation Controller directly.

    Exactly. If your home automation system supports a JSON REST API, you could communicate with it directly (through your phone of course).

    Travis
  • Former Member
    Former Member over 9 years ago
    If your home automation system supports a JSON REST API, you could communicate with it directly (through your phone of course). Travis


    Its a MiOS vera controller, so they have a cloud connected portal that can relay a URL POST which is semi protected by username, password and token via a secure tunnel. Every device etc on there has a unique URL with different actions etc (on, off, % etc). Its pretty easy to use, however I guess security may not have been too good since they've recently deprecated the way it works in favor of some new scheme which involves a SW update that I refuse to do.
  • Former Member
    Former Member over 9 years ago
    I really like the idea of this app. Would it be possible to include an option to set a four digit pin with a pin promt for certain events (like opening a Garagedoor) ?
    This would be really nice as it could protect users from accidentally triggering an event.
  • simply...if you lost the Fenix, delete the IFTTT Recipient.

    if the problem is that you could accidentally open a garage door, enable the confirm action
  • Former Member
    Former Member over 9 years ago
    Thanks... that should help! but still ... a pin code protection would be nice...
  • Comments

    Ohhh I just discovered this and I like where this is going.

    I'd like to see
    1. This as a Widget rather than an App - Swipe and you are in it.

    2. A main screen multiple buttons
    Say 4 buttons in this sort of layout - (I think this works!)

    ;);)
    ;);)

    Triggering the actions directly rather than one screen for each button.

    Great idea - thank you !