Made a few changes to have the ISYGarageDoorAccessory in a working state against my Garage door.
Changes:
this.device.state was always undefined, change this to access the device.ST to get the current status
Updated sendGarageDoorCommand to send a DON command followed by a DOF (to turn off the relay again)
Added a setTimeout timeToOpen to setTargetDoorState Closed -> Open state to simulate the door opening time as well as set the CurrentDoorState to OPENING
I've only tested used an alternate device configuration.
tsc also updated a bunch of other js files comment styling, let me know if I should include those as well.
Made a few changes to have the
ISYGarageDoorAccessory
in a working state against my Garage door.Changes:
this.device.state
was always undefined, change this to access the device.ST to get the current statussendGarageDoorCommand
to send aDON
command followed by aDOF
(to turn off the relay again)setTargetDoorState
Closed -> Open state to simulate the door opening time as well as set theCurrentDoorState
toOPENING
I've only tested used an
alternate
device configuration.tsc
also updated a bunch of other js files comment styling, let me know if I should include those as well.