1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 23:13:07 +01:00

Add config entrys

This commit is contained in:
Norbert Walter
2021-12-21 11:52:08 +01:00
parent 9e5d1b5244
commit 2c312a578c
4 changed files with 207 additions and 19 deletions

View File

@@ -5,7 +5,138 @@
"type": "boolean",
"default": "false",
"description": "Switch on logging of position acquired/failed",
"category": "OBP60",
"category": "OBP60 Settings",
"capabilities": {
"obp60":"true"
}
},
{
"name": "dateFormat",
"label": "Date Format",
"type": "list",
"default": "GB",
"description": "Date format [DE|GB|US] DE: 31.12.2022, GB: 31/12/2022, US: 12/31/2022",
"list": [
"DE",
"GB",
"US"
],
"category": "OBP60 Settings",
"capabilities": {
"obp60":"true"
}
},
{
"name": "timeZone",
"label": "Time Zone",
"type": "number",
"default": "0",
"check": "checkMinMax",
"min": -12,
"max": 12,
"description": "Time zone [UTC -12...+12]",
"category": "OBP60 Settings",
"capabilities": {
"obp60":"true"
}
},
{
"name": "draft",
"label": "Boat Draft",
"type": "number",
"default": "0",
"check": "checkMinMax",
"min": 0,
"max": 10,
"description": "The draft of the boat [0...10m]",
"category": "OBP60 Settings",
"capabilities": {
"obp60":"true"
}
},
{
"name": "fuelTank",
"label": "Fuel Tank",
"type": "number",
"default": "0",
"check": "checkMinMax",
"min": 0,
"max": 5000,
"description": "Fuel tank capacity [0...5000l]",
"category": "OBP60 Settings",
"capabilities": {
"obp60":"true"
}
},
{
"name": "fuelConsumption",
"label": "Fuel Consuption",
"type": "number",
"default": "0",
"check": "checkMinMax",
"min": 0,
"max": 1000,
"description": "Medium fuel consumption [0...1000l/h]",
"category": "OBP60 Settings",
"capabilities": {
"obp60":"true"
}
},
{
"name": "waterTank",
"label": "Water Tank",
"type": "number",
"default": "0",
"check": "checkMinMax",
"min": 0,
"max": 5000,
"description": "Water tank capacity [0...5000l]",
"category": "OBP60 Settings",
"capabilities": {
"obp60":"true"
}
},
{
"name": "batteryVoltage",
"label": "Battery Voltage",
"type": "number",
"default": "12",
"check": "checkMinMax",
"min": 0,
"max": 1000,
"description": "Fuel tank capacity [0...1000V]",
"category": "OBP60 Settings",
"capabilities": {
"obp60":"true"
}
},
{
"name": "batteryType",
"label": "Battery Type",
"type": "list",
"default": "Pb",
"description": "Type of battery",
"list": [
"Pb",
"Gel",
"AGM",
"LiFePo4"
],
"category": "OBP60 Settings",
"capabilities": {
"obp60":"true"
}
},
{
"name": "batteryCapacity",
"label": "Battery Capacity",
"type": "number",
"default": "0",
"check": "checkMinMax",
"min": 0,
"max": 5000,
"description": "Fuel tank capacity [0...5000Ah]",
"category": "OBP60 Settings",
"capabilities": {
"obp60":"true"
}
@@ -16,7 +147,7 @@
"type": "boolean",
"default": "false",
"description": "Using internal GPS modul NEO-6M",
"category": "OBP60",
"category": "OBP60 Hardware",
"capabilities": {
"obp60":"true"
}
@@ -27,7 +158,7 @@
"type": "boolean",
"default": "false",
"description": "Using internal BME280 modul",
"category": "OBP60",
"category": "OBP60 Hardware",
"capabilities": {
"obp60":"true"
}
@@ -38,7 +169,7 @@
"type": "boolean",
"default": "false",
"description": "Using external 1Wirew devices (DS18B20)",
"category": "OBP60",
"category": "OBP60 Hardware",
"capabilities": {
"obp60":"true"
}
@@ -55,7 +186,7 @@
"Only 5.0V",
"Min Power"
],
"category": "OBP60",
"category": "OBP60 Hardware",
"capabilities": {
"obp60":"true"
}
@@ -66,7 +197,7 @@
"type": "boolean",
"default": "false",
"description": "Can use for simulation data by missing bus data.",
"category": "OBP60",
"category": "OBP60 Hardware",
"capabilities": {
"obp60":"true"
}
@@ -83,7 +214,29 @@
"Logo + QR Code",
"Off"
],
"category": "OBP60",
"category": "OBP60 Display",
"capabilities": {
"obp60":"true"
}
},
{
"name": "statusLine",
"label": "Status line",
"type": "boolean",
"default": "true",
"description": "Show status line [on|off]",
"category": "OBP60 Display",
"capabilities": {
"obp60":"true"
}
},
{
"name": "refresh",
"label": "Refresh",
"type": "boolean",
"default": "false",
"description": "Refresh E-Ink display after each new page request [on|off]. A refresh reduce background shaddows from older pages.",
"category": "OBP60 Display",
"capabilities": {
"obp60":"true"
}
@@ -102,7 +255,7 @@
"Control by Key",
"On"
],
"category": "OBP60",
"category": "OBP60 Display",
"capabilities": {
"obp60":"true"
}
@@ -119,7 +272,7 @@
"GPS Fix",
"Limits Overrun"
],
"category": "OBP60",
"category": "OBP60 Display",
"capabilities": {
"obp60":"true"
}
@@ -130,7 +283,7 @@
"type": "boolean",
"default": "false",
"description": "Settings for buzzer",
"category": "OBP60",
"category": "OBP60 Buzzer",
"capabilities": {
"obp60":"true"
}
@@ -141,7 +294,7 @@
"type": "boolean",
"default": "false",
"description": "Settings for buzzer",
"category": "OBP60",
"category": "OBP60 Buzzer",
"capabilities": {
"obp60":"true"
}
@@ -152,7 +305,7 @@
"type": "boolean",
"default": "false",
"description": "Tone by limit overrun",
"category": "OBP60",
"category": "OBP60 Buzzer",
"capabilities": {
"obp60":"true"
}
@@ -169,7 +322,7 @@
"Longer Single Beep",
"Beep until Confirmation"
],
"category": "OBP60",
"category": "OBP60 Buzzer",
"capabilities": {
"obp60":"true"
}
@@ -182,8 +335,36 @@
"check": "checkMinMax",
"min": 0,
"max": 100,
"description": "Buzzer Loudness 0...100%",
"category": "OBP60",
"description": "Buzzer Loudness [0...100%]",
"category": "OBP60 Buzzer",
"capabilities": {
"obp60":"true"
}
},
{
"name": "numberPages",
"label": "Number Of Pages",
"type": "number",
"default": "4",
"check": "checkMinMax",
"min": 1,
"max": 10,
"description": "Number of user pages [1...10]",
"category": "OBP60 Pages",
"capabilities": {
"obp60":"true"
}
},
{
"name": "lastSettings",
"label": "Dummy",
"type": "number",
"default": "50",
"check": "checkMinMax",
"min": 0,
"max": 100,
"description": "Dummy",
"category": "OBP60 End",
"capabilities": {
"obp60":"true"
}