From 473fb51852ae5c4ea1808090e9430af58eb325c1 Mon Sep 17 00:00:00 2001 From: kidtime-addon-publisher <4+kidtime-addon-publisher@noreply.git.nc.kreapptivo.de> Date: Tue, 10 Nov 2026 16:06:02 +0100 Subject: [PATCH] Publish add-on 0.2.0 From kidtime-server 4faff36233ac1623f23e669ba9057064492e6b1f --- kidtime/CHANGELOG.md | 16 ++++++++++++++++ kidtime/DOCS.md | 28 ++++++++++++++++++++++++++++ kidtime/config.yaml | 2 +- 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 kidtime/CHANGELOG.md diff --git a/kidtime/CHANGELOG.md b/kidtime/CHANGELOG.md new file mode 100644 index 0000000..516fab7 --- /dev/null +++ b/kidtime/CHANGELOG.md @@ -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--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". diff --git a/kidtime/DOCS.md b/kidtime/DOCS.md index ecdcfff..4df7a90 100644 --- a/kidtime/DOCS.md +++ b/kidtime/DOCS.md @@ -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--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 diff --git a/kidtime/config.yaml b/kidtime/config.yaml index d80169a..0476875 100644 --- a/kidtime/config.yaml +++ b/kidtime/config.yaml @@ -1,6 +1,6 @@ name: KidTime slug: kidtime -version: "0.1.3" +version: "0.2.0" description: Parental control server for the local network (time limits for kids' devices). url: https://git.nc.kreapptivo.de/KidTime/home-assistant-addon arch: