mirror of
https://github.com/emqx/neuron.git
synced 2026-10-19 05:51:27 +08:00
38 lines
980 B
JSON
38 lines
980 B
JSON
{
|
|
"node_config": {
|
|
"node": "c1-a",
|
|
"params": {
|
|
"transport_mode": 0,
|
|
"connection_mode": 0,
|
|
"max_retries": 0,
|
|
"retry_interval": 0,
|
|
"interval": 20,
|
|
"host": "127.0.0.1",
|
|
"port": 502,
|
|
"timeout": 3000
|
|
}
|
|
},
|
|
"template_config": {
|
|
"name": "c1 template",
|
|
"plugin": "c1",
|
|
"groups": [
|
|
{
|
|
"name": "group1",
|
|
"interval": 2000,
|
|
"tags": [
|
|
{
|
|
"name": "tag1",
|
|
"type": 4,
|
|
"address": "1!400001",
|
|
"attribute": 1,
|
|
"precison": 1,
|
|
"decimal": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"library_c1": "libplugin-c1.so",
|
|
"library_s1": "libplugin-s1.so",
|
|
"library_sc1": "libplugin-sc1.so"
|
|
} |