/v1/reservoir
Adjust reservoir EC
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/hydroponics-api/v1/reservoir" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hydroponics-api/v1/reservoir", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hydroponics-api/v1/reservoir");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/hydroponics-api/v1/reservoir",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "To lower EC, add plain water: W = V × (current/target − 1). Mixing conserves total dissolved salts, so EC × volume stays constant.",
"action": "dilute",
"inputs": {
"volume": 100,
"target_ec": 1.6,
"current_ec": 2.4
},
"add_water_liters": 50,
"final_volume_liters": 150
},
"meta": {
"timestamp": "2026-06-05T21:48:45.146Z",
"request_id": "79911e27-6eca-4dd1-9167-d3587088b294"
},
"status": "ok",
"message": "Reservoir adjust",
"success": true
}