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!!
Help! String Function for IFTTT
ScruffR
#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.