Skip to main content
Meldingen
Alles wissen

EVCC ondersteuning

8 Berichten
3 Gebruikers
0 Reactions
678 Bekeken
(@rempam)
Berichten: 3
Active Member
Topic starter
 
  • Ondersteuning van EVCC zou wenselijk zijn.

 
Geplaatst : 22/04/2025 4:39 am
(@rempam)
Berichten: 3
Active Member
Topic starter
 

Integratie in EVCC is gelukt middels HTTP plugin. Onderstaande toevoegen aan EVCC.yaml:

 

- name: my_battery

    type: custom

    power: 

      source: http

      uri: Verwijderde link

      method: GET

      headers:

        - content-type: application/json

      auth:

        type: basic

        user:

        password: *

      insecure: false

      jq: .sessy.power

      cache: 60s  

      timeout: 10s 

    soc: 

      source: http

      uri: http://ip-adres/api/v1/power/status

      method: GET

      headers:

        - content-type: application/json

      auth:

        type: basic

        user:

        password: *

      insecure: false

      jq: .sessy.state_of_charge

      cache: 60s  


 
Geplaatst : 28/06/2025 9:37 am
(@riendupre)
Berichten: 7
Active Member
 

@rempam 

Kan je iets specifieker zijn?

Bijvoorbeeld in welke sectie van de EVCC.yaml file dit geplaatst moet worden en tevens mist de de eerste url in de power sectie.

Alvast bedankt.

Rien


 
Geplaatst : 03/10/2025 12:52 pm
(@rempam)
Berichten: 3
Active Member
Topic starter
 

@riendupre 

Geen weet van specifieke volgorde in yaml file.

Beide url:  http://hier_ip_adres_van_je sessy/api/v1/power/status

 Remmo


 
Geplaatst : 03/10/2025 5:10 pm
(@luccie_007)
Berichten: 5
Active Member
 

Heb even zitten spelen maar deze kwam bij my door de validatie heen:

Heb hem in EVCC via de expirimental configuratie pagina toegevoegd, 
met type User Defined Device

power: 
  source: http
  uri:  192.168.1.IP/api/v1/power/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy.power
  cache: 60s  
  timeout: 10s 
soc: 
  source: http
  uri: 192.168.1.IP/api/v1/power/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy.state_of_charge
  cache: 60s

 
Geplaatst : 08/12/2025 5:46 pm
(@luccie_007)
Berichten: 5
Active Member
 

Heb de P1 meter werkend in de YAML editor:

 

 - name: grid
   type: custom
   power: # power (W)
       source: http
       uri: 192.168.1.30/api/v2/p1/details
       method: GET
       headers:
         - content-type: application/json
       auth:
         type: basic
         user: *
         password: *
       insecure: false
       jq: .power_total
       cache: 60s
       scale: 1
   currents: # phase currents in A
     - source: http
       uri: 192.168.1.30/api/v2/p1/details
       method: GET
       headers:
         - content-type: application/json
       auth:
         type: basic
         user: *
         password: *
       insecure: false
       jq: .current_l1
       cache: 60s
       scale: 0.001
     - source: http
       uri: 192.168.1.30/api/v2/p1/details
       method: GET
       headers:
         - content-type: application/json
       auth:
         type: basic
         user: *
         password: *
       insecure: false
       jq: .current_l2
       cache: 60s
       scale: 0.001
     - source: http
       uri: 192.168.1.30/api/v2/p1/details
       method: GET
       headers:
         - content-type: application/json
       auth:
         type: basic
         user: *
         password: *
       insecure: false
       jq: .current_l3
       cache: 60s
       scale: 0.001

 
Geplaatst : 08/12/2025 10:54 pm
(@luccie_007)
Berichten: 5
Active Member
 

De batterij ook (nog niet volledig, aansturen nog niet aan begonnen)

Heb ook gemerkt dat als je Power en AMPS en Voltage toevoegt de sessy de api call weigert.

Bovendien zijn de AMPS (Renuwable energy in de api) niet de amps van de sessy zelf, maar wordt dat gebruikt voor je zekering te beschermen.

Die heb ik dus uit het template gegooid.

## required attributes

power: # current power
  source: http
  uri: 192.168.1.32/api/v1/power/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy.power
  cache: 60s  
  timeout: 10s 

