Water my rooftop plants

Number of APIs: 3

Running this collection with a Qodex monitor will water your plants at a regular interval.

Get started

Click the Run in Qodex button to import the sample collection and environment template into your Qodex app. You should now see the collection in the sidebar to the left and the environment selected in the dropdown in the top right.

import collection and environment

Enter or update the following values into the Qodex environment.

Environment Variable NameDescriptionRequired
wateringEndpointan endpoint to water your plantsrequired
plantPassworda password to access your watering endpointrequired
slackWebhookSlack incoming webhook urloptional

Read the original blog post here. And check out the collection documentation in the web here.

  1. Water the plants POST {{wateringEndpoint}}/water

  2. Should I water the plants? GET {{wateringEndpoint}}/hygrometer

  3. Post confirmation message to Slack POST {{slackWebhook}}