From c6621e5968629a7febb86f5c555c80f5b493dc8c Mon Sep 17 00:00:00 2001 From: Carlo Baratto Date: Mon, 12 Oct 2026 12:58:59 +0200 Subject: [PATCH] L'elenco delle macchine si aggiorna davvero (stato, fase, tempo) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Difetto: le scritte leggevano lo stato con funzioni per indice (phaseTextAt, remainTextAt, ...). In QML un binding che chiama una funzione non registra nessuna dipendenza, quindi veniva valutato una volta sola — all'apertura, prima che i dati arrivassero — e non si aggiornava mai: si vedevano i nomi delle macchine ma nessuno stato. Correzione: il client espone l'elenco come DATO (QVariantList di mappe, proprieta' devices con NOTIFY) piu' la mappa active per la copertina; le schermate leggono modelData.*, e ricevono devicesChanged ad ogni aggiornamento di stato. Verificato nel pacchetto: le chiavi nuove sono presenti, le funzioni rimosse non ci sono piu', MainPage legge modelData. --- qml/cover/CoverPage.qml | 15 ++- qml/pages/DelayDialog.qml | 11 ++- qml/pages/MainPage.qml | 51 +++++----- rpm/harbour-thinq.spec | 7 +- src/main.cpp | 4 +- src/thinqclient.cpp | 164 ++++++++++--------------------- src/thinqclient.h | 34 +++---- translations/harbour-thinq-it.ts | 104 +++++++++++--------- 8 files changed, 173 insertions(+), 217 deletions(-) diff --git a/qml/cover/CoverPage.qml b/qml/cover/CoverPage.qml index 6b775f4..cc72b44 100644 --- a/qml/cover/CoverPage.qml +++ b/qml/cover/CoverPage.qml @@ -3,10 +3,9 @@ import Sailfish.Silica 1.0 import "../js/status.js" as Status // Copertina: la macchina che sta lavorando (se ce n'e' una), altrimenti la -// prima. Stesse funzioni della schermata principale: una sola verita'. +// prima. Legge la stessa proprieta' della schermata principale: una sola +// verita', e si aggiorna da sola quando i dati cambiano. CoverBackground { - property int shown: api.activeIndex() - Column { anchors.centerIn: parent width: parent.width - 2 * Theme.paddingMedium @@ -17,7 +16,7 @@ CoverBackground { width: Theme.itemSizeSmall / 2.2 height: width radius: width / 2 - color: Status.statusColor(api.statusLevelAt(shown)) + color: Status.statusColor(api.active.level) } Label { @@ -26,18 +25,16 @@ CoverBackground { elide: Text.ElideRight color: Theme.primaryColor font.pixelSize: Theme.fontSizeSmall - text: api.validIndex(shown) && api.hasStateAt(shown) - ? api.phaseTextAt(shown) - : qsTr("No data") + text: api.active.hasState ? api.active.phase : qsTr("No data") } Label { width: parent.width horizontalAlignment: Text.AlignHCenter - visible: api.validIndex(shown) && api.remainTextAt(shown).length > 0 + visible: api.active.remain !== undefined && api.active.remain.length > 0 color: Theme.secondaryColor font.pixelSize: Theme.fontSizeExtraSmall - text: api.validIndex(shown) ? api.remainTextAt(shown) : "" + text: api.active.remain !== undefined ? api.active.remain : "" } } diff --git a/qml/pages/DelayDialog.qml b/qml/pages/DelayDialog.qml index a2fb774..b8fd6e0 100644 --- a/qml/pages/DelayDialog.qml +++ b/qml/pages/DelayDialog.qml @@ -2,15 +2,17 @@ import QtQuick 2.2 import Sailfish.Silica 1.0 // Stop ritardato: 3-19 ore, gli unici valori che queste macchine accettano. -// Si apre dal menu di UNA macchina: senza l'indice il comando andrebbe a -// quella sbagliata. +// Si apre dal menu di UNA macchina: l'indice e il nome arrivano dalla voce +// aperta, cosi' il comando non puo' finire sulla macchina sbagliata. Dialog { id: dialog property int deviceIndex: -1 + property string deviceLabel: "" + property bool enableAccept: false property int hours: api.delayHours - canAccept: api.canCommandAt(deviceIndex) + canAccept: enableAccept onAccepted: { api.setDelayHours(hours) @@ -22,8 +24,7 @@ Dialog { spacing: Theme.paddingMedium DialogHeader { - title: api.validIndex(deviceIndex) ? api.labelAt(deviceIndex) - : qsTr("Delayed stop") + title: dialog.deviceLabel.length > 0 ? dialog.deviceLabel : qsTr("Delayed stop") acceptText: qsTr("Set") } diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 019b2f6..e9aa0e4 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -6,6 +6,9 @@ import "../js/status.js" as Status // * senza chiave di accesso -> si chiede una volta sola (qui, non nelle // impostazioni) e poi non se ne parla piu'; // * con la chiave -> l'elenco delle macchine, ognuna col suo stato. +// +// L'elenco arriva come DATO (api.devices), non con funzioni di lettura: solo +// cosi' le scritte si aggiornano quando lo stato cambia. Page { id: page @@ -102,7 +105,7 @@ Page { // Ogni macchina dell'account, col suo stato e il suo comando. // --------------------------------------------------------------- Repeater { - model: api.configured ? api.deviceCount : 0 + model: api.devices delegate: Column { id: machine @@ -122,10 +125,10 @@ Page { width: Theme.itemSizeSmall / 2.2 height: width radius: width / 2 - color: Status.statusColor(api.statusLevelAt(index)) + color: Status.statusColor(modelData.level) SequentialAnimation on opacity { - running: Status.isActive(api.statusLevelAt(index)) + running: Status.isActive(modelData.level) loops: Animation.Infinite PropertyAnimation { to: 0.35; duration: 900 } PropertyAnimation { to: 1.0; duration: 900 } @@ -143,7 +146,7 @@ Page { Label { width: parent.width truncationMode: TruncationMode.Fade - text: api.labelAt(index) + text: modelData.label color: Theme.highlightColor font.pixelSize: Theme.fontSizeMedium } @@ -151,9 +154,7 @@ Page { Label { width: parent.width truncationMode: TruncationMode.Fade - text: api.offlineAt(index) - ? qsTr("Not connected") - : api.phaseTextAt(index) + text: modelData.offline ? qsTr("Not connected") : modelData.phase color: Theme.secondaryColor font.pixelSize: Theme.fontSizeSmall } @@ -167,28 +168,28 @@ Page { Label { anchors.horizontalCenter: parent.horizontalCenter - visible: api.hasStateAt(index) - text: api.remainTextAt(index).length > 0 ? api.remainTextAt(index) : "--" - color: api.staleAt(index) ? "orange" : Theme.primaryColor + visible: modelData.hasState + text: modelData.remain.length > 0 ? modelData.remain : "--" + color: modelData.stale ? "orange" : Theme.primaryColor font.pixelSize: Theme.fontSizeHuge } Label { anchors.horizontalCenter: parent.horizontalCenter - visible: api.totalLineAt(index).length > 0 - text: api.totalLineAt(index) + visible: modelData.totalLine.length > 0 + text: modelData.totalLine color: Theme.secondaryColor font.pixelSize: Theme.fontSizeSmall } - // Se la macchina non risponde o ha l'avvio a distanza - // spento, dirlo con le parole necessarie invece di lasciare - // un tasto che non funziona. + // Se l'avvio a distanza e' spento sulla macchina, dirlo con + // le parole necessarie invece di lasciare un tasto che non + // funziona. Label { x: Theme.horizontalPageMargin width: parent.width - 2 * Theme.horizontalPageMargin wrapMode: Text.WordWrap - visible: api.hasStateAt(index) && !api.remoteEnabledAt(index) + visible: modelData.hasState && !modelData.remote color: Theme.secondaryColor font.pixelSize: Theme.fontSizeExtraSmall text: qsTr("To send commands, switch remote start on from the machine panel.") @@ -198,7 +199,7 @@ Page { x: Theme.horizontalPageMargin width: parent.width - 2 * Theme.horizontalPageMargin wrapMode: Text.WordWrap - visible: api.offlineAt(index) + visible: modelData.offline color: Theme.secondaryColor font.pixelSize: Theme.fontSizeExtraSmall text: qsTr("The washing machine is not connected (switched off or offline)") @@ -209,9 +210,9 @@ Page { anchors.horizontalCenter: parent.horizontalCenter width: parent.width - 2 * Theme.horizontalPageMargin height: Theme.itemSizeMedium - visible: api.hasStateAt(index) - enabled: api.canCommandAt(index) && !api.busy - text: api.primaryLabelAt(index) + visible: modelData.hasState + enabled: modelData.canCommand && !api.busy + text: modelData.action onClicked: api.runPrimaryAt(index) } @@ -220,18 +221,20 @@ Page { MenuItem { text: qsTr("Delayed stop…") - enabled: api.canCommandAt(index) + enabled: modelData.canCommand onClicked: pageStack.push(Qt.resolvedUrl("DelayDialog.qml"), - { "deviceIndex": index }) + { "deviceIndex": index, + "deviceLabel": modelData.label, + "enableAccept": modelData.canCommand }) } MenuItem { text: qsTr("Switch off") - enabled: api.canCommandAt(index) + enabled: modelData.canCommand onClicked: api.powerOffAt(index) } MenuItem { text: qsTr("Wake the display up") - enabled: api.canCommandAt(index) + enabled: modelData.canCommand onClicked: api.wakeUpAt(index) } } diff --git a/rpm/harbour-thinq.spec b/rpm/harbour-thinq.spec index 827fbff..0f1a166 100644 --- a/rpm/harbour-thinq.spec +++ b/rpm/harbour-thinq.spec @@ -1,6 +1,6 @@ Name: harbour-thinq Summary: Control an LG ThinQ washing machine -Version: 0.2.0 +Version: 0.2.1 Release: 1 Group: Qt/Qt License: MIT @@ -26,6 +26,11 @@ ThinQ Connect cloud from the phone: no server in between. The access token is stored only on the device, in the app private configuration file. %changelog +* Mon Oct 12 2026 Carlo - 0.2.1-1 +- l'elenco delle macchine si aggiorna davvero: stato, fase e tempo rimanente + erano letti con funzioni, che in QML non si aggiornano da sole (si vedevano i + nomi ma nessuno stato) + * Mon Oct 12 2026 Carlo - 0.2.0-1 - la schermata principale chiede la chiave una volta sola, poi mostra tutte le macchine dell'account con lo stato di ciascuna diff --git a/src/main.cpp b/src/main.cpp index 9e50901..c2de04a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,7 +21,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) app->setOrganizationName(QStringLiteral("harbour")); app->setApplicationName(QStringLiteral("thinq")); - app->setApplicationVersion(QStringLiteral("0.2.0")); + app->setApplicationVersion(QStringLiteral("0.2.1")); Settings settings; ThinQClient api(&settings); @@ -34,7 +34,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) QQuickView *view = SailfishApp::createView(); // Prima riga del log: dice se il device sta girando la build nuova o una stale. - qDebug() << "harbour-thinq v0.2.0 build" << __DATE__ << __TIME__; + qDebug() << "harbour-thinq v0.2.1 build" << __DATE__ << __TIME__; view->rootContext()->setContextProperty(QStringLiteral("appSettings"), &settings); view->rootContext()->setContextProperty(QStringLiteral("api"), &api); diff --git a/src/thinqclient.cpp b/src/thinqclient.cpp index 21862e8..2f89945 100644 --- a/src/thinqclient.cpp +++ b/src/thinqclient.cpp @@ -45,17 +45,63 @@ bool ThinQClient::configured() const return !m_settings->token().isEmpty(); } -int ThinQClient::activeIndex() const +QVariantList ThinQClient::devices() const { + // Tutto quello che le schermate devono mostrare, gia' pronto. I binding QML + // si aggiornano quando questa proprieta' cambia (devicesChanged): con le + // funzioni di lettura, invece, non si sarebbero mai aggiornati. + QVariantList list; for (int i = 0; i < m_devices.size(); ++i) { + const DeviceEntry &e = m_devices.at(i); + const QString total = ThinQJson::durationText(e.state.totalMinutes); + + QVariantMap item; + item.insert(QStringLiteral("id"), e.id); + item.insert(QStringLiteral("label"), e.label.isEmpty() + ? QCoreApplication::translate("ThinQ", "Washing machine") : e.label); + item.insert(QStringLiteral("hasState"), e.hasState); + item.insert(QStringLiteral("offline"), e.offline); + item.insert(QStringLiteral("stale"), e.stale); + item.insert(QStringLiteral("updated"), e.updated); + item.insert(QStringLiteral("phase"), e.hasState + ? ThinQJson::phaseLabel(e.state) + : QCoreApplication::translate("ThinQ", "No data")); + item.insert(QStringLiteral("level"), ThinQJson::statusLevel(e.state)); + item.insert(QStringLiteral("remain"), ThinQJson::durationText(e.state.remainMinutes)); + item.insert(QStringLiteral("totalLine"), total.isEmpty() ? QString() + : QCoreApplication::translate("ThinQ", "of %1").arg(total)); + item.insert(QStringLiteral("cycle"), e.state.cycleCount); + item.insert(QStringLiteral("remote"), e.state.remoteEnabled); + item.insert(QStringLiteral("action"), e.hasState + ? ThinQJson::primaryActionLabel(e.state) + : QCoreApplication::translate("ThinQ", "Start")); + item.insert(QStringLiteral("canCommand"), + e.hasState && !e.offline && e.state.remoteEnabled); + list << item; + } + return list; +} + +QVariantMap ThinQClient::active() const +{ + // Per la copertina: la macchina che sta lavorando, altrimenti la prima che + // sa dire qualcosa di se'. + int chosen = -1; + for (int i = 0; i < m_devices.size() && chosen < 0; ++i) { if (ThinQJson::statusLevel(m_devices.at(i).state) == 1) - return i; + chosen = i; } - for (int i = 0; i < m_devices.size(); ++i) { + for (int i = 0; i < m_devices.size() && chosen < 0; ++i) { if (m_devices.at(i).hasState) - return i; + chosen = i; } - return m_devices.isEmpty() ? -1 : 0; + if (chosen < 0 && !m_devices.isEmpty()) + chosen = 0; + + const QVariantList list = devices(); + if (chosen < 0 || chosen >= list.size()) + return QVariantMap(); + return list.at(chosen).toMap(); } bool ThinQClient::validIndex(int index) const @@ -63,110 +109,6 @@ bool ThinQClient::validIndex(int index) const return index >= 0 && index < m_devices.size(); } -QString ThinQClient::labelAt(int index) const -{ - if (!validIndex(index)) - return QString(); - const QString label = m_devices.at(index).label; - return label.isEmpty() - ? QCoreApplication::translate("ThinQ", "Washing machine") - : label; -} - -bool ThinQClient::hasStateAt(int index) const -{ - return validIndex(index) && m_devices.at(index).hasState; -} - -bool ThinQClient::offlineAt(int index) const -{ - return validIndex(index) && m_devices.at(index).offline; -} - -bool ThinQClient::staleAt(int index) const -{ - return validIndex(index) && m_devices.at(index).stale; -} - -QString ThinQClient::phaseTextAt(int index) const -{ - if (!hasStateAt(index)) - return QCoreApplication::translate("ThinQ", "No data"); - return ThinQJson::phaseLabel(m_devices.at(index).state); -} - -int ThinQClient::statusLevelAt(int index) const -{ - if (!validIndex(index)) - return -1; - return ThinQJson::statusLevel(m_devices.at(index).state); -} - -QString ThinQClient::remainTextAt(int index) const -{ - if (!validIndex(index)) - return QString(); - return ThinQJson::durationText(m_devices.at(index).state.remainMinutes); -} - -QString ThinQClient::totalTextAt(int index) const -{ - if (!validIndex(index)) - return QString(); - return ThinQJson::durationText(m_devices.at(index).state.totalMinutes); -} - -QString ThinQClient::totalLineAt(int index) const -{ - const QString total = totalTextAt(index); - if (total.isEmpty()) - return QString(); - return QCoreApplication::translate("ThinQ", "of %1").arg(total); -} - -int ThinQClient::cycleCountAt(int index) const -{ - if (!validIndex(index)) - return 0; - return m_devices.at(index).state.cycleCount; -} - -bool ThinQClient::remoteEnabledAt(int index) const -{ - if (!hasStateAt(index)) - return false; - return m_devices.at(index).state.remoteEnabled; -} - -QString ThinQClient::primaryLabelAt(int index) const -{ - if (!hasStateAt(index)) - return QCoreApplication::translate("ThinQ", "Start"); - return ThinQJson::primaryActionLabel(m_devices.at(index).state); -} - -bool ThinQClient::canCommandAt(int index) const -{ - if (!hasStateAt(index)) - return false; - const DeviceEntry &e = m_devices.at(index); - return !e.offline && e.state.remoteEnabled; -} - -QString ThinQClient::updatedTextAt(int index) const -{ - if (!validIndex(index)) - return QString(); - return m_devices.at(index).updated; -} - -QString ThinQClient::deviceIdAt(int index) const -{ - if (!validIndex(index)) - return QString(); - return m_devices.at(index).id; -} - void ThinQClient::setDelayHours(int hours) { const int clamped = qBound(3, hours, 19); @@ -292,7 +234,7 @@ void ThinQClient::discover() void ThinQClient::runPrimaryAt(int index) { - if (!hasStateAt(index)) { + if (!validIndex(index) || !m_devices.at(index).hasState) { setNotice(QCoreApplication::translate("ThinQ", "No data from the machine yet"), true); return; } @@ -502,6 +444,7 @@ void ThinQClient::applyState(int deviceIndex, bool hadState, int previousLevel, if (m_pollInterval != kPollFastMs) m_pollInterval = kPollFastMs; + emit devicesChanged(); emit stateChanged(); noteFinished(deviceIndex, hadState, previousLevel); } @@ -566,6 +509,7 @@ void ThinQClient::handleFailure(int httpStatus, const QByteArray &body, entry.hasState = false; entry.updated.clear(); entry.stale = false; + emit devicesChanged(); emit stateChanged(); return; } diff --git a/src/thinqclient.h b/src/thinqclient.h index f60051f..c517a5c 100644 --- a/src/thinqclient.h +++ b/src/thinqclient.h @@ -6,6 +6,8 @@ #include #include #include +#include +#include #include "thinqjson.h" @@ -15,14 +17,17 @@ class QNetworkReply; // Tutte le macchine dell'account, ognuna col suo stato. Una sola classe parla // col cloud LG: nessun ponte, nessun server di mezzo, nessun servizio. // -// Il QML legge per indice (labelAt/phaseTextAt/...): l'elenco cambia raramente e -// cosi' le stesse funzioni servono la schermata principale e la copertina. +// L'elenco si espone come DATO (QVariantList di mappe), non con funzioni di +// lettura per indice: in QML un binding che chiama una funzione non registra +// nessuna dipendenza e quindi non si aggiorna mai — le macchine si vedevano, ma +// lo stato restava vuoto per sempre. class ThinQClient : public QObject { Q_OBJECT Q_PROPERTY(bool configured READ configured NOTIFY infoChanged) Q_PROPERTY(int deviceCount READ deviceCount NOTIFY devicesChanged) - Q_PROPERTY(int activeIndex READ activeIndex NOTIFY stateChanged) + Q_PROPERTY(QVariantList devices READ devices NOTIFY devicesChanged) + Q_PROPERTY(QVariantMap active READ active NOTIFY devicesChanged) Q_PROPERTY(bool busy READ busy NOTIFY busyChanged) Q_PROPERTY(bool polling READ polling NOTIFY pollingChanged) Q_PROPERTY(QString notice READ notice NOTIFY noticeChanged) @@ -36,8 +41,8 @@ public: // invece di chiedere le credenziali. bool configured() const; int deviceCount() const { return m_devices.size(); } - // La macchina che sta lavorando (per la copertina), altrimenti la prima. - int activeIndex() const; + QVariantList devices() const; + QVariantMap active() const; bool busy() const { return m_busy; } bool polling() const { return m_pollTimer.isActive(); } QString notice() const { return m_notice; } @@ -45,23 +50,6 @@ public: int delayHours() const { return m_delayHours; } void setDelayHours(int hours); - Q_INVOKABLE QString labelAt(int index) const; - Q_INVOKABLE bool hasStateAt(int index) const; - Q_INVOKABLE bool offlineAt(int index) const; - Q_INVOKABLE bool staleAt(int index) const; - Q_INVOKABLE QString phaseTextAt(int index) const; - Q_INVOKABLE int statusLevelAt(int index) const; - Q_INVOKABLE QString remainTextAt(int index) const; - Q_INVOKABLE QString totalTextAt(int index) const; - Q_INVOKABLE QString totalLineAt(int index) const; - Q_INVOKABLE int cycleCountAt(int index) const; - Q_INVOKABLE bool remoteEnabledAt(int index) const; - Q_INVOKABLE QString primaryLabelAt(int index) const; - Q_INVOKABLE bool canCommandAt(int index) const; - Q_INVOKABLE QString updatedTextAt(int index) const; - Q_INVOKABLE QString deviceIdAt(int index) const; - Q_INVOKABLE bool validIndex(int index) const; - Q_INVOKABLE void refresh(); Q_INVOKABLE void discover(); Q_INVOKABLE void runPrimaryAt(int index); @@ -89,6 +77,8 @@ signals: private: enum RequestKind { KindDevices, KindState, KindCommand }; + bool validIndex(int index) const; + struct DeviceEntry { QString id; QString label; diff --git a/translations/harbour-thinq-it.ts b/translations/harbour-thinq-it.ts index 5c0a2bf..b777952 100644 --- a/translations/harbour-thinq-it.ts +++ b/translations/harbour-thinq-it.ts @@ -4,7 +4,7 @@ CoverPage - + No data Nessun dato Nessun dato @@ -13,19 +13,19 @@ DelayDialog - + Delayed stop Stop ritardato Stop ritardato - + Set Imposta Imposta - + The machine will stop on its own after the chosen time, then resume its programme. La macchina si ferma da sola allo scadere del tempo scelto, poi riprende il programma. La macchina si ferma da sola allo scadere del tempo scelto, poi riprende il programma. @@ -34,91 +34,101 @@ MainPage - + Refresh Aggiorna Aggiorna - + My machines Le mie macchine + Le mie macchine - + Updating… Aggiornamento… + Aggiornamento… - + %1 found %1 trovate + %1 trovate - + First setup Primo avvio + Primo avvio - + The access token comes from connect-pat.lgthinq.com and stays on this phone only. If LG starts refusing it, paste a new one here. La chiave di accesso si crea su connect-pat.lgthinq.com e resta solo su questo telefono. Se LG non la accetta piu', incollane una nuova qui. - + Access token Chiave di accesso + Chiave di accesso - + paste the token incolla la chiave + incolla la chiave - + Country code Paese + Paese - + Connect Collega + Collega - + Not connected Non collegata + Non collegata - + The washing machine is not connected (switched off or offline) La lavatrice non e' collegata (spenta o senza rete) - + Delayed stop… Stop ritardato… Stop ritardato… - + Switch off Spegni Spegni - + Wake the display up Risveglia il display Risveglia il display - + No machine found yet. Pull down to search again. Nessuna macchina trovata. Trascina in basso per cercare di nuovo. + Nessuna macchina trovata. Trascina in basso per cercare di nuovo. - + Settings Impostazioni Impostazioni @@ -156,7 +166,7 @@ spento - + To send commands, switch remote start on from the machine panel. Per inviare comandi, accendi l'avvio a distanza dal pannello della macchina. @@ -208,11 +218,13 @@ Machines Macchine + Macchine %1 found %1 trovate + %1 trovate Machine @@ -251,31 +263,32 @@ ThinQ - + Washing machine Lavatrice Lavatrice - + No data Nessun dato Nessun dato - + of %1 su %1 + su %1 - + Start Avvia Avvia - + Enter the access token first Inserisci prima la chiave di accesso Inserisci prima la chiave di accesso @@ -285,26 +298,26 @@ Macchina scelta - + No data from the machine yet Ancora nessun dato dalla macchina Ancora nessun dato dalla macchina - + No washing machine found on this account Nessuna lavatrice trovata su questo account Nessuna lavatrice trovata su questo account - + Machines found: %1 Macchine trovate: %1 Macchine trovate: %1 - - + + Command sent Comando inviato Comando inviato @@ -314,63 +327,65 @@ Imposta prima la chiave di accesso e la macchina - + The access token is missing Manca la chiave di accesso + Manca la chiave di accesso - + No machine to command Nessuna macchina da comandare + Nessuna macchina da comandare - - + + Remote start is off on the machine: switch it on from its panel L'avvio a distanza e' spento sulla macchina: accendilo dal pannello - + Updated at %1 Aggiornato alle %1 Aggiornato alle %1 - + The access token is no longer valid: enter a new one in Settings La chiave di accesso non e' piu' valida: inseriscine una nuova nelle Impostazioni - + Too many requests to LG: slowing down Troppe richieste a LG: rallento gli aggiornamenti Troppe richieste a LG: rallento gli aggiornamenti - + The washing machine is not connected (switched off or offline) La lavatrice non e' collegata (spenta o senza rete) - + The machine does not accept this command La macchina non accetta questo comando La macchina non accetta questo comando - + LG error %1: %2 Errore LG %1: %2 Errore LG %1: %2 - + No answer from the LG cloud: %1 Nessuna risposta dal cloud LG: %1 Nessuna risposta dal cloud LG: %1 - + The LG cloud refused the request (HTTP %1) Il cloud LG ha rifiutato la richiesta (HTTP %1) Il cloud LG ha rifiutato la richiesta (HTTP %1) @@ -496,6 +511,7 @@ Washing finished Lavaggio finito + Lavaggio finito