2021-12-02 04:14:44 -05:00
|
|
|
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
|
2022-01-10 17:52:36 +01:00
|
|
|
---
|
2021-12-02 04:14:44 -05:00
|
|
|
|
|
|
|
type: object
|
|
|
|
title: Node
|
|
|
|
properties:
|
|
|
|
|
|
|
|
vectorize:
|
|
|
|
type: integer
|
|
|
|
default: 1
|
|
|
|
description: |
|
|
|
|
This setting allows to send multiple samples in a single message to the destination nodes.
|
|
|
|
|
|
|
|
The value of this setting determines how many samples will be combined into one packet.
|
|
|
|
|
|
|
|
hooks:
|
2021-12-06 09:25:55 +01:00
|
|
|
$ref: hook_list.yaml
|
2021-12-02 04:14:44 -05:00
|
|
|
|
|
|
|
builtin:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
title: Builtin hook functions
|
|
|
|
description: |
|
|
|
|
By default, each node and paths has a couple of default hooks attached to them. With this setting the attachment of built-in hooks can be disabled.
|
|
|
|
|
|
|
|
in:
|
|
|
|
type: object
|
2022-01-25 09:54:21 +01:00
|
|
|
title: Input configuration (received by VILLASnode)
|
2021-12-02 04:14:44 -05:00
|
|
|
properties:
|
|
|
|
vectorize:
|
|
|
|
type: integer
|
|
|
|
minimum: 1
|
|
|
|
|
|
|
|
signals:
|
2022-01-25 09:54:21 +01:00
|
|
|
$ref: signal_list.yaml
|
2021-12-02 04:14:44 -05:00
|
|
|
|
|
|
|
hooks:
|
2021-12-06 09:25:55 +01:00
|
|
|
$ref: hook_list.yaml
|
2021-12-02 04:14:44 -05:00
|
|
|
|
|
|
|
out:
|
|
|
|
type: object
|
2022-01-25 09:54:21 +01:00
|
|
|
title: Output configuration (sent out by VILLASnode)
|
2021-12-02 04:14:44 -05:00
|
|
|
properties:
|
|
|
|
|
|
|
|
vectorize:
|
|
|
|
type: integer
|
|
|
|
|
2022-03-28 16:21:41 +02:00
|
|
|
signals:
|
|
|
|
type: array
|
|
|
|
title: List of signals send out to this node
|
|
|
|
description: |
|
|
|
|
The outgoing signal list is determined and runtime an must not be provided by the user configuration.
|
|
|
|
|
|
|
|
example:
|
|
|
|
- name: tap_position
|
|
|
|
type: integer
|
|
|
|
init: 0
|
|
|
|
- name: voltage
|
|
|
|
type: float
|
|
|
|
unit: V
|
|
|
|
init: 230.0
|
|
|
|
|
|
|
|
items:
|
|
|
|
$ref: signal_spec.yaml
|
|
|
|
|
2021-12-02 04:14:44 -05:00
|
|
|
hooks:
|
2021-12-06 09:25:55 +01:00
|
|
|
$ref: hook_list.yaml
|
2021-12-02 04:14:44 -05:00
|
|
|
|
|
|
|
netem:
|
|
|
|
$ref: netem.yaml
|