26 lines
456 B
YAML
26 lines
456 B
YAML
metrics:
|
|
-
|
|
key: serial
|
|
type: string
|
|
label: "空调设备ID"
|
|
config:
|
|
default: ""
|
|
maxlen: 20
|
|
-
|
|
key: device_uuid
|
|
type: string
|
|
label: "设备UUID"
|
|
config:
|
|
default: ""
|
|
maxlen: 50
|
|
|
|
boot: "./boot.sh"
|
|
# stop can be used for execute stop action
|
|
stop: "./stop.sh"
|
|
|
|
# coll / collect for collection, has data upload
|
|
# stream has transform
|
|
# up / upload for data upload
|
|
service_type: "coll"
|
|
|
|
run_as_root: true |