Commit Graph

75 Commits

Author SHA1 Message Date
Eric F
43b8c3e008 fix: Add cache-busting headers for static files 2026-06-16 07:39:07 -04:00
Eric F
f11a57d318 fix: Remove ocppConnectionName from evses and connectors in CHARGING_STATIONS_GET_QUERY 2026-06-16 07:01:50 -04:00
Eric F
dcb2889824 fix: Use String(id) instead of Number(id) for charging station ID 2026-06-16 06:30:08 -04:00
Eric F
5c76add30b fix: Change chargingStations to ChargingStations in GetChargingStationsWithLocationAndLatestStatusNotificationsAndtransactions query 2026-06-16 05:37:51 -04:00
Eric F
6f329184e2 fix: Revert to PascalCase for all ChargingStations types after removing Hasura customization 2026-06-16 00:30:46 -04:00
Eric F
8510f680da fix: Change ChargingStations_order_by/bool_exp to camelCase in all queries 2026-06-16 00:20:29 -04:00
Eric F
051fc3cb22 fix: Change ChargingStations to chargingStations in ChargingStationsList query 2026-06-16 00:10:41 -04:00
Eric F
9dc297d24b fix: Revert chargingPool alias to ChargingStations (PascalCase) in locations query 2026-06-16 00:00:03 -04:00
Eric F
9930419c3c fix: Change ChargingStations to chargingStations (camelCase) in all queries 2026-06-15 23:48:18 -04:00
Eric F
7ba5bdc604 fix: Use chargingStations(where: {id: {_eq: }}) instead of ChargingStations_by_pk 2026-06-15 23:35:14 -04:00
Eric F
3b882df2e1 fix: Add Referrer-Policy header for OSM tiles 2026-06-15 22:50:07 -04:00
Eric F
b06dbdbba9 fix: VariableAttributes mapping + locations detail parseInt + .gitignore pnpm-store 2026-06-15 22:28:31 -04:00
Eric F
438f9aa952 fix: Convert location ID to integer for Locations_by_pk query
Root cause: Next.js URL params are always strings, but Locations.id
is integer in PostgreSQL. Hasura/PostgreSQL cannot compare varchar
with integer without explicit cast.

