kiosko 0.2.8 → 0.2.10
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 +45 -3
- package/cli.js +2956 -406
- package/package.json +1 -1
- package/screen-thread.js +391 -19
- package/sdk.js +1 -1
- package/web/assets/app.js +70 -4
- package/web/assets/styles.css +1 -1
package/README.md
CHANGED
|
@@ -90,8 +90,47 @@ Windows too.
|
|
|
90
90
|
|
|
91
91
|
From a clone: `npm install && npm run dev`.
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
### Updating
|
|
94
|
+
|
|
95
|
+
Kiosko asks npm once a day whether there is a newer Kiosko (and newer
|
|
96
|
+
plugins; `KIOSKO_NO_UPDATE_CHECK=1` turns it off). When there is, the editor
|
|
97
|
+
says so in its top bar (close it and it stays quiet until the next version)
|
|
98
|
+
and **Plugins → Updates** shows what's new (the GitHub release notes; where
|
|
99
|
+
GitHub can't be reached, the versions on npm), which plugin updates were
|
|
100
|
+
waiting for it, and what to do for the way this Kiosko was installed:
|
|
101
|
+
|
|
102
|
+
| Installed with | By hand | From the editor |
|
|
103
|
+
|---|---|---|
|
|
104
|
+
| **npm**, Linux / macOS | `npm install -g kiosko@<version>` (with `--registry` when yours isn't npm's, e.g. npmmirror), then restart | **Update Kiosko** |
|
|
105
|
+
| **npm**, Windows | stop Kiosko, `npm install -g kiosko@<version>`, start it | — (Windows keeps a running Kiosko's files open) |
|
|
106
|
+
| **Windows installer** | run that version's `Kiosko-Setup-<version>-x64.exe` from the [release](https://github.com/kiosko-lcd/kiosko/releases) | **Update Kiosko** |
|
|
107
|
+
| **a clone** | `git pull && npm install && npm run web:build`, then restart | — |
|
|
108
|
+
|
|
109
|
+
**Update Kiosko** never runs on its own: it starts with your click and runs
|
|
110
|
+
one update at a time. With npm it installs that exact version with your npm
|
|
111
|
+
and registry into the folder this Kiosko runs from, checks that the new one
|
|
112
|
+
starts (`kiosko --version`) and loads your plugins (`kiosko self-check`), and
|
|
113
|
+
only then restarts: through `systemctl --user` or `launchctl` when Kiosko is
|
|
114
|
+
your session service, otherwise by starting the new one and stopping once it
|
|
115
|
+
answers (if it doesn't, the running one carries on). If anything fails, the
|
|
116
|
+
version you had is installed again and the editor says why. Started from a
|
|
117
|
+
terminal, it installs and asks you to restart it. With the Windows installer
|
|
118
|
+
it downloads the release's `.exe`, checks it against the release's `.sha256`
|
|
119
|
+
and runs it only after you confirm (silently for a per-user install, with the
|
|
120
|
+
options you chose when you installed; the wizard otherwise); the installer
|
|
121
|
+
stops Kiosko and starts it again. Every step goes to **Activity**, and the
|
|
122
|
+
editor reconnects to the new version by itself.
|
|
123
|
+
|
|
124
|
+
A first run looks for the panels connected (USB and `trcc serve`) and makes a
|
|
125
|
+
screen for each, with what works on any machine with nothing to set up (the
|
|
126
|
+
time and date, the computer's vitals; your AI agents and the cats room only if
|
|
127
|
+
agents are in use here), so the panels light up at once; with none found, a
|
|
128
|
+
virtual screen to play with. Each panel plays a short animation of the Kiosko
|
|
129
|
+
mark when Kiosko starts (Settings can turn it off) and, until the setup is
|
|
130
|
+
done, a card saying how to open the editor. The editor then opens on a
|
|
131
|
+
**setup wizard** (language, your panels, what to show with live previews, place
|
|
132
|
+
and theme) that starts from those screens; skip it and set things up yourself,
|
|
133
|
+
or run it again from **Settings → Setup**. By hand, go to **Screens → Add
|
|
95
134
|
screen**, pick your panel model and its connection:
|
|
96
135
|
|
|
97
136
|
| Connection | When |
|
|
@@ -100,6 +139,7 @@ screen**, pick your panel model and its connection:
|
|
|
100
139
|
| **USB** | LY panels (0416:5408 / 5409) straight from Kiosko: Linux, macOS, Windows. Experimental; [needs a udev rule or the WinUSB driver](docs/usb.md). |
|
|
101
140
|
| **trcc serve** | Linux with [thermalright-trcc-linux](https://github.com/Lexonight1/thermalright-trcc-linux) running `trcc serve`. |
|
|
102
141
|
| **Frame file** | Kiosko writes `frame.jpg` atomically; an external sender (e.g. one bound to a USB serial number, for several identical panels) pushes it to the glass. |
|
|
142
|
+
| **Remote screen** | A small Wi-Fi display running [Kiosko's screen firmware](firmware/esp32-screen) (Waveshare ESP32-C6-LCD-1.47 for now): found on the network, paired once with the code it shows, frames over an encrypted session. Experimental; see the [guide](docs/remote-screens.md) and the [protocol](docs/remote-screen.md). |
|
|
103
143
|
|
|
104
144
|
**Home Assistant**: Kiosko can show up there as a device per screen (over
|
|
105
145
|
MQTT), with its page to choose, a switch to turn it off and a button per
|
|
@@ -165,7 +205,7 @@ can run in PowerShell.
|
|
|
165
205
|
silently, with the tasks "start when I sign in" and "add `kiosko` to PATH":
|
|
166
206
|
|
|
167
207
|
```powershell
|
|
168
|
-
.\Kiosko-Setup-0.2.
|
|
208
|
+
.\Kiosko-Setup-0.2.10-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /TASKS=service,path
|
|
169
209
|
```
|
|
170
210
|
|
|
171
211
|
Open a new terminal afterwards so `kiosko` is on the `PATH` (or use
|
|
@@ -386,6 +426,7 @@ Some official plugins are **optional**: they don't come with Kiosko, and the
|
|
|
386
426
|
| [gaming](https://github.com/kiosko-lcd/kiosko-plugin-gaming) | game FPS, 1 % low and frame times (MangoHud, PresentMon) and the cooling: fans, pumps and coolant (liquidctl, lm-sensors, LibreHardwareMonitor) |
|
|
387
427
|
| [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 |
|
|
388
428
|
| [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
|
+
| [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) |
|
|
389
430
|
|
|
390
431
|
Every official widget, painted with its sample data: run `kiosko gallery`
|
|
391
432
|
(published to GitHub Pages by the `Gallery` workflow, together with the
|
|
@@ -448,6 +489,7 @@ kiosko config import <file> [--apply]
|
|
|
448
489
|
kiosko doctor
|
|
449
490
|
kiosko plugins [list|add <id>|link <folder>|remove <id>]
|
|
450
491
|
kiosko service install # start with your session (systemd / launchd / Task Scheduler)
|
|
492
|
+
kiosko self-check [--json] # load the plugins as start would and say what loads
|
|
451
493
|
```
|
|
452
494
|
|
|
453
495
|
## Coming from aimonitor
|