diff --git a/store/README.md b/store/README.md index f555a68..d4ff17e 100644 --- a/store/README.md +++ b/store/README.md @@ -6,6 +6,7 @@ in inglese, le immagini di copertina e le istruzioni per la scheda. | file | cos'è | |---|---| | `description.md` | titolo, riga breve e descrizione lunga in inglese, pronti da incollare nel modulo di Jolla Harbour | +| `forum-post.md` | il post per il forum (inglese e italiano): cosa fa, cosa serve, installazione passo per passo, creazione del token, limiti, privacy | | `cover-a.jpg` | copertina su foto reale (lavanderia luminosa), 1200x630 | | `cover-b.jpg` | copertina illustrata (consigliata come principale: testo bianco su blu) | | `cover-c.jpg` | copertina calda, still life con cesto di biancheria | diff --git a/store/forum-post.md b/store/forum-post.md new file mode 100644 index 0000000..0beeaeb --- /dev/null +++ b/store/forum-post.md @@ -0,0 +1,205 @@ +# Forum post — Thinq-like + +Testo pronto da incollare. Prima la versione inglese (forum internazionale), +sotto quella italiana. Le immagini da allegare sono in questa cartella. + +--- + +## English + +**Title:** `[App] Thinq-like — your LG ThinQ washer from Sailfish OS (no bridge, no server)` + +Hi all, + +I wrote a Sailfish OS app for LG ThinQ washing machines and washer-dryers. It +talks **straight to the LG ThinQ cloud from the phone**: no bridge, no server of +your own, nothing running at home. One phone, one app. + +### What it does + +* Lists every washer and washer-dryer linked to your LG account, with the + current phase, the time left and the cycle in progress. +* Start, stop, power off, wake the display, and delayed stop (3 to 19 hours — + the values these machines accept). +* Notification when the wash is done, and it picks the news up the next time you + open the app if the cycle ended while it was closed. +* The machine in progress on the home screen cover, so the time left is one + glance away. +* Italian and English, following the phone language. + +### What you need + +* A Sailfish OS phone. Built against 5.1 and tested on Sailfish OS 5.1 + (aarch64); it should work on armv7hl too, the package is built for both. +* The machine registered in the LG ThinQ app, with remote control enabled. +* **Your own LG ThinQ Personal Access Token** — free, made once from a computer + (see below). It stays on your phone and it is yours; the app ships no + credentials of its own. + +### Install + +**1. Check your architecture** — in the terminal: + +``` +uname -m +``` + +`aarch64` for 64-bit devices, `armv7l` for 32-bit ones. + +**2. Download the matching package** + +| device | file | link | +|---|---|---| +| 64-bit (`aarch64`) | `harbour-thinq-0.2.5-1.aarch64.rpm` (96 KB) | https://nextcloud.hackatoniclife.com/s/kXmJFokw9Ld6HNs | +| 32-bit (`armv7l`) | `harbour-thinq-0.2.5-1.armv7hl.rpm` (92 KB) | https://nextcloud.hackatoniclife.com/s/MPHaQLmfLSrZkMR | + +Checksums, if you like to verify downloads: + +``` +37ed080a896add770bdab40e9a8e616e1818966cdca120cb783168dc65349aed harbour-thinq-0.2.5-1.aarch64.rpm +8f3e02a663903eb34f5c2acf92472c2012b140d3f28fdf6aca544748cb2932f2 harbour-thinq-0.2.5-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.2.5-1.aarch64.rpm +``` + +**4. First run** — paste your token, pick your country code (IT is the default), +and the app lists your machines. After that it goes straight to the status +screen. + +### Creating your token (once, from a computer) + +1. Go to **https://connect-pat.lgthinq.com** and sign in with your LG ThinQ + account. +2. Open **Personal Access Tokens** → **ADD NEW TOKEN**. +3. Tick all the scopes and **CREATE TOKEN**. +4. Copy it right away — it is shown only once — and paste it into the app. + +### What it does not do + +* No LG account name and password. Tokens only: the unofficial password method + 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. Polling happens while the app is on screen + (about every 45 seconds), with automatic back-off if LG reports too many + requests. That is also why the end-of-wash notification needs the app to be + open when the cycle ends — without a server in the middle there is no push. + +### Privacy + +The token is stored in the app's private configuration file on the phone and +never goes anywhere except LG. No analytics, no trackers, no third-party server. +The app contains no credentials: every user brings their own token. + +### Not affiliated with LG + +Independent project, not made or approved by LG. ThinQ is a trademark of LG +Electronics, mentioned only to say which machines the app talks to. Licence MIT, +source code and issues: + +**https://git.hackatoniclife.com/kaneda/harbour-thinq** + +Feedback very welcome — especially other models and other regions: if your +machine shows up and works, say so, it helps everyone else with the same one. + +--- + +## Italiano + +**Titolo:** `[App] Thinq-like — la tua lavatrice LG ThinQ da Sailfish OS (senza ponte né server)` + +Ciao a tutti, + +ho scritto un'app per Sailfish OS per lavatrici e lavasciuga LG ThinQ. Parla +**direttamente con il cloud LG dal telefono**: nessun ponte, nessun server +proprio, niente che resti acceso in casa. + +### Cosa fa + +* Elenca tutte le lavatrici e lavasciuga collegate al tuo account LG, con fase + in corso, tempo rimanente e ciclo. +* Avvio, stop, spegnimento, risveglio del display e stop ritardato (da 3 a 19 + ore, i valori che queste macchine accettano). +* Avviso a fine lavaggio, recuperato alla riapertura se il ciclo è finito + mentre l'app era chiusa. +* La macchina in funzione sulla copertina, così il tempo rimanente si legge a + colpo d'occhio. +* Italiano e inglese, segue la lingua del telefono. + +### Cosa serve + +* Un telefono Sailfish OS. Compilata per la 5.1 e provata su Sailfish OS 5.1 + (aarch64); dovrebbe funzionare anche su armv7hl, il pacchetto c'è per + entrambe. +* La macchina registrata nell'app LG ThinQ, con il controllo remoto abilitato. +* **Un tuo token di accesso LG ThinQ** (Personal Access Token): gratuito, si + crea una volta da computer (vedi sotto). Resta sul tuo telefono: l'app non + contiene credenziali proprie. + +### Installazione + +**1. Controlla l'architettura** — nel terminale: + +``` +uname -m +``` + +`aarch64` per i telefoni a 64 bit, `armv7l` per quelli a 32 bit. + +**2. Scarica il pacchetto giusto** + +| dispositivo | file | link | +|---|---|---| +| 64 bit (`aarch64`) | `harbour-thinq-0.2.5-1.aarch64.rpm` (96 KB) | https://nextcloud.hackatoniclife.com/s/kXmJFokw9Ld6HNs | +| 32 bit (`armv7l`) | `harbour-thinq-0.2.5-1.armv7hl.rpm` (92 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.2.5-1.aarch64.rpm +``` + +**4. Primo avvio** — incolla il token, scegli il codice paese (l'Italia è +predefinita) e l'app elenca le macchine. Dalla volta dopo si apre direttamente +sullo stato. + +### Creare il token (una volta, da computer) + +1. Vai su **https://connect-pat.lgthinq.com** e accedi con l'account LG ThinQ. +2. Apri **Personal Access Tokens** → **ADD NEW TOKEN**. +3. Spunta tutte le voci e premi **CREATE TOKEN**. +4. Copialo subito — viene mostrato una volta sola — e incollalo nell'app. + +### Cosa non fa + +* Niente nome utente e password LG. Solo token: il metodo non ufficiale con + 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. La lettura avviene mentre l'app è + aperta (circa ogni 45 secondi), con attesa automatica se LG segnala troppe + richieste. Per questo l'avviso di fine lavaggio richiede l'app aperta quando + il ciclo finisce: senza un server in mezzo non c'è notifica spinta. + +### Privacy + +Il token è nel file di configurazione privato dell'app, sul telefono, e non va +da nessuna parte tranne che da LG. Niente statistiche, niente tracciamenti, +nessun server di terze parti. + +### Non è di LG + +Progetto indipendente, non realizzato né approvato da LG. ThinQ è un marchio di +LG Electronics, citato solo per dire con quali macchine l'app parla. Licenza +MIT, codice e segnalazioni: + +**https://git.hackatoniclife.com/kaneda/harbour-thinq** + +Ogni riscontro è benvenuto — soprattutto altri modelli e altri paesi: se la tua +macchina compare e funziona, scrivilo, aiuta chi ha la stessa.