summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-07 18:22:13 -0500
committerSam Anthony <sam@samanthony.xyz>2024-11-07 18:22:13 -0500
commita506bde81eb70d6488a479086bc9afbf0c7025a9 (patch)
treea2eb4a94635e90220ef211bdf7eb2c258e40bb1a
parent764c543fa4b5b45888b2282e6be241cd23bcabc5 (diff)
downloadsoen422-a506bde81eb70d6488a479086bc9afbf0c7025a9.zip
api: define POST /duty_cycle
-rw-r--r--api2
1 files changed, 1 insertions, 1 deletions
diff --git a/api b/api
index fb51277..6891eec 100644
--- a/api
+++ b/api
@@ -4,4 +4,4 @@ POST /humidity ?room=<string room ID>&humidity=<float RH> Set the measured hum
POST /target_humidity ?<float RH> Set the target humidity for the building.
GET /humidity Get the average humidity of the building.
GET /target_humidity Get the target humidity of the building.
-POST /duty_cycle <TODO> \ No newline at end of file
+POST /duty_cycle ?<float DC> Set the solenoid duty cycle. \ No newline at end of file