GateToggle
Defined in: server/api.d.ts:5671
Properties
Section titled “Properties”accepted
Section titled “accepted”accepted:
boolean
Defined in: server/api.d.ts:5675
Whether a cycle started.
opening
Section titled “opening”opening:
boolean
Defined in: server/api.d.ts:5685
The direction taken, or the one that was refused.
reason
Section titled “reason”reason:
string
Defined in: server/api.d.ts:5680
Why nothing moved, as a phrase that reads after the gate’s name: is already open, is already closing. Empty when a cycle started.
seconds
Section titled “seconds”seconds:
number
Defined in: server/api.d.ts:5690
How long the motion still has to run. 0 when nothing moved.