Il controllo continua con l'app in background (0.3.1)

- non si ferma piu' quando la pagina perde il primo piano: il polling vive
  dentro l'app e si spegne chiudendo l'app
- il conto alla rovescia a schermo gira solo con la pagina visibile
- dichiarato il limite di sistema: Sailfish puo' congelare un'app in background,
  e in quel caso l'avviso arriva alla riapertura
- post e descrizione allineati alla 0.3.1 (nomi, impronte, comportamento)
This commit is contained in:
kaneda committed 2026-10-20 13:54:52 +02:00
1 parent feee03756b
commit 3687c0d24c
7 files changed
+62 -33

No files matched your search

+22 -20
View File
@@ -55,21 +55,21 @@ uname -m
| device | file | link |
|---|---|---|
| 64-bit (`aarch64`) | `harbour-thinq-0.3.0-1.aarch64.rpm` (100 KB) | https://nextcloud.hackatoniclife.com/s/kXmJFokw9Ld6HNs |
| 32-bit (`armv7l`) | `harbour-thinq-0.3.0-1.armv7hl.rpm` (96 KB) | https://nextcloud.hackatoniclife.com/s/MPHaQLmfLSrZkMR |
| 64-bit (`aarch64`) | `harbour-thinq-0.3.1-1.aarch64.rpm` (100 KB) | https://nextcloud.hackatoniclife.com/s/kXmJFokw9Ld6HNs |
| 32-bit (`armv7l`) | `harbour-thinq-0.3.1-1.armv7hl.rpm` (96 KB) | https://nextcloud.hackatoniclife.com/s/MPHaQLmfLSrZkMR |
Checksums, if you like to verify downloads:
```
c8a4ecdf2f4fbe59f5948162a7fa82bac6bd315df6ea541b645eb5f3d6f9105f harbour-thinq-0.3.0-1.aarch64.rpm
0ac2ed5be803e16c4f7c1a180c1a9d984462fb3b528027f7dced1010c578312a harbour-thinq-0.3.0-1.armv7hl.rpm
ef2553735ece863a22292fc7db5ad725bb82dc83158be37fc8c847fdfc0f0fb5 harbour-thinq-0.3.1-1.aarch64.rpm
16cc58996409f7b4ca925785111d2f8e9729a59dc8af479550c5c5b704705804 harbour-thinq-0.3.1-1.armv7hl.rpm
```
**3. Install it** — either tap the downloaded file in Files and confirm, or from
the terminal (developer mode):
```
devel-su rpm -Uvh harbour-thinq-0.3.0-1.aarch64.rpm
devel-su rpm -Uvh harbour-thinq-0.3.1-1.aarch64.rpm
```
**4. First run** — paste your token, pick your country code (IT is the default),
@@ -90,12 +90,13 @@ screen.
can get accounts blocked by LG, so the app does not offer it.
* No wash program selection. The machine's API does not expose it, so the
program is still chosen on the machine.
* No hidden background service. It checks LG once every 30 minutes, and only
while the app is on screen; between one check and the next the time left is
recalculated on the phone, so the countdown keeps moving without any network
call. If LG reports too many requests, the check drops to once an hour. That
is also why the end-of-wash notification can arrive up to half an hour after
the cycle ends — without a server in the middle there is no push.
* No hidden background service, no daemon: the check lives inside the app. It
reads LG once every 30 minutes, keeps doing so while the app is in the
background, and stops when you close the app. Between one check and the next
the time left is recalculated on the phone, so the countdown keeps moving
without any network call. If LG reports too many requests, the check drops to
once an hour. Sailfish may freeze background apps to save power; if it does,
the end-of-wash notification arrives when you open the app again.
### Privacy
@@ -168,14 +169,14 @@ uname -m
| dispositivo | file | link |
|---|---|---|
| 64 bit (`aarch64`) | `harbour-thinq-0.3.0-1.aarch64.rpm` (100 KB) | https://nextcloud.hackatoniclife.com/s/kXmJFokw9Ld6HNs |
| 32 bit (`armv7l`) | `harbour-thinq-0.3.0-1.armv7hl.rpm` (96 KB) | https://nextcloud.hackatoniclife.com/s/MPHaQLmfLSrZkMR |
| 64 bit (`aarch64`) | `harbour-thinq-0.3.1-1.aarch64.rpm` (100 KB) | https://nextcloud.hackatoniclife.com/s/kXmJFokw9Ld6HNs |
| 32 bit (`armv7l`) | `harbour-thinq-0.3.1-1.armv7hl.rpm` (96 KB) | https://nextcloud.hackatoniclife.com/s/MPHaQLmfLSrZkMR |
**3. Installala** — tocca il file scaricato in File e conferma, oppure dal
terminale (modalità sviluppatore):
```
devel-su rpm -Uvh harbour-thinq-0.3.0-1.aarch64.rpm
devel-su rpm -Uvh harbour-thinq-0.3.1-1.aarch64.rpm
```
**4. Primo avvio** — incolla il token, scegli il codice paese (l'Italia è
@@ -195,12 +196,13 @@ sullo stato.
password può far bloccare l'account da LG, quindi l'app non lo offre.
* Niente scelta del programma di lavaggio: l'API della macchina non lo espone,
quindi il programma si sceglie ancora sulla macchina.
* Nessun servizio nascosto in background. Il controllo avviene una volta ogni
mezz'ora, e solo mentre l'app è aperta; fra un controllo e l'altro il tempo
rimanente viene ricalcolato sul telefono, così il conto alla rovescia scende
senza chiamare la rete. Se LG segnala troppe richieste si passa a una volta
l'ora. Per questo l'avviso di fine lavaggio può arrivare fino a mezz'ora dopo
la fine del ciclo: senza un server in mezzo non c'è notifica spinta.
* Nessun servizio nascosto e nessun demone: il controllo vive dentro l'app. Legge
LG una volta ogni mezz'ora, continua anche con l'app in background e si ferma
quando chiudi l'app. Fra un controllo e l'altro il tempo rimanente viene
ricalcolato sul telefono, così il conto alla rovescia scende senza chiamare la
rete. Se LG segnala troppe richieste si passa a una volta l'ora. Sailfish può
congelare le app in background per risparmiare: se lo fa, l'avviso di fine
lavaggio arriva alla riapertura.
### Privacy