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');