You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Locate `updates/meta` section in your `baseDeltas.json`
366
+
```
367
+
{
368
+
"context": "vessels.self",
369
+
"updates": [
370
+
{
371
+
"meta": [
372
+
```
373
+
Insert content like below
366
374
```
367
-
"vessels": { //<= this key already exist do not insert
368
-
"self": { //<= this key already exist do not insert
369
-
"electrical": { //<= if this key exists, insert the following key below it
370
-
"batteries": { //<= if this key exists, insert the following key below it
371
-
"1": { //<= if this key exists, insert the following key below it
372
-
"voltage": { //<= if this key exists, insert the following key below it
373
-
"meta": {
374
-
"displayName": "battery 1",
375
-
"zones": [
376
-
{"upper": 11.8, "state": "alarm"},
377
-
{"upper": 12, "lower": 11.8, "state": "warn"},
378
-
{"upper": 14.6, "lower": 12, "state": "nominal"},
379
-
{"lower": 14.6, "state": "alarm"}
380
-
],
381
-
"displayScale": {
382
-
"lower": 11.5,
383
-
"upper": 15.5
384
-
}
375
+
{
376
+
"path": "electrical.batteries.1.voltage",
377
+
"value": {
378
+
"displayName": "battery 1",
379
+
"zones": [
380
+
{
381
+
"upper": 11.8,
382
+
"state": "alarm"
383
+
},
384
+
{
385
+
"upper": 12,
386
+
"lower": 11.8,
387
+
"state": "warn"
388
+
},
389
+
{
390
+
"upper": 14.6,
391
+
"lower": 12,
392
+
"state": "nominal"
393
+
},
394
+
{
395
+
"lower": 14.6,
396
+
"state": "alarm"
385
397
}
386
-
}
398
+
],
399
+
"displayScale": {
400
+
"lower": 11.5,
401
+
"upper": 15.5
387
402
}
388
-
}
389
403
}
390
-
}
391
404
}
392
405
```
406
+
Add `,` after the last `}` if your section is followed by another one.
407
+
393
408
**Make sure the content is valid JSON**.
394
409
Using an editor that validates the format is a great help !
395
410
396
411
For more information on zones see [the Signal K Specification](https://signalk.org/specification/1.5.0/doc/data_model_metadata.html#metadata-for-a-data-value)
397
-
and [Server FAQ](https://github.com/SignalK/signalk-server/wiki/FAQ:-Frequently-Asked-Questions#how-to-add-missing-units-and-static-data)
412
+
and [Server FAQ](https://github.com/SignalK/signalk-server/wiki/FAQ:-Frequently-Asked-Questions#if-you-have-a-signalkbasedeltasjson-file)
398
413
399
414
<aid="2_3_1_5_2"></a>
400
415
**2.3.1.5.2. Compass Widget**[Back to up menu](#2_3_1_5)
@@ -438,7 +453,7 @@ The configuration is manual and must be done only once on the Signal K server.
438
453
- Edit the `~/.signalk/baseDeltas.json` file on your Signal K server.
0 commit comments