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
@@ -0,0 +1,16 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## 0.2.0
|
||||||
|
|
||||||
|
- Automatic client updates: the server looks for a new KidTime client every 6 hours in the public release repository `https://git.nc.kreapptivo.de/KidTime/client` and offers it to the PCs. It accepts only installers signed with the KidTime release key, and each PC checks the signature again before it installs anything. Settings > Client Update shows the last check and any error, and has a "Check now" button. PCs below the current client version are marked "Behind".
|
||||||
|
- Uploading a client by hand still works, but only with the signed release file (`kidtime-client-<version>-setup.exe` from the release repository). 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; the failed check shows in Settings. To update its PCs, download the release file on another computer and upload it by hand.
|
||||||
|
- New PCs keep the daily budget and the time windows correct while the server is unreachable, also across daylight-saving changes, once their client is updated.
|
||||||
|
- Set the household timezone in Settings if the warning shows (in the Home Assistant add-on it comes from Home Assistant). Without it, time windows on offline PCs follow UTC.
|
||||||
|
- A bonus or penalty now acts on whatever limits the child right now, the time window or the daily minutes.
|
||||||
|
- Outside a window, a bonus is free time for the next N minutes only; minutes not used lapse.
|
||||||
|
- Outside a window, a penalty lowers today's remaining minutes. For a child without time windows, a penalty always lowers today's minutes.
|
||||||
|
- "Block now" also works for children without a limit. It lasts until the next window starts or until midnight, and a later bonus lifts it.
|
||||||
|
- "Undo" removes all of today's adjustments.
|
||||||
|
- Update outside usage hours: an active bonus outside a window ends at the update, and today's existing adjustments are converted.
|
||||||
|
- Older PCs keep working. While offline they do not see bonuses or blocks until they reconnect, and an offline older PC does not hold a "Block now".
|
||||||
@@ -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
|
machine itself. Do not run another KidTime server on the same network at the
|
||||||
same time: both would claim `kidtime.local`.
|
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
|
## Your data and the certificate
|
||||||
|
|
||||||
The add-on keeps everything in its config folder (the folder ending in
|
The add-on keeps everything in its config folder (the folder ending in
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
name: KidTime
|
name: KidTime
|
||||||
slug: kidtime
|
slug: kidtime
|
||||||
version: "0.1.3"
|
version: "0.2.0"
|
||||||
description: Parental control server for the local network (time limits for kids' devices).
|
description: Parental control server for the local network (time limits for kids' devices).
|
||||||
url: https://git.nc.kreapptivo.de/KidTime/home-assistant-addon
|
url: https://git.nc.kreapptivo.de/KidTime/home-assistant-addon
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
Reference in new issue
Block a user