I have some exposed functions on a Particle Photon, such as:
The documentation wants this to be called with a curl command like this:
-d access_token=123412341234 -d params=r1,HIGH
Can I have a switch on the ubidots dashboard that calls that function? The documentation talks about doing a GET from the particle side, in the program loop, constantly checking for the state of a variable. However my loop is long, and I don’t want any delay. Is there a method that can call the exposed function directly, without having the photon constantly asking for an update?