@rhizomatics/signalk-einklabel-plugin 1.2.1 → 1.2.3
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 +12 -0
- package/README.md +10 -6
- package/dist/cli/index.js +2 -2
- package/dist/config.d.ts +9 -0
- package/dist/config.js +8 -0
- package/dist/devices/bleDiscovery.d.ts +26 -0
- package/dist/devices/bleDiscovery.js +79 -0
- package/dist/devices/gicisky/encode.js +14 -4
- package/dist/devices/gicisky/index.js +10 -7
- package/dist/devices/types.d.ts +1 -1
- package/dist/devices/zhsunyco/encode.js +15 -4
- package/dist/devices/zhsunyco/index.js +1 -1
- package/dist/email/emailSender.d.ts +27 -0
- package/dist/email/emailSender.js +66 -0
- package/dist/plugin.js +16 -4
- package/dist/render/fieldsTable.d.ts +15 -0
- package/dist/render/fieldsTable.js +52 -0
- package/dist/render/llmPrompt.d.ts +86 -0
- package/dist/render/llmPrompt.js +199 -0
- package/dist/render/reframe.d.ts +8 -6
- package/dist/repaintScheduler.js +1 -1
- package/package.json +5 -5
- package/templates/.blank/296x128-BWRY.svg +69 -0
- package/templates/.error/296x128-BWRY.svg +93 -0
- package/templates/tides/296x128-BWRY.svg +67 -36
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
inkscape:pagecheckerboard="0"
|
|
23
23
|
inkscape:deskcolor="#d1d1d1"
|
|
24
24
|
inkscape:zoom="1.3906433"
|
|
25
|
-
inkscape:cx="
|
|
26
|
-
inkscape:cy="
|
|
25
|
+
inkscape:cx="188.04247"
|
|
26
|
+
inkscape:cy="101.03238"
|
|
27
27
|
inkscape:window-width="1488"
|
|
28
28
|
inkscape:window-height="674"
|
|
29
|
-
inkscape:window-x="
|
|
29
|
+
inkscape:window-x="102"
|
|
30
30
|
inkscape:window-y="33"
|
|
31
31
|
inkscape:window-maximized="0"
|
|
32
32
|
inkscape:current-layer="svg1"
|
|
@@ -49,11 +49,18 @@
|
|
|
49
49
|
visible="true" /></sodipodi:namedview><rect
|
|
50
50
|
x="1.0169492"
|
|
51
51
|
y="2.0798673e-08"
|
|
52
|
-
width="
|
|
52
|
+
width="294.47351"
|
|
53
53
|
height="129.97897"
|
|
54
54
|
fill="#ffffff"
|
|
55
55
|
id="rect1"
|
|
56
|
-
style="stroke-width:0.
|
|
56
|
+
style="stroke-width:0.619167" /><rect
|
|
57
|
+
style="fill:#ffff00;stroke:#000000;stroke-width:0.517511"
|
|
58
|
+
id="rect2"
|
|
59
|
+
width="295.38821"
|
|
60
|
+
height="18.45849"
|
|
61
|
+
x="-8.1818981"
|
|
62
|
+
y="-129.92928"
|
|
63
|
+
transform="matrix(1,0,-0.07553602,-0.99714307,0,0)" /><text
|
|
57
64
|
id="station.name"
|
|
58
65
|
x="7.2081757"
|
|
59
66
|
y="19.148237"
|
|
@@ -64,18 +71,28 @@
|
|
|
64
71
|
transform="scale(0.89274881,1.1201359)">Tidal Station Name<desc
|
|
65
72
|
id="desc1">source=resources,resource=tides,provider=tides,path=station.name</desc></text><text
|
|
66
73
|
id="last_repaint"
|
|
67
|
-
x="
|
|
68
|
-
y="
|
|
74
|
+
x="174.82307"
|
|
75
|
+
y="131.08972"
|
|
69
76
|
font-size="18"
|
|
70
77
|
font-family="serif"
|
|
71
78
|
fill="black"
|
|
72
|
-
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:
|
|
73
|
-
transform="scale(
|
|
79
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1048px;font-family:serif;-inkscape-font-specification:'serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.20787;stroke-dasharray:none;stroke-opacity:1"
|
|
80
|
+
transform="scale(1.0484359,0.95380175)"><desc
|
|
74
81
|
id="desc12">source=einklabel,path=repainted,format=local_datetime_short</desc><tspan
|
|
75
82
|
sodipodi:role="line"
|
|
76
83
|
id="tspan3"
|
|
77
|
-
x="
|
|
78
|
-
y="
|
|
84
|
+
x="174.82307"
|
|
85
|
+
y="131.08972"
|
|
86
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1048px;font-family:serif;-inkscape-font-specification:'serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.20787;stroke-dasharray:none;stroke-opacity:1">27 Jun 26 18:05</tspan></text><text
|
|
87
|
+
id="timezone"
|
|
88
|
+
x="169.78108"
|
|
89
|
+
y="107.90738"
|
|
90
|
+
font-size="10.373px"
|
|
91
|
+
font-family="sans-serif"
|
|
92
|
+
fill="#ffff00"
|
|
93
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;font-family:Roboto;-inkscape-font-specification:'Roboto, 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"
|
|
94
|
+
transform="scale(0.86441854,1.156847)">UTC+01:00<desc
|
|
95
|
+
id="desc11">source=einklabel,path=local_zone</desc></text><text
|
|
79
96
|
id="extremes.0"
|
|
80
97
|
x="7.9661012"
|
|
81
98
|
y="42.022709"
|
|
@@ -93,38 +110,38 @@
|
|
|
93
110
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16px;font-family:serif;-inkscape-font-specification:'serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#ff0000"><desc
|
|
94
111
|
id="desc14">source=resources,resource=tides,provider=tides,path=extremes[1].label</desc>High or Low</text><text
|
|
95
112
|
id="extremes.1.level"
|
|
96
|
-
x="
|
|
97
|
-
y="
|
|
113
|
+
x="236.04683"
|
|
114
|
+
y="74.289345"
|
|
98
115
|
font-size="14"
|
|
99
116
|
font-family="monospace"
|
|
100
117
|
fill="red"
|
|
101
|
-
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:
|
|
102
|
-
transform="scale(0.
|
|
103
|
-
inkscape:transform-center-y="-
|
|
104
|
-
inkscape:transform-center-x="-0.
|
|
118
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:29.3333px;font-family:serif;-inkscape-font-specification:'serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;stroke-width:1.88094"
|
|
119
|
+
transform="scale(0.74369426,1.3446386)"
|
|
120
|
+
inkscape:transform-center-y="-156.89445"
|
|
121
|
+
inkscape:transform-center-x="-0.00039560164"><tspan
|
|
105
122
|
sodipodi:role="line"
|
|
106
123
|
id="tspan2-1"
|
|
107
|
-
x="
|
|
108
|
-
y="
|
|
109
|
-
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:
|
|
124
|
+
x="236.04683"
|
|
125
|
+
y="74.289345"
|
|
126
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:29.33333333px;font-family:serif;-inkscape-font-specification:'serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke-width:1.88094">1.6m</tspan><desc
|
|
110
127
|
id="desc5">source=resources,resource=tides,provider=tides,path=extremes[1].level,category=depth</desc></text><text
|
|
111
128
|
id="extremes.1.time"
|
|
112
|
-
x="
|
|
113
|
-
y="
|
|
129
|
+
x="148.60976"
|
|
130
|
+
y="72.137405"
|
|
114
131
|
font-size="14"
|
|
115
132
|
font-family="monospace"
|
|
116
133
|
fill="red"
|
|
117
|
-
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:
|
|
118
|
-
transform="scale(0.
|
|
134
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:32px;font-family:serif;-inkscape-font-specification:'serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;stroke-width:1.74366"
|
|
135
|
+
transform="scale(0.71873644,1.3913306)">09:36<desc
|
|
119
136
|
id="desc8">source=resources,resource=tides,provider=tides,path=extremes[1].time,format=local_time</desc></text><text
|
|
120
137
|
id="extremes.0.time"
|
|
121
|
-
x="
|
|
122
|
-
y="
|
|
138
|
+
x="148.53975"
|
|
139
|
+
y="44.011204"
|
|
123
140
|
font-size="14"
|
|
124
141
|
font-family="monospace"
|
|
125
142
|
fill="red"
|
|
126
|
-
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:
|
|
127
|
-
transform="scale(0.
|
|
143
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:32px;font-family:serif;-inkscape-font-specification:'serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;stroke-width:1.79195"
|
|
144
|
+
transform="scale(0.73254241,1.3651087)">03:27<desc
|
|
128
145
|
id="desc3">source=resources,resource=tides,provider=tides,path=extremes[0].time,format=local_time</desc></text><text
|
|
129
146
|
id="extremes.0.date"
|
|
130
147
|
x="11.198709"
|
|
@@ -145,16 +162,30 @@
|
|
|
145
162
|
transform="scale(0.82428216,1.2131768)"><desc
|
|
146
163
|
id="desc7">source=resources,resource=tides,provider=tides,path=extremes[1].time,format=day_mon</desc>27 Jun</text><text
|
|
147
164
|
id="extremes.0.level"
|
|
148
|
-
x="
|
|
149
|
-
y="
|
|
165
|
+
x="243.27972"
|
|
166
|
+
y="44.41362"
|
|
150
167
|
font-size="14"
|
|
151
168
|
font-family="monospace"
|
|
152
169
|
fill="red"
|
|
153
|
-
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:
|
|
154
|
-
transform="scale(0.
|
|
170
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:29.3333px;font-family:serif;-inkscape-font-specification:'serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;stroke-width:1.91777"
|
|
171
|
+
transform="scale(0.72743302,1.374697)"><tspan
|
|
155
172
|
sodipodi:role="line"
|
|
156
173
|
id="tspan2"
|
|
157
|
-
x="
|
|
158
|
-
y="
|
|
159
|
-
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:
|
|
160
|
-
id="desc4">source=resources,resource=tides,provider=tides,path=extremes[0].level,category=depth</desc></text
|
|
174
|
+
x="243.27972"
|
|
175
|
+
y="44.41362"
|
|
176
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:29.33333347px;font-family:serif;-inkscape-font-specification:'serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke-width:1.91777">3.4m</tspan><desc
|
|
177
|
+
id="desc4">source=resources,resource=tides,provider=tides,path=extremes[0].level,category=depth</desc></text><text
|
|
178
|
+
id="source"
|
|
179
|
+
x="5.7133317"
|
|
180
|
+
y="119.17512"
|
|
181
|
+
font-size="18"
|
|
182
|
+
font-family="serif"
|
|
183
|
+
fill="black"
|
|
184
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13.3333px;font-family:serif;-inkscape-font-specification:'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"
|
|
185
|
+
transform="scale(0.95907861,1.0426674)"><desc
|
|
186
|
+
id="desc21">source=resources,resource=tides,provider=tides,path=station.source.name</desc><tspan
|
|
187
|
+
sodipodi:role="line"
|
|
188
|
+
id="tspan20"
|
|
189
|
+
x="5.7133317"
|
|
190
|
+
y="119.17512"
|
|
191
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13.3333px;font-family:serif;-inkscape-font-specification:'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></svg>
|