diff --git a/CLAUDE.md b/CLAUDE.md index 493f3d7..84fd4c1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -3,9 +3,12 @@ --- -# ssh banc .75 -Accès banc `.75` : ssh etm@192.168.1.75 (clé déjà installée). +# ssh banc (ex-`.75`) +Accès banc `hems` : ssh etm@10.42.60.21 (clé déjà installée). Ni root ni nymea n'existent. Journal : journalctl -u nymead. +Renumérotée le 2026-10-12 (était `192.168.1.75`) : `10.42.60.0/24`, passerelle +`10.42.60.1`, DHCP sur le dongle USB `enxa0cec879e2b1`. Les relevés et fixtures +antérieurs écrivent `.75` / `hems75` — même machine, non réécrits. --- ## Mon rôle @@ -719,9 +722,9 @@ celle qu'on avait regardée. - Piloter un EV = `NymeaEnergy.SetChargingInfo` (`Energy.SetChargingMode` n'existe pas) - **Vérifier ce fichier contre `JSONRPC.Introspect` avant chaque lot.** Trois fois le 2026-08-25, la doc locale était en retard sur la machine et a envoyé un agent dans le vide. - La sonde tient en une ligne : `dart tools/rpc/probe.dart 192.168.1.75 JSONRPC.Introspect` + La sonde tient en une ligne : `dart tools/rpc/probe.dart 10.42.60.21 JSONRPC.Introspect` - **Et vérifier la VERSION POSÉE avant de croire une livraison annoncée**, en une ligne aussi : - `ssh etm@192.168.1.75 'dpkg -l | grep powersync-energy'`. Le 2026-08-30, `+etm31` était + `ssh etm@10.42.60.21 'dpkg -l | grep powersync-energy'`. Le 2026-08-30, `+etm31` était annoncé sur la box : le code était écrit, le cross-build jamais fait, la box portait `+etm30` et la clé attendue n'existait pas. **Annoncé ≠ construit ≠ posé** — et un champ absent parce qu'il n'est pas déployé se lit exactement comme un champ absent parce qu'il est omis. diff --git a/docs/CADRAGE_zones_clim.md b/docs/CADRAGE_zones_clim.md index afbd1be..448b970 100644 --- a/docs/CADRAGE_zones_clim.md +++ b/docs/CADRAGE_zones_clim.md @@ -96,7 +96,7 @@ Trois paquets, tous **présents dans le dépôt apt du banc** (`apt-cache search le 2026-08-27) : ```sh -ssh etm@192.168.1.75 +ssh etm@10.42.60.21 sudo apt install nymea-plugin-generic-heatingcooling \ nymea-plugin-generic-sensors # optionnel, pour le drapeau WindowOpen : diff --git a/docs/UI_data_contract.md b/docs/UI_data_contract.md index 87a537d..a52eed9 100644 --- a/docs/UI_data_contract.md +++ b/docs/UI_data_contract.md @@ -395,7 +395,7 @@ unitaire qui construit ses deux côtés avec la même convention passe aussi. Tr dans cet ordre : 1. **Sonder les deux appels côte à côte** et comparer les charges utiles brutes, pas les - modèles Dart — `dart tools/rpc/probe.dart 192.168.1.75 ` pour chacun. + modèles Dart — `dart tools/rpc/probe.dart 10.42.60.21 ` pour chacun. 2. **Éprouver le rapprochement lui-même**, sur les deux formes réelles. Les tests d'accolades (`test/merged_config_screen_test.dart`) sont écrits exactement pour ça, avec les deux graphies de la même borne. diff --git a/integration_test/config_on_device_test.dart b/integration_test/config_on_device_test.dart index 187ba50..b53b9b4 100644 --- a/integration_test/config_on_device_test.dart +++ b/integration_test/config_on_device_test.dart @@ -41,7 +41,7 @@ import 'package:integration_test/integration_test.dart'; import 'package:provider/provider.dart'; /// La box de banc. `nymea-dev-rpi` doit être déjà enregistrée sur l'appareil. -const _hote = '192.168.1.75'; +const _hote = '10.42.60.21'; /// PIN installateur par défaut, posé au premier démarrage tant qu'aucun n'a été choisi. const _pinInstallateur = '1234'; diff --git a/integration_test/daily_balance_on_device_test.dart b/integration_test/daily_balance_on_device_test.dart index e137cbb..8917b06 100644 --- a/integration_test/daily_balance_on_device_test.dart +++ b/integration_test/daily_balance_on_device_test.dart @@ -30,7 +30,7 @@ import 'package:go_router/go_router.dart'; import 'package:integration_test/integration_test.dart'; import 'package:provider/provider.dart'; -const _hote = '192.168.1.75'; +const _hote = '10.42.60.21'; Future _attendre( WidgetTester tester, diff --git a/integration_test/ui_3g2_on_device_test.dart b/integration_test/ui_3g2_on_device_test.dart index b1f8db6..1d3b816 100644 --- a/integration_test/ui_3g2_on_device_test.dart +++ b/integration_test/ui_3g2_on_device_test.dart @@ -45,7 +45,7 @@ import 'package:go_router/go_router.dart'; import 'package:integration_test/integration_test.dart'; import 'package:provider/provider.dart'; -const _hote = '192.168.1.75'; +const _hote = '10.42.60.21'; const _pinInstallateur = '1234'; /// Cible tactile minimale retenue. Android recommande 48 dp ; 44 est le plancher au-dessous diff --git a/lib/screens/installations/installations_screen.dart b/lib/screens/installations/installations_screen.dart index 15234a2..5979612 100644 --- a/lib/screens/installations/installations_screen.dart +++ b/lib/screens/installations/installations_screen.dart @@ -338,7 +338,7 @@ class _AddManualSheetState extends State<_AddManualSheet> { child: _Field( controller: _host, label: 'Hôte', - hint: '192.168.1.75', + hint: '10.42.60.21', keyboardType: TextInputType.url, onSubmitted: (_) => _submit(), ), diff --git a/tools/rpc/README.md b/tools/rpc/README.md index a4f54ba..e5e6cf1 100644 --- a/tools/rpc/README.md +++ b/tools/rpc/README.md @@ -10,7 +10,7 @@ qu'une lecture de code ou qu'un `Introspect` recopié de mémoire. Aucune dépendance hors SDK : `dart:io` + `dart:convert`. Rien à installer. ```bash -dart tools/rpc/