Turn auger on with igniter
This commit is contained in:
parent
0309ffa615
commit
8d947e5ffa
@ -182,6 +182,7 @@ const functions = {
|
|||||||
},
|
},
|
||||||
ignite(gpio) {
|
ignite(gpio) {
|
||||||
config.status.igniter = 1;
|
config.status.igniter = 1;
|
||||||
|
config.status.auger = 1;
|
||||||
config.igniterOnTime = Date.now();
|
config.igniterOnTime = Date.now();
|
||||||
config.igniterOffTime = config.igniterOnTime + config.igniterWaitTime; // 7 Minutes, 420,000ms
|
config.igniterOffTime = config.igniterOnTime + config.igniterWaitTime; // 7 Minutes, 420,000ms
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user