nausto-signalk 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -2
- package/index.cjs +1 -0
- package/package.json +30 -4
- package/plugin.cjs +1561 -0
- package/public/Manrope-OFL.txt +94 -0
- package/public/Manrope.ttf +0 -0
- package/public/index.html +77 -0
- package/public/jsQR-LICENSE.txt +202 -0
- package/public/nausto-mint.svg +1 -0
- package/public/nausto.css +219 -0
- package/public/nausto.svg +1 -0
- package/public/setup.css +139 -0
- package/public/setup.js +1 -0
package/README.md
CHANGED
|
@@ -1,3 +1,73 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Nausto for Signal K
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A Signal K plugin for sharing selected own-vessel sensors with your boat in Nausto.
|
|
4
|
+
It runs on the Signal K server, uses outgoing HTTPS, and keeps a bounded durable queue during
|
|
5
|
+
network interruptions. It never changes boat equipment, relays, calibration or maintenance history.
|
|
6
|
+
|
|
7
|
+
## Requirements
|
|
8
|
+
|
|
9
|
+
Signal K Server 2.36–2.37, with authentication enabled, and Node.js 22.13 or later.
|
|
10
|
+
The sensor pilot must be enabled for your Nausto boat. A boat owner connects and chooses sensors;
|
|
11
|
+
active crew members can read the selected values and history.
|
|
12
|
+
|
|
13
|
+
## Connect
|
|
14
|
+
|
|
15
|
+
1. Install `nausto-signalk` through Signal K's AppStore, or install the supplied
|
|
16
|
+
`.tgz` with `npm install /path/to/nausto-signalk-0.2.0.tgz` from your Signal K configuration directory.
|
|
17
|
+
2. Enable **Nausto** in Plugin Config. Open **Nausto** under Webapps and sign in to Signal K as an administrator.
|
|
18
|
+
3. In Nausto, open Boat → Sensors, create a connection and copy its pairing code, or save its QR image.
|
|
19
|
+
4. Paste the code or import the QR image in the plugin. Return to Nausto, choose the discovered sensors,
|
|
20
|
+
confirm their component and primary source, and wait for the first reading.
|
|
21
|
+
|
|
22
|
+
The code is valid for ten minutes. A new pairing uses a new producer key. Re-pair the same
|
|
23
|
+
connection to retain its sensor identities. A different connection has its own identities and queue.
|
|
24
|
+
If the Signal K vessel identity changes, create a new Nausto connection for that vessel.
|
|
25
|
+
Revoke a connection in Nausto to stop its access. Plugin configuration never contains a pairing code or key.
|
|
26
|
+
|
|
27
|
+
## Data and limits
|
|
28
|
+
|
|
29
|
+
Only `vessels.self` is read. Battery voltage, current, power, consumed charge, state of charge,
|
|
30
|
+
time remaining, temperature and water
|
|
31
|
+
notifications are discovered from standard Signal K paths. Additional own-vessel paths can be mapped
|
|
32
|
+
in the advanced plugin settings. Unsupported units or source identities are reported in plugin status.
|
|
33
|
+
NMEA 2000 source addresses are not device identity: CAN NAME is required. Plugin sources are treated
|
|
34
|
+
as virtual sources scoped to this installation, including Bluetooth sources with a source address.
|
|
35
|
+
Fixed identities for other non-NMEA providers can be
|
|
36
|
+
configured explicitly; a source name or IP alone is never treated as a physical device identifier.
|
|
37
|
+
|
|
38
|
+
## Victron battery monitors
|
|
39
|
+
|
|
40
|
+
Use existing standard Signal K battery data first. BMV-712 Smart data can come from an existing
|
|
41
|
+
VE.Direct collector, or from a compatible Bluetooth Instant Readout collector such as
|
|
42
|
+
[signalk-victron-ble](https://github.com/stefanor/signalk-victron-ble).
|
|
43
|
+
That collector is separate from Nausto; follow its supported hardware and Python/Bluetooth requirements.
|
|
44
|
+
Keep the Victron encryption key only in that collector's local configuration. Nausto never needs it.
|
|
45
|
+
|
|
46
|
+
Select the actual battery bank in the collector and confirm the same component in Nausto.
|
|
47
|
+
Positive battery current means charging and negative current means discharging; it is net current,
|
|
48
|
+
not the charger's output current. SOC and time remaining are estimates, power is calculated,
|
|
49
|
+
and consumed charge is stored in coulombs and displayed in Ah. Optional temperature and secondary
|
|
50
|
+
battery voltage appear only when the collector is configured for them and actually publishes them.
|
|
51
|
+
Bluetooth availability alone does not prove Instant Readout support. No GX, VRM or new gateway is required.
|
|
52
|
+
|
|
53
|
+
When another integration supplies the same bank, choose its existing component and explicitly set
|
|
54
|
+
one primary source per quantity in Nausto. A newer secondary reading does not take over automatically.
|
|
55
|
+
Upgrading this package preserves the existing pairing, selections and channel identities.
|
|
56
|
+
|
|
57
|
+
Numeric values are sampled at most once per minute per channel. State/alarm changes are preserved.
|
|
58
|
+
Original source time, null values and units are retained. A heartbeat never makes an old reading new.
|
|
59
|
+
An undated cached value is not sent as a fresh measurement after a restart. A batch window starts
|
|
60
|
+
when its first observation is captured; missing source times use that conservative window time.
|
|
61
|
+
|
|
62
|
+
The private SQLite queue retains up to 10,000 observations, 10 MiB and seven days per connection.
|
|
63
|
+
Up to five connection profiles are retained locally. When an old profile or oldest batch is evicted,
|
|
64
|
+
the gap is counted. Rejected batches and exhausted retries remain visible and can be retried explicitly.
|
|
65
|
+
No API or log returns keys, pairing codes, raw batches or private database paths.
|
|
66
|
+
|
|
67
|
+
## Build and verification
|
|
68
|
+
|
|
69
|
+
From the Nausto repository: `npm run build:sensors:signalk`. The output is a self-contained CommonJS
|
|
70
|
+
plugin and web setup page, with no native npm dependencies or runtime dependency on the Nausto repository.
|
|
71
|
+
Repository checks and the reproducible runtime test are described in `docs/SENSORS.md` in that repository.
|
|
72
|
+
|
|
73
|
+
The package is a Nausto client. All rights reserved.
|
package/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./plugin.cjs').default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nausto-signalk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Connect selected Signal K boat sensors to Nausto with pairing and durable delivery",
|
|
5
|
+
"main": "index.cjs",
|
|
6
|
+
"files": [
|
|
7
|
+
"index.cjs",
|
|
8
|
+
"plugin.cjs",
|
|
9
|
+
"public",
|
|
10
|
+
"README.md"
|
|
11
|
+
],
|
|
12
|
+
"keywords": [
|
|
13
|
+
"signalk-node-server-plugin",
|
|
14
|
+
"signalk-webapp",
|
|
15
|
+
"signalk-category-cloud",
|
|
16
|
+
"nausto",
|
|
17
|
+
"sensors"
|
|
18
|
+
],
|
|
19
|
+
"signalk-plugin-enabled-by-default": false,
|
|
20
|
+
"signalk": {
|
|
21
|
+
"displayName": "Nausto",
|
|
22
|
+
"appIcon": "./public/nausto.svg"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=22.13.0"
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://nausto.no",
|
|
28
|
+
"license": "UNLICENSED",
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
}
|
|
32
|
+
}
|