fix(openmeteo): la doc promettait un arrondi que le paquet testing ne fait pas

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 <noreply@anthropic.com>
This commit is contained in:
Patrick Schurig 2026-10-16 23:04:58 +02:00
parent bba9c87608
commit a6d3c3e1c2
9 changed files with 33 additions and 10 deletions

View File

@ -15,6 +15,12 @@ API-Schlüssel** und ohne Umweg über einen ETM-Dienst.
Paket: `powersync-plugin-openmeteo`. 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 ## 1. Was das Plugin bereitstellt
Das Plugin legt zwei Arten von Objekten an: 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**: Für ihre Prognosen sendet die Box an Open-Meteo **ausschließlich**:
- die Koordinaten des Standorts, **auf zwei Nachkommastellen gerundet** (etwa 1 km): - 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; - die Höhe des Standorts, sofern eingetragen;
- Neigung und Azimut jeder PV-Fläche. - Neigung und Azimut jeder PV-Fläche.

View File

@ -15,6 +15,12 @@ through an ETM service.
Package: `powersync-plugin-openmeteo`. 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 ## 1. What the plugin publishes
The plugin creates two kinds of objects: 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**: 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 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 site's altitude, if you entered it;
- the tilt and azimuth of each PV plane. - the tilt and azimuth of each PV plane.

View File

@ -15,6 +15,12 @@ ni clé d'API** et sans passer par un service ETM.
Paquet : `powersync-plugin-openmeteo`. 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 ## 1. Ce que le plugin publie
Le plugin crée deux types d'objets : Le plugin crée deux types d'objets :
@ -107,7 +113,9 @@ connexion.
Pour obtenir ses prévisions, la box envoie à Open-Meteo **uniquement** : Pour obtenir ses prévisions, la box envoie à Open-Meteo **uniquement** :
- les coordonnées du site, **arrondies à deux décimales** (environ 1 km) : assez - 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'altitude du site, si vous l'avez renseignée ;
- l'inclinaison et l'azimut de chaque plan PV. - l'inclinaison et l'azimut de chaque plan PV.

View File

@ -6,8 +6,8 @@
Nein. Die Steuerung läuft lokal auf der Box und arbeitet auch ohne Internet weiter. 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 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 Wetter-Plugin OpenMeteo: Es sendet nur die Koordinaten des Standorts (ab Plugin-Version `1.15.2+etm2` auf etwa 1 km
gerundet), seine Höhe und die Ausrichtung der Module. Messwerte, Verbrauch und Tarif 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, 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 wenn Sie ihn selbst in der App aktivieren. Das ist eine Architekturentscheidung, keine
Option. Option.

View File

@ -6,7 +6,7 @@
No. Control runs locally, on the box, and keeps working without internet. The only 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 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. 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 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. app. That is an architectural decision, not an option.

View File

@ -6,7 +6,7 @@
Non. Le pilotage tourne en local, sur la box, et continue sans internet. Le seul 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 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'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 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. vous-même dans l'application. C'est un choix d'architecture, pas une option.

View File

@ -94,7 +94,7 @@ nichts angezeigt: eine Lücke, niemals eine Null.
## Ihre Daten ## Ihre Daten
Nur das OpenMeteo-Plugin verbindet sich mit dem Internet. Es sendet ausschließlich die 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, angegeben, und die **Ausrichtung der Module** (Neigung, Azimut). Messwerte,
aufgezeichnete Prognosen, Tarif und Verbrauch bleiben auf der Box. Der Fernzugriff ist 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 standardmäßig deaktiviert: Er wird nur geöffnet, wenn Sie ihn selbst in der App

View File

@ -90,7 +90,7 @@ is shown: an absence, never a zero.
## Your data ## Your data
Only the OpenMeteo plugin connects to the internet. It sends only the **site's 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 **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 tariff and consumption stay on the box. Remote access is disabled by default: it opens
only if you enable it yourself in the app. only if you enable it yourself in the app.

View File

@ -92,7 +92,7 @@ D'ici là, rien n'est affiché : une absence, jamais un zéro.
## Vos données ## Vos données
Seul le plugin OpenMeteo se connecte à internet. Il n'envoie que les **coordonnées du 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 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 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 désactivé par défaut : il ne s'ouvre que si vous l'activez vous-même dans