2021-11-18 12:10:36 +01:00
|
|
|
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
|
2022-01-10 17:52:36 +01:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
---
|
2021-11-18 12:10:36 +01:00
|
|
|
allOf:
|
2022-01-10 17:52:36 +01:00
|
|
|
- type: object
|
2024-02-28 00:12:39 +01:00
|
|
|
properties:
|
2022-01-10 17:52:36 +01:00
|
|
|
mode:
|
|
|
|
description: The triggering condition at which the gate opens.
|
|
|
|
type: string
|
|
|
|
default: rising_edge
|
|
|
|
enum:
|
|
|
|
- above
|
|
|
|
- below
|
|
|
|
- rising_edge
|
|
|
|
- falling_edge
|
|
|
|
threshold:
|
|
|
|
default: 0.5
|
|
|
|
description: The threshold the signal needs to overcome before the gate opens.
|
|
|
|
type: number
|
|
|
|
duration:
|
|
|
|
description: The number of seconds for which the gate opens when the triggering condition is met. Exclusive with the `samples` setting.
|
|
|
|
type: number
|
|
|
|
samples:
|
|
|
|
description: The number if samples for which the gate opens when the triggering condition is met. Exclusive with the `duration` setting.
|
|
|
|
type: number
|
2022-04-05 17:32:37 +02:00
|
|
|
|
2022-04-07 08:52:19 +02:00
|
|
|
- $ref: ../hook_single.yaml
|