kiosko 0.2.10 → 0.2.12
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 +16 -3
- package/cli.js +2460 -476
- package/package.json +1 -1
- package/screen-thread.js +1268 -93
- package/sdk.js +32 -3
- package/web/assets/app.js +50 -40
- package/web/assets/styles.css +1 -1
package/README.md
CHANGED
|
@@ -145,11 +145,16 @@ screen**, pick your panel model and its connection:
|
|
|
145
145
|
MQTT), with its page to choose, a switch to turn it off and a button per
|
|
146
146
|
interlude, for your automations: see [docs/homeassistant.md](docs/homeassistant.md).
|
|
147
147
|
|
|
148
|
+
**Any JSON, and pushes from your scripts**: the JSON widgets show a value
|
|
149
|
+
from any URL that answers JSON, and `curl -X POST … /api/push/<name>` puts
|
|
150
|
+
what a script, cron or CI says on the panel, with no plugin to write: see
|
|
151
|
+
[docs/rest-webhook.md](docs/rest-webhook.md).
|
|
152
|
+
|
|
148
153
|
## Concepts
|
|
149
154
|
|
|
150
155
|
```
|
|
151
156
|
screen one physical panel (or a virtual one): size, rotation, connection
|
|
152
|
-
└─ page a layout; several pages take turns or one
|
|
157
|
+
└─ page a layout; several pages take turns, one is pinned, or one comes up by itself (a game open, a call)
|
|
153
158
|
└─ tile a rectangle of grid cells
|
|
154
159
|
└─ widgets a stack: they take turns; an urgent one keeps the tile (unless you say otherwise)
|
|
155
160
|
interlude a full-screen animation every N minutes (against the wall clock)
|
|
@@ -162,6 +167,11 @@ The grid is fixed (a panel doesn't scroll): 24×6 cells on a 1920×462 panel,
|
|
|
162
167
|
panel is refused rather than losing a tile. **Auto-arrange** packs everything
|
|
163
168
|
masonry-style.
|
|
164
169
|
|
|
170
|
+
**Pages that come up by themselves.** A page can take the screen over while a
|
|
171
|
+
game or OBS is open, while you are in a call, in a time window or when one of
|
|
172
|
+
its widgets is urgent, and give it back to the turns afterwards: *Show this
|
|
173
|
+
page when…* in the page's settings. See [docs/pages.md](docs/pages.md).
|
|
174
|
+
|
|
165
175
|
**Portrait panels.** Stand a strip on its side and pick *Screens → Orientation →
|
|
166
176
|
Portrait*: you design a 462×1920 picture (6×24 cells) and Kiosko turns it for
|
|
167
177
|
the panel. The pages turn with it: columns become bands, top to bottom, and a
|
|
@@ -205,7 +215,7 @@ can run in PowerShell.
|
|
|
205
215
|
silently, with the tasks "start when I sign in" and "add `kiosko` to PATH":
|
|
206
216
|
|
|
207
217
|
```powershell
|
|
208
|
-
.\Kiosko-Setup-0.2.
|
|
218
|
+
.\Kiosko-Setup-0.2.12-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /TASKS=service,path
|
|
209
219
|
```
|
|
210
220
|
|
|
211
221
|
Open a new terminal afterwards so `kiosko` is on the `PATH` (or use
|
|
@@ -427,6 +437,7 @@ Some official plugins are **optional**: they don't come with Kiosko, and the
|
|
|
427
437
|
| [logs](https://github.com/kiosko-lcd/kiosko-plugin-logs) | live logs: journald, log files, Docker, macOS, Windows, Kubernetes and Loki; errors as they happen, repeats folded, secrets masked |
|
|
428
438
|
| [hazards](https://github.com/kiosko-lcd/kiosko-plugin-hazards) | official warnings (NWS, tsunami.gov, CWA, AEMET, Meteoalarm, GDACS) as full-screen alerts on every panel; informational, not a substitute for official alerts |
|
|
429
439
|
| [batteries](https://github.com/kiosko-lcd/kiosko-plugin-batteries) | the battery of your Bluetooth headphones, mouse, keyboard, controller, laptop and phone, with a warning before one runs out (UPower/BlueZ, Windows, macOS, KDE Connect) |
|
|
440
|
+
| [switchbot](https://github.com/kiosko-lcd/kiosko-plugin-switchbot) | SwitchBot thermometers, door and presence sensors heard straight from the computer's Bluetooth (no hub, account or Home Assistant), with an alert for a door left open (Linux) |
|
|
430
441
|
|
|
431
442
|
Every official widget, painted with its sample data: run `kiosko gallery`
|
|
432
443
|
(published to GitHub Pages by the `Gallery` workflow, together with the
|
|
@@ -474,7 +485,9 @@ Some settings work the same for every widget: in the editor's Inspector,
|
|
|
474
485
|
**Text size** (`zoom`, 0.5–2×), **Keep the tile while urgent** and **Hide when
|
|
475
486
|
empty**; in Settings, the **time format** (24 h, 12 h or as the language),
|
|
476
487
|
the working week (hours due, days with other hours, holidays) and, under
|
|
477
|
-
Data sources, how often each source is read.
|
|
488
|
+
Data sources, how often each source is read. A source with **profiles** (news
|
|
489
|
+
by topic, several accounts) can have several named configurations, and each
|
|
490
|
+
tile picks one: see [Data sources and profiles](docs/data-sources.md).
|
|
478
491
|
|
|
479
492
|
## Command line
|
|
480
493
|
|