/v1/reservoir
Adjust reservoir EC
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}