Publish add-on 0.2.0
From kidtime-server 4faff36233ac1623f23e669ba9057064492e6b1f
This commit is contained in:
1 parent
82e0df5072
commit
473fb51852
3 files changed
+45
-1
No files matched your search
@@ -22,6 +22,34 @@ The add-on uses the host network, so these ports are open on the Home Assistant
|
||||
machine itself. Do not run another KidTime server on the same network at the
|
||||
same time: both would claim `kidtime.local`.
|
||||
|
||||
## Automatic client updates
|
||||
|
||||
The server checks for a new KidTime client every 6 hours (the first check about
|
||||
a minute after start) in the public release repository
|
||||
`https://git.nc.kreapptivo.de/KidTime/client`. A newer release is
|
||||
downloaded, checked against the KidTime release key and then offered to the
|
||||
kids' devices. Each device checks the signature again before it installs
|
||||
anything, so neither this server nor its admin account can make a device run
|
||||
an installer that KidTime did not sign. Settings > Client Update shows the
|
||||
last check, the latest release seen, the last error and a "Check now" button.
|
||||
|
||||
Turning the checks off is the server setting `clientUpdates.pollInterval: 0`.
|
||||
The add-on keeps its server settings inside its image (`/kidtime-addon.yaml`),
|
||||
so in the add-on the checks are always on. The status in Settings shows "Off"
|
||||
with the reason only when automatic checks are turned off, not between checks.
|
||||
|
||||
You can still upload a client by hand under Settings > Client Update, for
|
||||
example to get a release out before the next check. Only the official signed
|
||||
release file (`kidtime-client-<version>-setup.exe` from the release
|
||||
repository) is accepted; an unsigned or modified file is refused, and so is a
|
||||
version that is not newer than the current one.
|
||||
|
||||
A server without internet access keeps working as before: time limits,
|
||||
accounts and device updates from an uploaded file all keep working. The
|
||||
failed check is shown in Settings and retried at the next regular check. To
|
||||
update the clients of such a server, download the release file on another
|
||||
computer and upload it by hand.
|
||||
|
||||
## Your data and the certificate
|
||||
|
||||
The add-on keeps everything in its config folder (the folder ending in
|
||||
|
||||
Reference in new issue
Block a user