Fix: Parse params.id to integer in LocationsDetail component before
passing to Refine useOne().
2026-06-15 21:41:45 -04:00
Eric F
2e1a8a768d fix: Patch UI queries to use camelCase Hasura relations
- Patch GraphQL queries in source code (charging.stations.ts, locations.ts, transactions.ts)
- Rebuild Docker image with patched source
- Fix missing Transactions.authorization relationship in Hasura
- All 3 critical queries now work: GetChargingStations, LocationsList, TransactionList
- UI rebuilt from scratch with Node.js 24.16.0
2026-06-15 21:14:29 -04:00
Eric F
a3a066034d fix: Hasura camelCase relations + UI patch + NodeRED
- Fix Evses.evseId type (varchar→integer) for FK compatibility
- Recreate all Hasura relations with camelCase names matching UI expectations
- Patch UI .next JS files: PascalCase→camelCase (Evses, Connectors, etc.)
- Add fix-hasura-relations.py script for future maintenance
- NodeRED accessible at nodered.digitribe.fr
- All 15 stations online with working map and detail pages
2026-06-15 20:27:41 -04:00
Eric F
d0fbcd1e2d feat: Everest entrypoint + OCPI/EVerest config scripts 2026-06-15 18:38:14 -04:00
Eric F
a70f5adf15 feat: OCPP 2.0.1 multi-station simulator + Hasura/UI fixes
- Add ocpp-simulator-multi.js: 15 stations CP001-CP015 via WebSocket SP1
- Add ocpp-sp0-connector.js: Security Profile 0 connector
- Add configure-auth.py: BasicAuthPassword setup for all stations
- Add Dockerfile.simulator + Dockerfile.sp0 for containerized simulators
- Fix Hasura DB password (ALTER USER citrine)
- Fix UI NEXTAUTH_SECRET mismatch (C1tR1n30S2... vs Digitribe972)
- Fix UI network (traefik-public) + Traefik labels
- Update docker-compose-citrineos.yml with simulator services
- Set isOnline=true for all 15 stations in DB
2026-06-15 16:40:27 -04:00
Eric F
85ddea41e4 fix: restore getPlaceDetails with Nominatim OSM implementation
- Replace stub with working Nominatim OSM place details lookup
- Fixes 'Failed to find Server Action' errors in logs
- Free, no API key required
2026-06-14 08:32:24 -04:00
Eric F
d0c0cc8b0e chore: update pnpm-lock.yaml after leaflet dependency changes 2026-06-13 10:29:25 -04:00
Eric F
e20790dce4 docs: update infrastructure documentation for Leaflet OSM migration 2026-06-12 11:10:09 -04:00
Eric F
9a14723b07 feat(ui): replace Google Maps with Leaflet + OpenStreetMap
- Replace all Google Map components with Leaflet OSM alternatives
- Add osm-map.tsx with dynamic Leaflet import (SSR-safe)
- Use CDN for Leaflet CSS to avoid Next.js CSS import issues
- Update types.tsx to remove google.maps dependencies
- Replace Google Places autocomplete with Nominatim OSM
- Replace Google Geocoding with Nominatim OSM
- Add GPS coordinates for all 15 Martinique charging station locations
- Update next.config.mjs: ignoreBuildErrors for TypeScript loops
- Update package.json: use 'next build' instead of 'refine build'
- Add .dockerignore for faster Docker builds
- Fix map centering on Martinique (default: 14.6415, -61.0242)
v1.3.0-alpha2-osm-20260612
2026-06-12 11:04:18 -04:00
Eric F
5b3970fd6c CitrineOS Operator UI fixed - patched JS to use internal Core URL, all services connected 2026-06-11 01:22:57 -04:00
Eric F
21caee3b79 CitrineOS Operator UI fully working - direct Hasura connection, no proxy needed 2026-06-10 23:55:58 -04:00
Eric F
a69c8bef42 CitrineOS Operator UI fully working - CORS fixed, Hasura relations, 15 stations 2026-06-10 23:37:01 -04:00
Eric F
cecb7c5484 CitrineOS Operator UI fully working - 15 stations, Hasura relations, CORS fixed 2026-06-10 23:25:14 -04:00
Eric F
e8184d2709 CitrineOS Core proxy deployed, Operator UI fully functional, Hasura configured 2026-06-10 23:08:55 -04:00
Eric F
ab93950fef CitrineOS Operator UI fully configured with Hasura, 10 CPs, credentials 2026-06-10 22:40:21 -04:00
Eric F
104bb88be0 CitrineOS Operator UI deployed and operational, Hasura configured 2026-06-10 21:58:54 -04:00
Eric F
8700b6d89a CitrineOS Operator UI integration, Traefik citrine.digitribe.fr config 2026-06-10 18:48:50 -04:00
Eric F
0ad8459636 Add citrineos-operator-ui to stack, update docs, 15 EVSE sync 2026-06-10 18:11:23 -04:00
Eric F
9d257a2f48 Fix Traefik citrineos 502, update simulator 15 EVSEs, final config 2026-06-10 17:56:12 -04:00
Eric F
c48d8ceba2 EV charging session simulator + real-time Grafana panel 2026-06-10 17:28:25 -04:00
Eric F
7fde58bf6a Complete infrastructure: CitrineOS+OpenADR+FM integration, asset sync, scheduling, IaC scripts, K8s manifests, documentation 2026-06-10 13:39:47 -04:00
Eric F
ce67b8e9f6 CitrineOS deployment + Asset sync + Scheduling service + Traefik integration 2026-06-10 13:33:56 -04:00
Eric F
5c7d6e5611 CitrineOS deployment + FM integration + S2 service + skills (mosaik, NemoMod) + Grafana 17 panels 2026-06-10 13:13:37 -04:00
Eric F
84667c7126 Infrastructure docs, IaC scripts, skills energy (VOLTTRON, EnergyPlus, OpenStudio, BuildingGym, OSeMOSYS) 2026-06-10 12:09:00 -04:00
Eric F
a0577ed17c S2 protocol integration + Grafana dashboard + scheduling service 2026-06-10 11:06:45 -04:00
Eric F
4378a505a7 Snapshot: s2-scheduling-2026-06-10 2026-06-10 11:06:42 -04:00
Eric F
b69417b0d7 OpenADR VTN/VEN deployment + Grafana dashboard update 2026-06-10 10:12:41 -04:00
Eric F
c625366e3f Snapshot: openadr-deploy-2026-06-10 2026-06-10 10:12:29 -04:00
Eric F
7d563a32cc Snapshot: grafana-2026-06-09 2026-06-09 21:12:19 -04:00
Eric F
d1b57769c0 Grafana dashboard flexibilite/agregation 2026-06-09 18:59:37 -04:00
Eric F
1ab3a4a643 Snapshot: grafana-dashboard-2026-06-09 2026-06-09 18:59:35 -04:00
Eric F
3dedb82d04 Snapshot: before-simulation-weather-prices 2026-06-09 17:33:52 -04:00
Eric F
28e5b89863 Snapshot: before-simulation-2026-06-09 2026-06-09 17:30:19 -04:00
Eric F
9d5d497676 Fix: RQ worker Redis ACL, PATCHES.md update, snapshot 2026-06-09 17:07:15 -04:00
Eric F
aa60802fc2 Snapshot: working-rq-worker-2026-06-09 2026-06-09 17:07:00 -04:00
Eric F
e2a495c0aa Docs: PATCHES.md, memory update, map OSM fix, favicon 2026-06-09 13:01:07 -04:00
Eric F
5f40be88da Snapshot: working-map-osm-favicon-2026-06-09 2026-06-09 12:58:19 -04:00
Eric F
22db3411a8 Snapshot: before-map-osm-fix 2026-06-09 08:22:58 -04:00