From d72e73e93db9df54ddcefbada18932cbda6d6399 Mon Sep 17 00:00:00 2001 From: vegano1 Date: Thu, 22 Aug 2024 13:43:54 -0400 Subject: [PATCH] add comment explaining safety relay --- include/hepa-uv/core/uv_task.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/hepa-uv/core/uv_task.hpp b/include/hepa-uv/core/uv_task.hpp index 6af2f5826..3d5fcb32a 100644 --- a/include/hepa-uv/core/uv_task.hpp +++ b/include/hepa-uv/core/uv_task.hpp @@ -149,6 +149,9 @@ class UVMessageHandler { return; } + // The safety relay needs to be active (Door Closed, Reed Switch set, and + // Push Button pressed) in order to turn on the UV Light. So Send an + // error if the safety relay is not active when trying to turn on the light. update_safety_relay_state(); if (light_on && !safety_relay_active) { if (_timer.is_running()) _timer.stop();