|
|
---
|
|
---
|
|
|
title: 'MQTT Topic: frontend_thing_update'
|
|
title: 'MQTT Topic: frontend_thing_update'
|
|
|
---
|
|
---
|
|
|
|
|
|
|
# `frontend_thing_update`
|
|
# `frontend_thing_update`
|
|
|
|
|
|
|
|
:warning: This is still WIP
|
|
:warning: This is still WIP
|
| ... | @@ -15,44 +16,42 @@ title: 'MQTT Topic: frontend_thing_update' |
... | @@ -15,44 +16,42 @@ title: 'MQTT Topic: frontend_thing_update' |
|
|
"name": <string>,
|
|
"name": <string>,
|
|
|
"uuid": <string>,
|
|
"uuid": <string>,
|
|
|
},
|
|
},
|
|
|
"ingest_type": thing.datasource_type,
|
|
"ingest_type": <string>
|
|
|
"database": {
|
|
"database": {
|
|
|
"username": <string>
|
|
"username": <string>
|
|
|
"password": <string>
|
|
"password": <string> # encrypted
|
|
|
"url": <string>
|
|
"url": <string> # i.e. postgresql://user@postgres:5432/foodb
|
|
|
"ro_username": <string>
|
|
"ro_username": <string>
|
|
|
"ro_password": <string>
|
|
"ro_password": <string> # encrypted
|
|
|
"ro_url": <string>
|
|
"ro_url": <string> # i.e. postgresql://ro_user@postgres:5432/foodb
|
|
|
"schema": <string>
|
|
"schema": <string> # i.e. foodb (same as in url)
|
|
|
},
|
|
},
|
|
|
"qaqc": get_qaqc_properties(thing),
|
|
"qaqc": ... # TODO
|
|
|
"parsers": get_parser_properties(thing),
|
|
"parsers": ... # TODO
|
|
|
"mqtt_device_type": (
|
|
"mqtt_device_type": <string> | null
|
|
|
thing.mqtt_device_type.name if thing.mqtt_device_type else None
|
|
|
|
|
),
|
|
|
|
|
"raw_data_storage": {
|
|
"raw_data_storage": {
|
|
|
"bucket_name": <string>
|
|
"bucket_name": <string>
|
|
|
"username": <string>
|
|
"username": <string>
|
|
|
"password": <string>
|
|
"password": <string> # encrypted
|
|
|
"filename_pattern": <string>
|
|
"filename_pattern": <string>
|
|
|
},
|
|
},
|
|
|
"mqtt": {
|
|
"mqtt": {
|
|
|
"username": <string>
|
|
"username": <string>
|
|
|
"password_hash": <string>
|
|
"password_hash": <string>
|
|
|
"password": <string>
|
|
"password": <string> # encrypted, deprecated
|
|
|
"topic": <string>
|
|
"topic": <string>
|
|
|
"uri": <string>
|
|
"uri": <string>
|
|
|
},
|
|
},
|
|
|
"external_sftp": {
|
|
"external_sftp": {
|
|
|
"sync_enabled": thing.ext_sftp_sync_enabled,
|
|
"sync_enabled": <bool>
|
|
|
"uri": <string>
|
|
"uri": <string>
|
|
|
"path": <string>
|
|
"path": <string>
|
|
|
"username": <string>
|
|
"username": <string>
|
|
|
"password": <string>
|
|
"password": <string> # encrypted
|
|
|
"sync_interval": thing.ext_sftp_sync_interval,
|
|
"sync_interval": <number>
|
|
|
"public_key": <string>
|
|
"public_key": <string>
|
|
|
"private_key": null,
|
|
"private_key": <string> # encrypted
|
|
|
},
|
|
},
|
|
|
"external_api": get_http_api_properties(thing),
|
|
"external_api": ... # TODO
|
|
|
}
|
|
}
|
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |