From 1919a9c518c669cf20afcf457274a7e1fee07cdc Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 17 Nov 2023 10:18:40 -0500 Subject: [PATCH] Add status indicators for ign/exh --- www/views/index.html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/www/views/index.html b/www/views/index.html index 58c9b26..6f6bfaa 100644 --- a/www/views/index.html +++ b/www/views/index.html @@ -22,7 +22,9 @@
@@ -30,6 +32,14 @@ + + + + + + + + @@ -116,12 +126,16 @@ // Get the elements we need to update const statusTable = document.getElementById('status-table'); const augerStatus = statusTable.rows[0].cells[1]; - const feedRate = statusTable.rows[1].cells[1]; + const igniterStatus = statusTable.rows[1].cells[1]; + const exhaustStatus = statusTable.rows[2].cells[1] + const feedRate = statusTable.rows[3].cells[1]; const feedRateSelect = document.getElementById('feed-rate-select'); // console.log(config); augerStatus.innerHTML = parseStatus(config.status.auger); + igniterStatus.innerHTML = parseStatus(config.status.igniter); + exhaustStatus.innerHTML = parseStatus(config.status.exhaust); switch (config.intervals.augerOn) { case '500':
Auger
Igniter
Exhaust
Feed Rate