1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-29 05:33:05 +01:00

Add showValues as config parameter

This commit is contained in:
norbert-walter
2025-12-12 13:09:06 +01:00
parent 6edf847958
commit 69367b91d7
5 changed files with 165 additions and 74 deletions

View File

@@ -934,7 +934,7 @@
"OBP Service",
"Local Service"
],
"category": "OBP60 Navigation",
"category": "OBP40 Navigation",
"capabilities": {
"obp40":"true"
}
@@ -945,11 +945,14 @@
"type": "string",
"default": "192.168.15.10",
"check": "checkIpAddress",
"description": "IP address only for local map service e.g. 192.168.15.10\nor an MDNS name like Raspi.local",
"category": "OBP60 Navigation",
"description": "IP address for local map service e.g. 192.168.15.10\nor an MDNS name like Raspi.local",
"category": "OBP40 Navigation",
"capabilities": {
"obp40":"true"
}
},
"condition": [
{ "mapsource": ["Local Service"] }
]
},
{
"name": "localPort",
@@ -958,10 +961,13 @@
"default": "8080",
"check":"checkPort",
"description": "TCP port for local map server",
"category": "TCP client",
"category": "OBP40 Navigation",
"capabilities": {
"obp40":"true"
}
},
"condition": [
{ "mapsource": ["Local Service"] }
]
},
{
"name": "maptype",
@@ -976,47 +982,7 @@
"Stadimaps Toner",
"Free Nautical Chart"
],
"category": "OBP60 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "zoomlevel",
"label": "Default Zool Level",
"type": "number",
"default": "15",
"check": "checkMinMax",
"min": 7,
"max": 17,
"description": "Zoom level for map [7..17]; 15 = default",
"category": "OBP60 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "grid",
"label": "Show Grid",
"type": "boolean",
"default": "false",
"description": "Show the grid for latutude and longitude",
"category": "OBP60 Navigation",
"capabilities": {
"obp40": "true"
}
},
{
"name": "orientation",
"label": "Map Orientation",
"type": "list",
"default": "North Dirirection",
"description": "Map orientation for navigation",
"list": [
"North Direction",
"Travel Direction"
],
"category": "OBP60 Navigation",
"category": "OBP40 Navigation",
"capabilities": {
"obp40":"true"
}
@@ -1030,11 +996,73 @@
"min": 1,
"max": 50,
"description": "Refresh distance between updates [1..50 m], 15 m = default",
"category": "OBP60 Navigation",
"category": "OBP40 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "zoomlevel",
"label": "Default Zoom Level",
"type": "number",
"default": "15",
"check": "checkMinMax",
"min": 7,
"max": 17,
"description": "Start zoom level for map [7..17]; 15 = default",
"category": "OBP40 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "orientation",
"label": "Map Orientation",
"type": "list",
"default": "North Dirirection",
"description": "Map orientation for navigation",
"list": [
"North Direction",
"Travel Direction"
],
"category": "OBP40 Navigation",
"capabilities": {
"obp40":"true"
}
},
{
"name": "grid",
"label": "Show Grid",
"type": "boolean",
"default": "false",
"description": "Show the grid for latutude and longitude",
"category": "OBP40 Navigation",
"capabilities": {
"obp40": "true"
}
},
{
"name": "showvalues",
"label": "Show Values",
"type": "boolean",
"default": "false",
"description": "Show boat data values in the left upper map corner",
"category": "OBP40 Navigation",
"capabilities": {
"obp40": "true"
}
},
{
"name": "ownheading",
"label": "Alternativ Heading",
"type": "boolean",
"default": "false",
"description": "Calculating an alternative travel direction for\na better and calmer map orientation",
"category": "OBP40 Navigation",
"capabilities": {
"obp40": "true"
}
},
{
"name": "display",
"label": "Display Mode",