mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
better improve
This commit is contained in:
@@ -84,7 +84,7 @@ async function raiseLift() {
|
||||
|
||||
const idleActions = [
|
||||
turnOffRoomControls,
|
||||
dockAllRovers,
|
||||
// dockAllRovers,
|
||||
disableAllRoverNightVision,
|
||||
sendNeatoHome,
|
||||
raiseLift,
|
||||
|
||||
@@ -21,8 +21,8 @@ const liftConfig = haConfig.lift || {};
|
||||
|
||||
const upSwitchId = String(liftConfig.upSwitch || '').trim();
|
||||
const downSwitchId = String(liftConfig.downSwitch || '').trim();
|
||||
const interlockMs = Math.max(250, Number(liftConfig.interlockMs) || 4000);
|
||||
const commandCooldownMs = Math.max(interlockMs, Number(liftConfig.commandCooldownMs) || 3000);
|
||||
const interlockMs = Math.max(250, Number(liftConfig.interlockMs) || 9000);
|
||||
const commandCooldownMs = Math.max(interlockMs, Number(liftConfig.commandCooldownMs) || 15000);
|
||||
|
||||
const state = {
|
||||
busy: false,
|
||||
|
||||
Reference in New Issue
Block a user