From 09794b31f93859cb9f272b687d7cc6323afbbbc1 Mon Sep 17 00:00:00 2001 From: Eric F Date: Sun, 7 Jun 2026 23:48:03 -0400 Subject: [PATCH] Add energy skills: OpenOCPP, EVerest, CitrineOS - Skills classified under energy/ directory - OpenOCPP: firmware OCPP 1.6J/2.0.1 for EV chargers - EVerest: EV charging middleware - CitrineOS: CSMS open-source OCPP 2.0.1 --- skills/energy/citrineos/SKILL.md | 70 ++++++++++++++++++++ skills/energy/everest/SKILL.md | 93 +++++++++++++++++++++++++++ skills/{ => energy}/openocpp/SKILL.md | 0 3 files changed, 163 insertions(+) create mode 100644 skills/energy/citrineos/SKILL.md create mode 100644 skills/energy/everest/SKILL.md rename skills/{ => energy}/openocpp/SKILL.md (100%) diff --git a/skills/energy/citrineos/SKILL.md b/skills/energy/citrineos/SKILL.md new file mode 100644 index 0000000..09d01eb --- /dev/null +++ b/skills/energy/citrineos/SKILL.md @@ -0,0 +1,70 @@ +# Skill CitrineOS - Cariflex Energy + +## Description +Déploiement de CitrineOS (Charge Station Management System open-source) pour la gestion des bornes de recharge EV de Cariflex. + +## Source +https://github.com/lfenergy/citrineos + +## Prérequis +- Docker / Podman +- PostgreSQL +- OCPP 2.0.1 compatible charging stations + +## Installation + +### 1. Cloner CitrineOS +```bash +git clone https://github.com/lfenergy/citrineos.git /home/eric/cariflex/tools/citrineos +``` + +### 2. Déploiement Docker +```bash +cd /home/eric/cariflex/tools/citrineos +docker compose up -d +``` + +### 3. Configuration +```yaml +# docker-compose.yaml +services: + citrineos: + image: citrineos/citrineos:latest + ports: + - "8080:8080" + - "8443:8443" + environment: + DB_URL: jdbc:postgresql://postgres:5432/citrineos + OCPP_VERSION: 2.0.1 +``` + +## Fonctionnalités +- Gestion des bornes OCPP 2.0.1 +- Monitoring en temps réel +- Transactions de recharge +- Smart Charging (limitation puissance) +- Reporting et analytics +- API REST pour intégration FlexMeasures + +## Intégration FlexMeasures + +### Flux +``` +Borne EV → OCPP 2.0.1 → CitrineOS → REST API → FlexMeasures +``` + +### API Endpoints +| Endpoint | Méthode | Usage | +|----------|---------|-------| +| /api/v1/charge-points | GET | Liste des bornes | +| /api/v1/transactions | GET | Transactions | +| /api/v1/meter-values | GET | Mesures | +| /api/v1/remote-start | POST | Démarrage distance | +| /api/v1/remote-stop | POST | Arrêt distance | +| /api/v1/change-availability | POST | Changer disponibilité | +| /api/v1/set-charging-profile | POST | Profil de charge | + +## Liens +- GitHub: https://github.com/lfenergy/citrineos +- LF Energy: https://lfenergy.org/projects/citrineos/ +- OCPP 2.0.1: https://www.openchargealliance.org/ diff --git a/skills/energy/everest/SKILL.md b/skills/energy/everest/SKILL.md new file mode 100644 index 0000000..1567f80 --- /dev/null +++ b/skills/energy/everest/SKILL.md @@ -0,0 +1,93 @@ +# Skill EVerest - Cariflex Energy + +## Description +Déploiement et configuration d'EVest (EV charging middleware) pour l'intégration des bornes de recharge EV dans Cariflex. + +## Source +https://github.com/EVerest/EVerest + +## Prérequis +- Linux environment +- Docker / Podman +- OCPP 1.6/2.0.1 compatible charging stations + +## Installation + +### 1. Cloner EVerest +```bash +git clone https://github.com/EVerest/EVerest.git /home/eric/cariflex/tools/everest +cd /home/eric/cariflex/tools/everest +``` + +### 2. Installation via Docker (recommandé) +```bash +cd docker +docker compose up -d +``` + +### 3. Installation depuis les sources +```bash +# Dépendances +sudo apt install -y build-essential cmake libssl-dev + +# Build +mkdir build && cd build +cmake .. +make -j4 +sudo make install +``` + +## Architecture EVerest + +### Composants +| Composant | Rôle | +|-----------|------| +| **EvManager** | Gestionnaire central | +| **OCPP Module** | Communication OCPP 1.6/2.0.1 | +| **ISO 15118 Module** | Communication véhicule-chargeur | +| **Power Module** | Gestion de la puissance | +| **Auth Module** | Authentification RFID/app | +| **Meter Module** | Mesures d'énergie | + +### Modules EVerest pour Cariflex +| Module | Usage | +|--------|-------| +| OCPP | Communication avec CitrineOS CSMS | +| ISO 15118 | V2G, Plug & Charge | +| SmartCharging | Limitation de puissance | +| Metering | Comptage énergétique | +| Auth | Identification utilisateur | +| Reservation | Réservation de borne | + +## Intégration Cariflex + +### Flux de données +``` +Véhicule EV → ISO 15118 → EVerest → OCPP → CitrineOS → FlexMeasures + ↓ + Scheduling + ↓ + Grafana +``` + +### Configuration +```yaml +# everest-config.yaml +active_modules: + ocpp: + connection_timeout: 30 + reconnect_interval: 10 + iso15118: + _enabled: true + smart_charging: + max_power_kw: 22 + metering: + sample_interval_s: 5 + auth: + type: token +``` + +## Liens +- GitHub: https://github.com/EVerest/EVerest +- Documentation: https://everest.github.io/ +- Docker: https://github.com/EVerest/EVerest/tree/main/docker diff --git a/skills/openocpp/SKILL.md b/skills/energy/openocpp/SKILL.md similarity index 100% rename from skills/openocpp/SKILL.md rename to skills/energy/openocpp/SKILL.md