Cloud triggers Part 3 - Testing your cloud trigger
This part will walk you through publishing the changed property value, which will cause your cloud trigger to execute.
Testing your trigger
The last step of this guide is to test your cloud trigger.
- On your thing, publish a new property value of 84.
- If you are using a Gateway:
- Edit the trigger created above and change the value to 84.
- Fire the trigger.
- Verify it executed successfully.
- If you are using a module, execute the
following:
AT#DWSEND=0,property.publish,key,temp,value,84 #DWSEND: 3 OK #DWRING: 1,3,2 AT#DWRCV=3 OK #DWDATA: 3,0,2,OK
- If you are using a Gateway:
- Check the thing's event log for the message by
going to the thing details page and selecting the
Events tab:
- Check your email and verify you received an email
from the platform:
You have completed this guide
Continue onto What's next for additional resources to continue learning about the platform.
For information on cloud triggers in the Management Portal, see Triggers.
For information on projects and triggers in a gateway, see Projects and triggers.