1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/etc/examples/nodes/api.conf
Steffen Vogel abed592b9d Harmonize formatting and style of example configuration files
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-04-10 09:38:57 +02:00

42 lines
1.1 KiB
Text

# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
nodes = {
api_node = {
type = "api"
in = {
signals = (
{
# Same as 'id' in uAPI context
name = ""
# A human readable description of the channel
description = "Volts on Bus A"
# Same as 'datatype' in uAPI context
type = "float"
unit = "V"
payload = "events" # Or 'samples'
# An expected refresh/sample rate of the signal
rate = 100.0
range = {
min = 20.0
max = 100.0
}
readable = true
writable = false
}
)
}
out = {
signals = (
# Similar to above
)
}
}
}