-
Notifications
You must be signed in to change notification settings - Fork 0
/
Module.yaml
68 lines (68 loc) · 2.89 KB
/
Module.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
displayName: 'S7 Client' # Display name for the module that will be displayed in the UI.
moduleName: 's7-client' # Module name that will be used to reference the module, and uniquely identify the module and their versions.
description: 'This module reads out the memory of a Siemens LOGO! controller at a specified interval and sends the read values labeled with the respective virtual memory addresses to the next module.' # Module description that will be displayed in the UI.
versionName: 'v1.0.1' # Module version name that will be used to reference the module version, and uniquely identify the module version with a common name.
isPublic: true # Boolean value that indicates if the module is Public or Private.
categories: # Array of category that will be used to group the module in the UI.
- 'Ingress'
type: 'Input' # Module type (Input, Processing, Output) that will be used to group the module in the UI.
image:
name: 'weevenetwork/s7-client' # Image name from the docker registry.
tag: 'v1.0.1' # Image tag from the docker registry.
homepage: 'https://hub.docker.com/r/weevenetwork/s7-client' # Image homepage from the docker registry.
repository: 'https://github.com/weeve-modules/s7-client' # Repository URL to source code.
envs: # Array of environment variables that will be used to configure the module. Also used to show related fields on the UI.
- name: LOGO IP
key: LOGO_IP
description: IP address at which the LOGO! controller can be reached
value: ''
type: 'text'
options: []
dependencies: []
- name: Local TSAP
key: LOCAL_TSAP
description: Local TSAP identifier in hex format like 0x...
value: '0x3000'
type: 'text'
options: []
dependencies: []
- name: Remote TSAP
key: REMOTE_TSAP
description: Remote TSAP identifier (of the LOGO! controller) in hex format like 0x...
value: '0x2000'
type: 'text'
options: []
dependencies: []
- name: Port
key: PORT
description: Port number to reach the LOGO! controller
value: '102'
type: 'number'
options: []
dependencies: []
- name: VM addresses to read
key: VM_ADDR
description: Comma-separated list of VM addresses to read. The address identifier should start with "V" followed by a number, with an optional "W" (word) or "D" (double-word) between them. For example "VD3" will read the third double-word (4 bytes), "VW46" - the 46-th word (bytes 46-47) and "V10" the 10th byte.
value: ''
type: 'text'
options: []
dependencies: []
- name: Poll interval
key: POLL_INTERVAL
description: Poll interval in seconds
value: '5'
type: 'number'
options: []
dependencies: []
ports: []
mounts: []
envMounts: []
devices: []
envDevices: []
envPorts: []
tags: # Array of tags.
- 'S7'
- 'Python'
- 'Input'
- 'Client'
icon: 'https://icons-020-demo.s3.eu-central-1.amazonaws.com/mi_s7_input.png' # Icon URL that will be displayed in the UI.