Commit Graph

17 Commits

Author SHA1 Message Date
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
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
d0fbcd1e2d feat: Everest entrypoint + OCPI/EVerest config scripts 2026-06-15 18:38:14 -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
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)
2026-06-12 11:04:18 -04:00
Eric F
00462eed40 Upgrade Grafana to 11.3.0, fix geomap bug, add Grid Singularity repos
- Upgrade Grafana from 10.2.0 to 11.3.0 (fixes ExecuteQuery panic with postgres plugin)
- Create complete dashboard with timeseries, table and geomap panels
- Clone Grid Singularity repos (gsy-e, gsy-framework, gsy-e-sdk)
- All panels now display data correctly
2026-06-08 15:03:44 -04:00
Eric F
c60dbdbaee Add OpenTUMFlex, fix FlexMeasures Redis config, simulator working
- OpenTUMFlex cloned and importable (flexibility quantification)
- FlexMeasures Redis config fixed (separate env vars instead of URL)
- Simulator posting data to FlexMeasures (40 sensors, 26 beliefs saved)
- RQ scheduler worker running
- entsoe and weather plugins installed
- CitrineOS deployed via docker-compose
2026-06-08 10:45:58 -04:00
Eric F
d4974e3241 Add FlexMeasures plugins, USEF protocol, and Cariflex simulator
- flexmeasures-entsoe: ENTSO-E data plugin
- flexmeasures-weather: Weather data plugin
- USEF Flex Trading Protocol PDF (2.4MB)
- Cariflex simulator (publishes to Redis)
- Dashboard Grafana updated with correct InfluxDB queries
- All tools extracted in /tools/
2026-06-08 07:38:57 -04:00
Eric F
d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00