@rhizomatics/signalk-einklabel-plugin 0.4.4 → 0.4.6
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/CHANGELOG.md
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhizomatics/signalk-einklabel-plugin",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "SignalK plugin that renders selected SignalK data to eInk Electronic Shelf Labels",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"commander": "^12.1.0",
|
|
52
52
|
"luxon": "^3.7.2",
|
|
53
53
|
"mathjs": "^15.2.0",
|
|
54
|
-
"node-ble": "^1.13.
|
|
54
|
+
"@naugehyde/node-ble": "^1.13.5",
|
|
55
55
|
"pngjs": "^7.0.0",
|
|
56
56
|
"form-data":"^4.0.6"
|
|
57
57
|
},
|
package/templates/tide.svg
CHANGED
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
inkscape:pagecheckerboard="0"
|
|
24
24
|
inkscape:deskcolor="#d1d1d1"
|
|
25
25
|
inkscape:zoom="1.3906433"
|
|
26
|
-
inkscape:cx="
|
|
27
|
-
inkscape:cy="
|
|
26
|
+
inkscape:cx="245.92935"
|
|
27
|
+
inkscape:cy="75.145079"
|
|
28
28
|
inkscape:window-width="1488"
|
|
29
29
|
inkscape:window-height="674"
|
|
30
|
-
inkscape:window-x="
|
|
30
|
+
inkscape:window-x="88"
|
|
31
31
|
inkscape:window-y="33"
|
|
32
32
|
inkscape:window-maximized="0"
|
|
33
33
|
inkscape:current-layer="svg1"
|
|
@@ -76,16 +76,19 @@
|
|
|
76
76
|
id="desc1">source=resources,resource=tides,path=station.name</desc></text>
|
|
77
77
|
<text
|
|
78
78
|
id="station.name-8"
|
|
79
|
-
x="
|
|
80
|
-
y="
|
|
79
|
+
x="347.95166"
|
|
80
|
+
y="226.1548"
|
|
81
81
|
font-size="18"
|
|
82
82
|
font-family="serif"
|
|
83
83
|
fill="black"
|
|
84
|
-
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:
|
|
85
|
-
transform="scale(0.
|
|
84
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13.3333px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#ff0000;stroke-width:3.80045"
|
|
85
|
+
transform="scale(0.95907863,1.0426674)"><desc
|
|
86
86
|
id="desc21">source=resources,resource=tides,path=station.source.name</desc><tspan
|
|
87
87
|
sodipodi:role="line"
|
|
88
|
-
id="tspan20"
|
|
88
|
+
id="tspan20"
|
|
89
|
+
x="347.95166"
|
|
90
|
+
y="226.1548"
|
|
91
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13.33333319px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke-width:3.80045">SOURCE</tspan></text>
|
|
89
92
|
<text
|
|
90
93
|
id="last_repaint"
|
|
91
94
|
x="4.3477793"
|
|
@@ -127,38 +130,40 @@
|
|
|
127
130
|
id="desc15">source=resources,resource=tides,path=extremes[2].label</desc>High</text>
|
|
128
131
|
<text
|
|
129
132
|
id="environment.time.timezoneRegion"
|
|
130
|
-
x="
|
|
131
|
-
y="
|
|
133
|
+
x="220.79686"
|
|
134
|
+
y="204.67754"
|
|
132
135
|
font-size="10.373px"
|
|
133
136
|
font-family="sans-serif"
|
|
134
137
|
fill="#ffff00"
|
|
135
|
-
style="direction:rtl;fill:#000000;stroke-width:0.864419"
|
|
138
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13.3333px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;direction:rtl;fill:#000000;stroke-width:0.864419"
|
|
136
139
|
transform="scale(0.86441854,1.156847)">UTC+01:00<desc
|
|
137
140
|
id="desc11">source=einklabel,path=local_zone</desc></text>
|
|
138
141
|
<text
|
|
139
142
|
id="lat"
|
|
140
|
-
x="
|
|
141
|
-
y="
|
|
143
|
+
x="217.936"
|
|
144
|
+
y="27.84404"
|
|
142
145
|
font-size="12px"
|
|
143
146
|
font-family="sans-serif"
|
|
144
147
|
fill="#ffff00"
|
|
145
|
-
style="
|
|
148
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.3333px;font-family:Sans;-inkscape-font-specification:'Sans, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#1a1a1a;stroke:#fefe54;stroke-opacity:1"><desc
|
|
146
149
|
id="desc18">source=resources,resource=tides,path=station.datums.LAT,category=depth</desc><tspan
|
|
147
150
|
sodipodi:role="line"
|
|
148
|
-
id="tspan17"
|
|
151
|
+
id="tspan17"
|
|
152
|
+
x="217.936"
|
|
153
|
+
y="27.84404">0.1m</tspan></text>
|
|
149
154
|
<text
|
|
150
155
|
id="hat"
|
|
151
|
-
x="
|
|
152
|
-
y="
|
|
156
|
+
x="306.83963"
|
|
157
|
+
y="27.924137"
|
|
153
158
|
font-size="12px"
|
|
154
159
|
font-family="sans-serif"
|
|
155
160
|
fill="#ffff00"
|
|
156
|
-
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:
|
|
161
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.3333px;font-family:Sans;-inkscape-font-specification:'Sans, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#1a1a1a;stroke:#fefe54;stroke-opacity:1"><desc
|
|
157
162
|
id="desc19">source=resources,resource=tides,path=station.datums.HAT,category=depth</desc><tspan
|
|
158
163
|
sodipodi:role="line"
|
|
159
164
|
id="tspan18"
|
|
160
|
-
x="
|
|
161
|
-
y="
|
|
165
|
+
x="306.83963"
|
|
166
|
+
y="27.924137">6.0m</tspan></text>
|
|
162
167
|
<text
|
|
163
168
|
id="extremes.2.level"
|
|
164
169
|
x="335.54352"
|
|
@@ -270,12 +275,12 @@
|
|
|
270
275
|
id="desc4">source=resources,resource=tides,path=extremes[0].level,category=depth</desc></text>
|
|
271
276
|
<text
|
|
272
277
|
xml:space="preserve"
|
|
273
|
-
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:
|
|
274
|
-
x="
|
|
275
|
-
y="
|
|
278
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.3333px;font-family:Sans;-inkscape-font-specification:'Sans, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#1a1a1a;stroke:#fefe54;stroke-width:0.612283;stroke-opacity:1"
|
|
279
|
+
x="274.69302"
|
|
280
|
+
y="27.325481"
|
|
276
281
|
id="text19"><tspan
|
|
277
282
|
sodipodi:role="line"
|
|
278
283
|
id="tspan19"
|
|
279
|
-
x="
|
|
280
|
-
y="
|
|
284
|
+
x="274.69302"
|
|
285
|
+
y="27.325481">-></tspan></text>
|
|
281
286
|
</svg>
|