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.
Enter or update the following values into the Qodex environment.
Environment Variable Name | Description | Required |
---|---|---|
wateringEndpoint | an endpoint to water your plants | required |
plantPassword | a password to access your watering endpoint | required |
slackWebhook | Slack incoming webhook url | optional |
Read the original blog post here. And check out the collection documentation in the web here.
-
Water the plants POST {{wateringEndpoint}}/water
-
Should I water the plants? GET {{wateringEndpoint}}/hygrometer
-
Post confirmation message to Slack POST {{slackWebhook}}