From a6d3c3e1c2e6d1a1f8e73581904fb06489b804c2 Mon Sep 17 00:00:00 2001 From: Patrick Schurig Date: Fri, 16 Oct 2026 23:04:58 +0200 Subject: [PATCH] fix(openmeteo): la doc promettait un arrondi que le paquet testing ne fait pas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le canal testing sert powersync-plugin-openmeteo 1.15.2+etm1 (publié le 2026-09-08 à 09:49, avant le Contrat A). Cette version envoie les coordonnées du site sans arrondi ; l'arrondi à deux décimales n'existe que depuis etm2, et etm2 à etm16 ne sont dans aucun canal. La fiche OpenMeteo, la page Prévision PV et la FAQ (trois langues) disaient « arrondies à environ 1 km » sans condition. Elles le qualifient maintenant par version, et la fiche porte un avertissement en tête : version décrite à partir de 1.15.2+etm2. PORTING_STATUS reste `testing` : c'est exact. TODO : retirer ces avertissements quand etm16 ou suivant entre dans testing. Vérifié comme en CI : génération, --check et mkdocs build --strict passent. Co-Authored-By: Claude Opus 5.5 --- docs/appareils/tarifs/openmeteo.de.md | 10 +++++++++- docs/appareils/tarifs/openmeteo.en.md | 9 ++++++++- docs/appareils/tarifs/openmeteo.md | 10 +++++++++- docs/faq.de.md | 4 ++-- docs/faq.en.md | 2 +- docs/faq.md | 2 +- docs/fonctionnalites/prevision-pv.de.md | 2 +- docs/fonctionnalites/prevision-pv.en.md | 2 +- docs/fonctionnalites/prevision-pv.md | 2 +- 9 files changed, 33 insertions(+), 10 deletions(-) diff --git a/docs/appareils/tarifs/openmeteo.de.md b/docs/appareils/tarifs/openmeteo.de.md index 80fc38a..493c27a 100644 --- a/docs/appareils/tarifs/openmeteo.de.md +++ b/docs/appareils/tarifs/openmeteo.de.md @@ -15,6 +15,12 @@ API-Schlüssel** und ohne Umweg über einen ETM-Dienst. Paket: `powersync-plugin-openmeteo`. +!!! warning "Beschriebene Version: ab `1.15.2+etm2`" + Im Kanal **testing** ist derzeit `1.15.2+etm1` veröffentlicht, eine ältere Version. + Sie sendet die Koordinaten des Standorts **ungerundet**, und ein Teil der hier + beschriebenen Funktionen fehlt ihr. Die Versionen, die sie enthalten, sind in der + Beta und noch in keinem Kanal des APT-Repositorys veröffentlicht. + ## 1. Was das Plugin bereitstellt Das Plugin legt zwei Arten von Objekten an: @@ -112,7 +118,9 @@ Verbindung zurück ist. Für ihre Prognosen sendet die Box an Open-Meteo **ausschließlich**: - die Koordinaten des Standorts, **auf zwei Nachkommastellen gerundet** (etwa 1 km): - genau genug für das Wetter, zu ungenau, um eine Adresse zu bezeichnen; + genau genug für das Wetter, zu ungenau, um eine Adresse zu bezeichnen. ⚠️ Rundung + ab `1.15.2+etm2`; die Version `1.15.2+etm1` im Kanal testing sendet die Koordinaten + so, wie sie eingegeben wurden; - die Höhe des Standorts, sofern eingetragen; - Neigung und Azimut jeder PV-Fläche. diff --git a/docs/appareils/tarifs/openmeteo.en.md b/docs/appareils/tarifs/openmeteo.en.md index 8dc0dad..2ac6f14 100644 --- a/docs/appareils/tarifs/openmeteo.en.md +++ b/docs/appareils/tarifs/openmeteo.en.md @@ -15,6 +15,12 @@ through an ETM service. Package: `powersync-plugin-openmeteo`. +!!! warning "Version described: from `1.15.2+etm2`" + The version currently published in the **testing** channel is `1.15.2+etm1`, an + earlier one. It sends the site's coordinates **unrounded**, and part of the features + described here are missing from it. The versions that carry them are in beta and not + yet published in a channel of the APT repository. + ## 1. What the plugin publishes The plugin creates two kinds of objects: @@ -103,7 +109,8 @@ safety is maintained, and only the forecasts degrade until the connection return To get its forecasts, the box sends Open-Meteo **only**: - the site's coordinates, **rounded to two decimals** (about 1 km): precise enough for - the weather, too blurred to point to an address; + the weather, too blurred to point to an address. ⚠️ Rounding from `1.15.2+etm2`; version + `1.15.2+etm1` in the testing channel sends the coordinates as entered; - the site's altitude, if you entered it; - the tilt and azimuth of each PV plane. diff --git a/docs/appareils/tarifs/openmeteo.md b/docs/appareils/tarifs/openmeteo.md index c2f8eea..9f33b9c 100644 --- a/docs/appareils/tarifs/openmeteo.md +++ b/docs/appareils/tarifs/openmeteo.md @@ -15,6 +15,12 @@ ni clé d'API** et sans passer par un service ETM. Paquet : `powersync-plugin-openmeteo`. +!!! warning "Version décrite : à partir de `1.15.2+etm2`" + La version publiée dans le canal **testing** est aujourd'hui `1.15.2+etm1`, antérieure. + Elle envoie les coordonnées du site **sans arrondi**, et une partie des fonctions + décrites ici n'y figure pas. Les versions qui les portent sont en beta et ne sont + pas encore publiées dans un canal du dépôt APT. + ## 1. Ce que le plugin publie Le plugin crée deux types d'objets : @@ -107,7 +113,9 @@ connexion. Pour obtenir ses prévisions, la box envoie à Open-Meteo **uniquement** : - les coordonnées du site, **arrondies à deux décimales** (environ 1 km) : assez - précises pour la météo, trop floues pour désigner une adresse ; + précises pour la météo, trop floues pour désigner une adresse. ⚠️ Arrondi présent à + partir de `1.15.2+etm2` ; la version `1.15.2+etm1` du canal testing envoie les + coordonnées telles que saisies ; - l'altitude du site, si vous l'avez renseignée ; - l'inclinaison et l'azimut de chaque plan PV. diff --git a/docs/faq.de.md b/docs/faq.de.md index 7221a9a..891e5c2 100644 --- a/docs/faq.de.md +++ b/docs/faq.de.md @@ -6,8 +6,8 @@ Nein. Die Steuerung läuft lokal auf der Box und arbeitet auch ohne Internet weiter. Die einzige Komponente, die sich von selbst mit dem Internet verbindet, ist das -Wetter-Plugin OpenMeteo: Es sendet nur die Koordinaten des Standorts (auf etwa 1 km -gerundet), seine Höhe und die Ausrichtung der Module. Messwerte, Verbrauch und Tarif +Wetter-Plugin OpenMeteo: Es sendet nur die Koordinaten des Standorts (ab Plugin-Version `1.15.2+etm2` auf etwa 1 km +gerundet; die Version `etm1` im Kanal testing sendet sie ungerundet), seine Höhe und die Ausrichtung der Module. Messwerte, Verbrauch und Tarif bleiben bei Ihnen. Der Fernzugriff ist standardmäßig deaktiviert; er wird nur geöffnet, wenn Sie ihn selbst in der App aktivieren. Das ist eine Architekturentscheidung, keine Option. diff --git a/docs/faq.en.md b/docs/faq.en.md index b7b5535..c57f257 100644 --- a/docs/faq.en.md +++ b/docs/faq.en.md @@ -6,7 +6,7 @@ No. Control runs locally, on the box, and keeps working without internet. The only component that connects to the internet on its own is the OpenMeteo weather plugin: it -sends only the site's coordinates (rounded to about 1 km), its altitude and the +sends only the site's coordinates (rounded to about 1 km from plugin version `1.15.2+etm2`; version `etm1` in the testing channel sends them unrounded), its altitude and the orientation of the panels. Measurements, consumption and the tariff stay with you. Remote access is disabled by default; it opens only if you enable it yourself in the app. That is an architectural decision, not an option. diff --git a/docs/faq.md b/docs/faq.md index 5fc85ef..d7b2e6b 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -6,7 +6,7 @@ Non. Le pilotage tourne en local, sur la box, et continue sans internet. Le seul composant qui se connecte à internet de lui-même est le plugin météo OpenMeteo : il -n'envoie que les coordonnées du site (arrondies à environ 1 km), son altitude et +n'envoie que les coordonnées du site (arrondies à environ 1 km à partir de la version `1.15.2+etm2` du plugin ; la version `etm1` du canal testing les envoie sans arrondi), son altitude et l'orientation des panneaux. Les mesures, la consommation et le tarif restent chez vous. L'accès à distance est désactivé par défaut ; il ne s'ouvre que si vous l'activez vous-même dans l'application. C'est un choix d'architecture, pas une option. diff --git a/docs/fonctionnalites/prevision-pv.de.md b/docs/fonctionnalites/prevision-pv.de.md index 53d51a0..71dbfc2 100644 --- a/docs/fonctionnalites/prevision-pv.de.md +++ b/docs/fonctionnalites/prevision-pv.de.md @@ -94,7 +94,7 @@ nichts angezeigt: eine Lücke, niemals eine Null. ## Ihre Daten Nur das OpenMeteo-Plugin verbindet sich mit dem Internet. Es sendet ausschließlich die -**Koordinaten des Standorts** (auf etwa 1 km gerundet), seine **Höhe**, sofern +**Koordinaten des Standorts** (auf etwa 1 km gerundet in den Plugin-Versionen mit dieser Funktion; die Version `1.15.2+etm1` im Kanal testing sendet sie ungerundet), seine **Höhe**, sofern angegeben, und die **Ausrichtung der Module** (Neigung, Azimut). Messwerte, aufgezeichnete Prognosen, Tarif und Verbrauch bleiben auf der Box. Der Fernzugriff ist standardmäßig deaktiviert: Er wird nur geöffnet, wenn Sie ihn selbst in der App diff --git a/docs/fonctionnalites/prevision-pv.en.md b/docs/fonctionnalites/prevision-pv.en.md index cb03b8e..5074b54 100644 --- a/docs/fonctionnalites/prevision-pv.en.md +++ b/docs/fonctionnalites/prevision-pv.en.md @@ -90,7 +90,7 @@ is shown: an absence, never a zero. ## Your data Only the OpenMeteo plugin connects to the internet. It sends only the **site's -coordinates** (rounded to about 1 km), its **altitude** if entered, and the +coordinates** (rounded to about 1 km in the plugin versions that carry this feature; version `1.15.2+etm1` in the testing channel sends them unrounded), its **altitude** if entered, and the **orientation of the panels** (tilt, azimuth). Measurements, recorded forecasts, the tariff and consumption stay on the box. Remote access is disabled by default: it opens only if you enable it yourself in the app. diff --git a/docs/fonctionnalites/prevision-pv.md b/docs/fonctionnalites/prevision-pv.md index afb2fd0..31dc6eb 100644 --- a/docs/fonctionnalites/prevision-pv.md +++ b/docs/fonctionnalites/prevision-pv.md @@ -92,7 +92,7 @@ D'ici là, rien n'est affiché : une absence, jamais un zéro. ## Vos données Seul le plugin OpenMeteo se connecte à internet. Il n'envoie que les **coordonnées du -site** (arrondies à environ 1 km), son **altitude** si elle est renseignée, et +site** (arrondies à environ 1 km dans les versions du plugin qui portent cette fonction ; la version `1.15.2+etm1` du canal testing les envoie sans arrondi), son **altitude** si elle est renseignée, et l'**orientation des panneaux** (inclinaison, azimut). Les mesures, les prévisions enregistrées, le tarif et la consommation restent sur la box. L'accès à distance est désactivé par défaut : il ne s'ouvre que si vous l'activez vous-même dans