Repository navigation
Mate 4.14.0 — Mate no longer writes a charge's note
Mate 4.14.0 — Mate no longer writes a charge's note
@arekm's #406: the note of a charge is the
user's, and 🧭 beside 📍 looks a missing address up when asked. Plus a fix to the message under 🧭, and
docs for showing Mate inside Home Assistant through hass_ingress
(#407).
A charge's note is yours — #406, @arekm
- With the default settings Mate wrote a note on every charge it closed: the station's address, the
start and end times, the outside and battery temperatures. To find that address it sent the position
of every charge closed away from home to OpenStreetMap's Overpass, even with ⚡ Charging stations and
the address lookup switched off. Both stop. The note is left to you, as a trip's is since 4.13.0. - The same facts are already on the card: the times in its heading, the temperatures on its chart, the
address on its 📍 line (4.13.1). - 🧭 on the 📍 line, where the line has no address and no charging place names the charge: it asks
the provider chosen in Settings ▸ Address lookup at once, even with that card's switch off and
however old the charge, then draws the line again. When no address comes, a row under the line says
why: the provider has nothing there, or how asking it failed. - Settings ▸ Address lookup loses Write the note by itself.
- The 🧭 in a trip's summary also says why no address came; before, without network, it left the
dashes with no message. - The refuel's 🧭 is unchanged.
Also in this release
- A network error without words read "Asking Nominatim failed: " with nothing after it under 🧭; it now
names the error. - Mate inside Home Assistant from a Docker install
(#407): the README and.env.example
name hass_ingress's defaultingressmode and the addresses to put inMATE_FRAME_ANCESTORS. The
README said that with a password, logging in inside a frame does not work and to log in in a regular
tab first. It now says what was measured: in a frame on the same site as Mate logging in works; in a
frame on another host the login page comes back even after logging in in a tab.
Upgrade impact
- Nothing is migrated, recomputed or deleted. The notes Mate wrote before stay as they are: nothing tells
one Mate wrote from one typed in. The Write the note by itself setting stays in the database, unread. - A charge closed after the update gets no note, and its closing sends nothing to Overpass. The address
on its 📍 line comes, as in 4.13.1, from the background lookup if its switch is on. - 🧭 on a charge sends that charge's position to the chosen provider when you press it, also with the
switch off: you asked.
Verification
- CI green on the tag: 5,501 passed, 1 skipped (a test that needs a local-only file), plus 48
on the Windows job; the check that the released desktop shell still runs this Mate is green. - Locally, in the CI's image with Node.js and a MateDesktop checkout added — so that nothing is
skipped: 5,501 passed, 1 skipped (a test that needs a local-only file). - The new and changed tests, run on 4.13.1, give 18 failures; now all 83 pass.
- In Chromium, on a database with made-up addresses and no network, at 1280 and 390 px: a charge without
an address has 🧭 on its 📍 line, one with a station and its address has none; the note has no 🧭;
🧭 without network says why on a row of its own, read whole beside the card's buttons; Settings ▸
Address lookup has no Write the note by itself; no script errors. - The Docker image, built from this release, ran on the test instance with a real database before the
tag: every page answers; Settings has no note switch; over 24 days of charges, 29 cards, 🧭 shows on the
2 without an address and no card has the note's 🧭; the charges CSV has the same columns and rows; no
errors in the log. - #407: in Chromium, behind a stand-in for hass_ingress's
ingressmode (the headers it sends, with
X-Ingress-Path): withoutMATE_FRAME_ANCESTORSthe frame is refused; with Home Assistant's address in
it the pages, the links and a setting saved from the panel work, with and without a password. - Not tried: 🧭 against a real lookup service, a real phone, Safari, Firefox, the add-on behind Home
Assistant, and a real Home Assistant with hass_ingress.
Italiano
Mate 4.14.0 — Mate non scrive più la nota delle ricariche
La #406 di @arekm: la nota di una ricarica
è tua, e 🧭 accanto a 📍 cerca un indirizzo mancante quando lo chiedi. In più una correzione al messaggio
sotto 🧭, e le istruzioni per mostrare Mate dentro Home Assistant con hass_ingress
(#407).
La nota di una ricarica è tua — #406, @arekm
- Con le impostazioni predefinite Mate scriveva una nota su ogni ricarica che chiudeva: l'indirizzo
della colonnina, l'ora di inizio e di fine, la temperatura esterna e quella della batteria. Per trovare
l'indirizzo mandava a Overpass di OpenStreetMap la posizione di ogni ricarica chiusa fuori casa, anche
con ⚡ Colonnine di ricarica e la ricerca indirizzi spente. Smette di fare entrambe le cose. La nota la scrivi tu,
come quella dei viaggi dalla 4.13.0. - Le stesse informazioni sono già nella scheda: gli orari nell'intestazione, le temperature nel grafico,
l'indirizzo sulla riga 📍 (4.13.1). - 🧭 sulla riga 📍, quando la riga non ha un indirizzo e nessun luogo di ricarica dà il nome alla
ricarica: chiede subito al servizio scelto in Impostazioni ▸ Ricerca indirizzi, anche con
l'interruttore di quella scheda spento e per una ricarica vecchia quanto vuoi, poi ridisegna la riga. Se
non arriva nessun indirizzo, una riga sotto dice perché: il servizio lì non ha niente, oppure come è
fallita la richiesta. - Impostazioni ▸ Ricerca indirizzi perde Scrivi la nota da sola.
- Anche il 🧭 nel riepilogo di un viaggio dice perché non è arrivato un indirizzo; prima, senza rete,
lasciava i trattini senza nessun messaggio. - Il 🧭 dei rifornimenti non cambia.
Anche in questa versione
- Un errore di rete senza testo scriveva sotto 🧭 «La richiesta a Nominatim non è riuscita: » e poi
niente; ora dice di che errore si tratta. - Mate dentro Home Assistant da un'installazione Docker
(#407): il README e.env.example
indicano la modalità predefinitaingressdi hass_ingress e gli indirizzi da mettere in
MATE_FRAME_ANCESTORS. Il README diceva che con una password l'accesso dentro un frame non funziona, e
di fare prima login in una scheda normale. Ora dice quello che è stato misurato: in un frame sullo
stesso sito di Mate l'accesso funziona; in un frame su un altro host la pagina di accesso torna anche
dopo il login in una scheda.
Impatto dell'aggiornamento
- Niente viene migrato, ricalcolato o cancellato. Le note che Mate ha scritto prima restano come sono:
niente distingue una nota scritta da Mate da una scritta da te. L'impostazione Scrivi la nota da sola
resta nel database, ma non viene più letta. - Una ricarica chiusa dopo l'aggiornamento non riceve nessuna nota, e alla chiusura non viene mandato
niente a Overpass. L'indirizzo sulla sua riga 📍 arriva, come nella 4.13.1, dalla ricerca in sottofondo
se il suo interruttore è acceso. - 🧭 su una ricarica manda la posizione di quella ricarica al servizio scelto quando lo premi, anche con
l'interruttore spento: l'hai chiesto tu.
Verifica
- CI verde sul tag: 5.501 passati, 1 saltato (un test che ha bisogno di un file solo locale), più
48 sul job Windows; il controllo che il guscio desktop pubblicato faccia ancora girare questa Mate è verde. - In locale, nell'immagine della CI con Node.js e una copia di MateDesktop aggiunti — così che non si
salti niente: 5.501 passati, 1 saltato (un test che ha bisogno di un file solo locale). - I test nuovi e modificati, fatti girare sulla 4.13.1, danno 18 fallimenti; adesso passano tutti e 83.
- In Chromium, su un database con indirizzi inventati e senza rete, a 1280 e 390 px: una ricarica senza
indirizzo ha 🧭 sulla riga 📍, una con colonnina e indirizzo no; la nota non ha più 🧭; 🧭 senza rete dice
perché su una riga sua, leggibile per intero accanto ai pulsanti della scheda; Impostazioni ▸ Ricerca
indirizzi non ha più Scrivi la nota da sola; nessun errore negli script. - L'immagine Docker, costruita da questa versione, ha girato sull'istanza di prova con un database vero
prima del tag: ogni pagina risponde; Impostazioni non ha più l'interruttore della nota; su 24 giorni di
ricariche, 29 schede, 🧭 compare sulle 2 senza indirizzo e nessuna scheda ha il 🧭 della nota; il CSV
delle ricariche ha le stesse colonne e righe; nessun errore nel log. - #407: in Chromium, dietro un sostituto della modalità
ingressdi hass_ingress (gli stessi header,
conX-Ingress-Path): senzaMATE_FRAME_ANCESTORSil frame viene rifiutato; con l'indirizzo di Home
Assistant le pagine, i link e un'impostazione salvata dal pannello funzionano, con e senza password. - Non provati: 🧭 con un servizio di indirizzi vero, un telefono vero, Safari, Firefox, l'add-on dentro
Home Assistant, e un vero Home Assistant con hass_ingress.