Production intervals: weather 60s, sensors 30s

This commit is contained in:
James 2026-02-14 04:30:24 -05:00
parent 94fa7db000
commit 1b2c0b51c4
1 changed files with 2 additions and 2 deletions

View File

@ -377,7 +377,7 @@ async function updateWeather() {
} catch(e) {} } catch(e) {}
} }
updateWeather(); updateWeather();
setInterval(updateWeather, 86400000); // once per day setInterval(updateWeather, 60000); // every minute
// === ROOM SENSORS (7pm - 8am only) === // === ROOM SENSORS (7pm - 8am only) ===
const sensorEl = document.getElementById('room-sensors'); const sensorEl = document.getElementById('room-sensors');
@ -413,7 +413,7 @@ async function updateSensors() {
} }
updateSensors(); updateSensors();
setInterval(updateSensors, 5000); setInterval(updateSensors, 30000);
// === PULSE-OX CAMERA (7pm - 8am only) === // === PULSE-OX CAMERA (7pm - 8am only) ===
const camImg = document.getElementById('pulse-cam'); const camImg = document.getElementById('pulse-cam');