I wanted to update this community as I could not find any good or updated information on how to use tasker to POST commands to Particle
- Open up Tasker
- Select Tasks from top
- Push the + button on bottom
- Name your task ( this can be anything you would like)
5.Hit the + on the bottom to select an action - Select Net
- Then Http POST
Once inside the action edit screen (screen it brings you to after selecting HTTP POST) do the following:
-
Server Port: https://api.particle.io
-
Path: /v1/devices/your_device_id/your_function?access_token=your_access_token
Remember to replace the above with your unique id, token, and function in your particle script -
Data/File: args=D2,HIGH
Please note: your function from #2 can be anything and is defined in your script on the Particle side, also note that in your Data/File this may also be different depending on how you define it on the Particle script side as well.
Hope this helps anyone looking for a solution.