## optional attributes (read-only)

energy: # meter reading in kWh
  source: http
  uri: 192.168.1.32/api/v1/energy/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy_energy.import_wh
  cache: 60s
  scale: 0.001
#maxpower: # maximum AC power in W (for hybrid pv)
#  source: const
#  value: 1800
soc: # state of charge in % (for battery)
  source: http
  uri: 192.168.1.32/api/v1/power/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy.state_of_charge
  cache: 60s
capacity: 5 # capacity in kWh (for battery)
voltages: # phase voltages in V
  - source: http
    uri: 192.168.1.32/api/v1/power/status
    method: GET
    headers:
      - content-type: application/json
    auth:
      type: basic
      user: *
      password: *
    insecure: false
    jq: .renewable_energy_phase1.voltage_rms
    scale: 0.001
    cache: 60s
  - source: http
    uri: 192.168.1.32/api/v1/power/status
    method: GET
    headers:
      - content-type: application/json
    auth:
      type: basic
      user: *
      password: *
    insecure: false
    jq: .renewable_energy_phase2.voltage_rms
    scale: 0.001
    cache: 60s
  - source: http
    uri: 192.168.1.32/api/v1/power/status
    method: GET
    headers:
      - content-type: application/json
    auth:
      type: basic
      user: *
      password: *
    insecure: false
    jq: .renewable_energy_phase3.voltage_rms
    scale: 0.001
    cache: 60s

## optional attributes (writeable)

#limitsoc: # set battery charge target in % (for battery)
#  source: js
#  script: console.log(limitsoc)
#batterymode: # set charging mode directly (1: normal, 2: hold, 3: charge) (for battery)
#  source: js
#  script: console.log(batterymode)

 
Geplaatst : 08/12/2025 10:58 pm
(@luccie_007)
Berichten: 5
Active Member
 

Geplaatst door: @luccie_007

De batterij ook (nog niet volledig, aansturen nog niet aan begonnen)

Heb ook gemerkt dat als je Power en AMPS en Voltage toevoegt de sessy de api call weigert.

Bovendien zijn de AMPS (Renuwable energy in de api) niet de amps van de sessy zelf, maar wordt dat gebruikt voor je zekering te beschermen.

Die heb ik dus uit het template gegooid.

## required attributes

power: # current power
  source: http
  uri: 192.168.1.32/api/v1/power/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy.power
  cache: 60s  
  timeout: 10s 

## optional attributes (read-only)

energy: # meter reading in kWh
  source: http
  uri: 192.168.1.32/api/v1/energy/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy_energy.import_wh
  cache: 60s
  scale: 0.001
#maxpower: # maximum AC power in W (for hybrid pv)
#  source: const
#  value: 1800
soc: # state of charge in % (for battery)
  source: http
  uri: 192.168.1.32/api/v1/power/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy.state_of_charge
  scale: 100
  cache: 60s
capacity: 5 # capacity in kWh (for battery)
voltages: # phase voltages in V
  - source: http
    uri: 192.168.1.32/api/v1/power/status
    method: GET
    headers:
      - content-type: application/json
    auth:
      type: basic
      user: *
      password: *
    insecure: false
    jq: .renewable_energy_phase1.voltage_rms
    scale: 0.001
    cache: 60s
  - source: http
    uri: 192.168.1.32/api/v1/power/status
    method: GET
    headers:
      - content-type: application/json
    auth:
      type: basic
      user: *
      password: *
    insecure: false
    jq: .renewable_energy_phase2.voltage_rms
    scale: 0.001
    cache: 60s
  - source: http
    uri: 192.168.1.32/api/v1/power/status
    method: GET
    headers:
      - content-type: application/json
    auth:
      type: basic
      user: *
      password: *
    insecure: false
    jq: .renewable_energy_phase3.voltage_rms
    scale: 0.001
    cache: 60s

## optional attributes (writeable)

#limitsoc: # set battery charge target in % (for battery)
#  source: js
#  script: console.log(limitsoc)
#batterymode: # set charging mode directly (1: normal, 2: hold, 3: charge) (for battery)
#  source: js
#  script: console.log(batterymode)

Updated above yaml with Scale: 100 for  the SOC  

 


 
Geplaatst : 09/12/2025 11:31 am
Deel: