Help! String Function for IFTTT

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!!

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

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

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

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.

1 Like