From 407a3fa6834c8fe06fa01b71aeeee72ae0c2f5ea Mon Sep 17 00:00:00 2001 From: cheapie Date: Sat, 12 Aug 2023 14:45:18 -0500 Subject: More door work The hoistway doors are now able to open and close under control of the controller. --- controller.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'controller.lua') diff --git a/controller.lua b/controller.lua index 5322e22..ee9a3b5 100644 --- a/controller.lua +++ b/controller.lua @@ -414,6 +414,10 @@ function celevator.controller.finish(pos,mem) celevator.drives[drivetype].resetpos(drivepos) elseif command.command == "estop" then celevator.drives[drivetype].estop(drivepos) + elseif command.command == "open" then + celevator.drives[drivetype].movedoors(drivepos,"open") + elseif command.command == "close" then + celevator.drives[drivetype].movedoors(drivepos,"close") end end end -- cgit v1.2.3