POST Request for watering

To begin with, please surround your code with ``` to format it as a code block, like this:

def foo():
    return

Please also delete your JWT before posting. You can use something like this for posting code:

API_TOKEN = 'my token'
headers = {'Authorization': API_TOKEN, 'content-type': 'application/json'}

As for your main concern,

See the post for details.

In other words, you can create plants, sequences, and farm events using the API (just as you can do in the my.farmbot.io web app), but to sync that data so that the device can use it, or to send a command and have FarmBot move, you will need to use MQTT.

For information about the web app workflow, see the software documentation. If you have any questions about creating data using the API with Python, please let me know.