This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

button_press event values with IFTTT

Hi - I have a Nordic Thingy 52 which I have successfully configured through IFTTT to turn on a smart plug. The out-of-the-box  IFTTT formula for this smart plug only gives me one option per event, meaning I can't toggle the plug on and off with each button_press event. I need to either choose "Turn on" or "Turn Off". 

My question is how I would I either:

* submit a different web hook for the button_press event each time - like "button_press_on" and "button_press_off"

or

* use some other IFTTT formula to handle the button_press event and relay a toggled value to my smart home device.

Let me know if you have any ideas. The IFTTT forumulas for my smart plug are here:

https://ifttt.com/smartlife

Also - is there some sort of documentation for the events that are triggered within the Nordic Thingy and their values?

Parents
  • Hi,

    Happy to learn that you have Thingy:52 controlling your smart plug!

    You can specify different events when sending data to IFTTT. Instead of having one event called button_press you could have two separate events: button_on and button_off. You could then use these events when triggering your smart plug in IFTTT. This is how we do it in our Thingy:52 Fan Demo.

    You can find more details about the functionality of Thingy:52 and Cloud (IFTTT) in our Infocenter.

    Another possible solution would be to use the IFTTT Maker Platform. With this you can create your own filters in JavaScript and it might be possible to create a simple toggle. The documentation on filters is a bit sparse so you will have to do some digging.

    Are you using the iOS, Android or Web app with Thingy:52?

    Ketil

  • Thanks for the reply - the only thing I am confused about is that, in the video, you are in some sort of web interface, where you can type in an event name.

    Video demo event

    There is nothing like that in the Nordic app that I can find. There are 3 events that are predefined and non-editable: button_press, pressure_update, and temperature_update. How do I define my own event names and tie them to specific Thingy actions?

    Events in the nordic app

Reply
  • Thanks for the reply - the only thing I am confused about is that, in the video, you are in some sort of web interface, where you can type in an event name.

    Video demo event

    There is nothing like that in the Nordic app that I can find. There are 3 events that are predefined and non-editable: button_press, pressure_update, and temperature_update. How do I define my own event names and tie them to specific Thingy actions?

    Events in the nordic app

Children
No Data
Related