evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Doppelte Einträge in InfluxDB v2

Open IAmKonni opened this issue 2 years ago • 1 comments

Describe the bug

Hallo,

ich habe heute zum ersten mal die InfluxDB Integration aktiviert. Ich verwende bei mir die neueste V2-Version lokal als Docker-Container, genauso wie auch bei evcc (aktuellste Version)

Bei der PV Power sieht das z.B. so aus:

image

Aber auf bei anderen Werten sind verschiedene doppelte Einträge drin:

image

image

image

Auffällig ist, dass immer eines der Attribute null ist. Ich hab nicht alle durchgesehen, aber bei vielen ist auch alles okay.s

Steps to reproduce

  1. Influx-DB plugin aktivieren

Configuration details

site:
- title: Zuhause # display name for UI
  meters:
    grid: z1
    pv: se17k_mqtt
    battery: smileb3

telemetry: true
plant: xxxx

meters:
  - name: z1
    type: custom
    power: # Leistung (W)
      source: mqtt
      topic: electricity/z1/status
      jq: .power_w
    energy:
      source: mqtt
      topic: electricity/z1/status
      jq: .energy_wh
      scale: 0.001
    currents: # Stromstärke (A) pro Phase
      - source: mqtt # Phase 1 Plugin Typ
        topic: electricity/z1/status
        jq: .current_l1_a
      - source: mqtt # Phase 2 Plugin Typ
        topic: electricity/z1/status
        jq: .current_l2_a
      - source: mqtt # Phase 3 Plugin Typ
        topic: electricity/z1/status
        jq: .current_l3_a
  - name: se17k_mqtt
    type: custom
    power: # Leistung (W)
      source: mqtt
      topic: pv/se17k/ac/power
    energy:
      source: mqtt
      topic: pv/se17k/energy_wh
      scale: 0.001
    currents: # Stromstärke (A) pro Phase
      - source: mqtt # Phase 1 Plugin Typ
        topic: pv/se17k/ac/current/l1
      - source: mqtt # Phase 2 Plugin Typ
        topic: pv/se17k/ac/current/l2
      - source: mqtt # Phase 3 Plugin Typ
        topic: pv/se17k/ac/current/l3
  - name: smileb3
    type: custom
    capacity: 8.25
    power:
      source: mqtt
      topic: alphaess/ac/power
    soc:
      source: mqtt
      topic: alphaess/soc

chargers:
  - name: openwb
    type: template
    template: openwb-2.0
    modbus: tcpip
    id: 1
    host: 10.1.1.243
    port: 1502
  - name: openwb-pro
    type: template
    template: openwb-pro 
    host: 10.1.1.244


loadpoints:
  - title: Garage # display name for UI
    charger: openwb # Wallbox Referenz
    mode: pv # charge mode (off, now, minpv, pv)
    vehicle: cupra_born
    maxCurrent: 12
  - title: Carport
    charger: openwb-pro
    mode: pv
    vehicle: skoda_enyaq
    maxCurrent: 12

vehicles:
  - name: cupra_born 
    type: template
    template: cupra
    title: # Wird in der Benutzeroberfläche angezeigt # Optional
    user: [email protected] # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: xxxx_cupra # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    vin: xxxx  # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind # Optional
    capacity: 58 # Akku-Kapazität in kWh # Optional
  - name: skoda_enyaq
    type: template
    template: enyaq
    title: # Wird in der Benutzeroberfläche angezeigt # Optional
    user: [email protected] # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: xxxx_cupra # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    vin: xxxx  # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind # Optional
    capacity: 77 # Akku-Kapazität in kWh # Optional
    identifiers:
      - 48:31:33:00:4D:68

tariffs:
  grid:
    type: tibber
    token: "xxxx"
    homeid: "xxxx"
  feedin:
    type: fixed
    price: 0.09


mqtt:
  broker: 10.1.1.10:1883
  topic: evcc # root topic for publishing, set empty to disable publishing
  user: myuser
  password: xxxx

influx:
  url: http://10.1.1.10:8086
  database: evcc # InfluxDB v2.x uses term `bucket` but for compatibility still named `database` here
  token: xxxx==
  org: myorg

sponsortoken: xxxx

Log details

keine passenden

What type of operating system are you running?

Docker container

Version

0.124.0

IAmKonni avatar Feb 04 '24 15:02 IAmKonni

Influx Tags beachten!

andig avatar Feb 04 '24 16:02 andig