mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 23:13:07 +01:00
#100: introduce extra_config, extra_js, extra_css as options in the environment
This commit is contained in:
49
lib/exampletask/exampleConfig.json
Normal file
49
lib/exampletask/exampleConfig.json
Normal file
@@ -0,0 +1,49 @@
|
||||
[
|
||||
{
|
||||
"name": "exampleConfig",
|
||||
"label": "monitor position",
|
||||
"type": "boolean",
|
||||
"default": "false",
|
||||
"description": "switch on logging of position acquired/failed",
|
||||
"category": "example",
|
||||
"capabilities": {
|
||||
"testboard":"true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "exampleBDSel",
|
||||
"label": "value to check",
|
||||
"type": "boatData",
|
||||
"default": "",
|
||||
"description": "select a value to monitor for value change",
|
||||
"category": "example",
|
||||
"capabilities": {
|
||||
"testboard":"true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "exTransducer",
|
||||
"label": "voltage transducer name",
|
||||
"type": "String",
|
||||
"default": "",
|
||||
"description": "set the name for the xdr transducer for the simulated voltage, leave empty to disable ",
|
||||
"category": "example",
|
||||
"capabilities": {
|
||||
"testboard":"true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "exInstanceId",
|
||||
"label": "voltage instance id",
|
||||
"type": "number",
|
||||
"default": 99,
|
||||
"description": "the N2K instance id for the simulated voltage ",
|
||||
"category": "example",
|
||||
"min": 0,
|
||||
"max": 255,
|
||||
"check": "checkMinMax",
|
||||
"capabilities": {
|
||||
"testboard":"true"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user