Zum Inhalt springen
GET /v1/electrical

Heater current

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/saunaheater-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "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
}