/v1/electrical
Heater current
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/saunaheater-api/v1/electrical" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/saunaheater-api/v1/electrical", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/saunaheater-api/v1/electrical");
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/saunaheater-api/v1/electrical",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "A sauna heater is a resistive load (power factor 1), so the current = power ÷ voltage for single-phase, or ÷ (√3 × voltage) for three-phase. Most heaters above ~4 kW are wired three-phase to keep the per-leg current and wire size down. Size the breaker and cable for this current with the usual margin, and a sauna circuit normally needs its own RCD-protected supply.",
"inputs": {
"phase": 3,
"voltage": 400,
"heater_kw": 8
},
"current_a": 11.55
},
"meta": {
"timestamp": "2026-06-07T08:18:00.896Z",
"request_id": "2dcf1d63-ba77-4b50-b2a9-c6440001ee48"
},
"status": "ok",
"message": "Electrical",
"success": true
}