Better logging
This commit is contained in:
parent
ee70f34179
commit
e5ba2e52e5
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user