diff --git a/static/dashboard.html b/static/dashboard.html index 5c96004..0529ec6 100644 --- a/static/dashboard.html +++ b/static/dashboard.html @@ -1155,7 +1155,7 @@
@@ -1234,7 +1234,7 @@ diastolic_bp: { low: 60, high: 90, critLow: 40, critHigh: 120 }, map_bp: { low: 70, high: 105, critLow: 60, critHigh: 130 }, respiratory_rate: { low: 12, high: 20, critLow: 8, critHigh: 30 }, - temperature: { low: 36.1, high: 37.2, critLow: 35.0, critHigh: 39.0 }, + temperature: { low: 97.0, high: 99.0, critLow: 95.0, critHigh: 102.2 }, }; // === State === @@ -1578,7 +1578,8 @@ } updateVitalCard('rr', data.respiratory_rate, 'respiratory_rate', v => `${Math.round(v)}/min`); - updateVitalCard('temp', data.temperature, 'temperature', v => `${v.toFixed(1)}°C`); + const tempF = data.temperature != null ? (data.temperature * 9/5) + 32 : null; + updateVitalCard('temp', tempF, 'temperature', v => `${v.toFixed(1)}°F`); updateVitalCard('map', data.map_bp, 'map_bp', v => `${Math.round(v)}mmHg`); // Update info bar @@ -1610,7 +1611,7 @@ pushWaveformPoint('spo2', data.spo2); pushWaveformPoint('bp', data.systolic_bp); pushWaveformPoint('rr', data.respiratory_rate); - pushWaveformPoint('temp', data.temperature); + pushWaveformPoint('temp', tempF); pushWaveformPoint('map', data.map_bp); }