Help! String Function for IFTTT


#1

I am trying to create a function that is exposed to IFTTT that returns “OPEN” or “CLOSED” for my garage door. It appears that these functions can only return int values so I am not sure how to tie this into Google Assistant via IFTTT. Please help me!!


#2

Is there any way you can interpret that integer data on the receiving end?


#3

If you look at the plugin for Google Assistant I don’t see a way.


#4

The more I look at this, the more I believe it’s just not possible with IFTTT right now.


#5

There is no way to return a string via Particle.function() but IFTTT can also read a Particle.variable() which can be altered in your function.