From 85bf00a35aab39d3842c500b7f7c322fe5ef2ee1 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 6 Jan 2023 17:12:27 -0500 Subject: [PATCH] Set auger off time autometically --- websvr.js | 2 +- www/views/index.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/websvr.js b/websvr.js index ae08071..2a50883 100644 --- a/websvr.js +++ b/websvr.js @@ -54,7 +54,7 @@ app.post('/', (req, res) => { } if (req.body.reload != undefined) { fn.commands.refreshConfig({ - augerOff: req.body.augerOff, + augerOff: 2000 - req.body.augerOn, augerOn: req.body.augerOn, pause: req.body.pauseInt }); diff --git a/www/views/index.html b/www/views/index.html index 7c1eaae..36a70e9 100644 --- a/www/views/index.html +++ b/www/views/index.html @@ -16,7 +16,6 @@ ms
- ms
ms