1
0
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:
wellenvogel
2025-03-05 19:49:46 +01:00
parent a1f00dde82
commit 036add6feb
5 changed files with 45 additions and 13 deletions

View 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"
}
}
]