From e5ba2e52e5d7feec220d130d9c8f2dc0151329df Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sun, 24 Nov 2024 18:18:03 -0500 Subject: [PATCH] Better logging --- src/_EMR/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/_EMR/main.js b/src/_EMR/main.js index efa0392..1b485f4 100644 --- a/src/_EMR/main.js +++ b/src/_EMR/main.js @@ -7,14 +7,17 @@ const { State } = require('../custom_modules/HestiaClasses.js'); // Variables process.pinMap = new Map(); +fn.log('Initializing pinMap'); for (const pin of config.pins) { process.pinMap.set(pin.key, pin); } // Initialize state +fn.log('Initializing state'); process.psState = new State(config); // Auger Loop +fn.log('Starting auger loop'); setInterval(fn.routines.cycleAuger, 2000); fn.log('Setting exhaust to low to keep NC relay closed and fan running');