| ... | ... | @@ -3,6 +3,7 @@ title: 'MQTT Topic: frontend_thing_update' |
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `frontend_thing_update`
|
|
|
|
|
|
|
|
|
| ... | ... | @@ -18,12 +19,16 @@ title: 'MQTT Topic: frontend_thing_update' |
|
|
|
"mqtt_device_type": <string> | null
|
|
|
|
"project": <PROJECT>
|
|
|
|
"database": <DATABASE>
|
|
|
|
"qaqc": <QC>
|
|
|
|
|
|
|
|
"raw_data_storage": <S3>
|
|
|
|
"mqtt": <MQTT>
|
|
|
|
"qaqc": { # deprecated; qaqc is deprecated, see Annotation [1]
|
|
|
|
'default': <integer>, # deprecated; an index to lookup in configs list
|
|
|
|
'configs': [<QC>, ...] # deprecated; any number of QCs
|
|
|
|
} # deprecated;
|
|
|
|
"parsers": {
|
|
|
|
'default': <integer>, # an index to lookup in parsers list
|
|
|
|
'parsers': [<PARSER>, ...]
|
|
|
|
'parsers': [<PARSER>, ...] # any number of PARSERs
|
|
|
|
}
|
|
|
|
"external_sftp": <EXT_SFTP>
|
|
|
|
"external_api": <EXT_API>
|
| ... | ... | @@ -72,6 +77,20 @@ title: 'MQTT Topic: frontend_thing_update' |
|
|
|
"uri": <string>
|
|
|
|
}
|
|
|
|
|
|
|
|
<QC> = {
|
|
|
|
"version": 1
|
|
|
|
"type": "SaQC" # only the literal SaQC is supported
|
|
|
|
"name": <string> # currently the literal "MyConfig" is hardcoded in the frontend
|
|
|
|
"context_window": <string> | <integer>
|
|
|
|
"tests": [QC_TEST, ...]
|
|
|
|
}
|
|
|
|
|
|
|
|
<QC_TEST> = {
|
|
|
|
"position": <integer> # position of a datastream
|
|
|
|
"function": <string> # name of a SaQC function
|
|
|
|
"kwargs": <object> # arguments for the SaQC function
|
|
|
|
}
|
|
|
|
|
|
|
|
<EXT_SFTP> = {
|
|
|
|
"sync_enabled": <bool>
|
|
|
|
"uri": <string>
|
| ... | ... | @@ -91,6 +110,10 @@ title: 'MQTT Topic: frontend_thing_update' |
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Annotations
|
|
|
|
[1] _"qaqc"_ is deprecated in favor of a own QC form and own MQTT message that is send there. See also [new QC MQTT message](mqtt-topic-qaqc_settings_update)
|
|
|
|
|
|
|
|
|
|
|
|
## Version 6
|
|
|
|
|
|
|
|
Changes in parsers timestamp columns.
|
| ... | ... | |
| ... | ... | |