evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.34k stars 612 forks source link

Tasmota: Status8 wird doppelt angestoßen #9416

Closed AUSMAUS closed 1 year ago

AUSMAUS commented 1 year ago

Describe the bug

Ich benutzte Tasmota zum Auslesen des Strom- und PV-Zählers. Schaut man in die Script sieht man immer das Status8 immer doppelt angestoßen wird. Bei mir alle 10 Sekunden, aber fast immer zu gleichen Sekunde doppelt. Log aus Stromzähler 15:45:04.223 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":165} 15:45:05.248 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":165}" 15:45:05.254 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":165} 15:45:06.217 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":165}" 15:45:06.224 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":165} 15:45:07.251 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":169}" 15:45:07.257 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":169} 15:45:08.238 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":169}" 15:45:08.244 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":169} 15:45:09.249 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":169}" 15:45:09.256 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":169} 15:45:10.229 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":169}" 15:45:10.235 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":169} 15:45:10.537 MQT: stat/tasmota_FA2A95/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:45:10","SML":{"Power_curr":-169,"Power_Import_W":-169,"Verbrauch":18639.6670,"Einspeise":39284.5179}}} 15:45:10.567 MQT: stat/tasmota_FA2A95/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:45:10","SML":{"Power_curr":-169,"Power_Import_W":-169,"Verbrauch":18639.6670,"Einspeise":39284.5180}}} 15:45:11.248 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":171}" 15:45:11.254 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":171} 15:45:12.250 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":171}" 15:45:12.256 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":171} 15:45:13.236 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":169}" 15:45:13.242 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":169} 15:45:14.239 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":169}" 15:45:14.244 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":169} 15:45:15.237 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":166}" 15:45:15.243 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":166} 15:45:16.218 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":166}" 15:45:16.224 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":166} 15:45:17.254 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":166}" 15:45:17.261 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":166} 15:45:18.260 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":172}" 15:45:18.266 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":172} 15:45:19.217 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":172}" 15:45:19.224 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":172} 15:45:20.247 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":171}" 15:45:20.253 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":171} 15:45:20.508 MQT: stat/tasmota_FA2A95/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:45:20","SML":{"Power_curr":-171,"Power_Import_W":-171,"Verbrauch":18639.6670,"Einspeise":39284.5184}}} 15:45:20.558 MQT: stat/tasmota_FA2A95/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:45:20","SML":{"Power_curr":-171,"Power_Import_W":-171,"Verbrauch":18639.6670,"Einspeise":39284.5184}}} 15:45:21.217 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":171}" 15:45:21.223 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":171} 15:45:22.259 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":170}" 15:45:22.265 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":170} 15:45:23.218 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":170}" 15:45:23.224 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":170} 15:45:24.257 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":172}" 15:45:24.263 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":172} 15:45:25.217 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":172}" 15:45:25.223 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":172} 15:45:26.253 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":171}" 15:45:26.259 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":171} 15:45:27.233 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":171}" 15:45:27.239 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":171} 15:45:28.230 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":171}" 15:45:28.236 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":171} 15:45:29.230 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":171}" 15:45:29.236 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":171} 15:45:51.233 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":175} 15:45:52.217 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":175}" 15:45:52.223 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":175} 15:45:53.225 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":175}" 15:45:53.231 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":175} 15:45:54.218 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":175}" 15:45:54.225 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":175} 15:45:55.219 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":176}" 15:45:55.225 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":176} 15:45:56.218 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":176}" 15:45:56.224 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":176} 15:45:57.218 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":178}" 15:45:57.225 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":178} 15:45:58.218 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":178}" 15:45:58.224 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":178} 15:45:59.263 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":178}" 15:45:59.269 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":178} 15:46:00.217 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":178}" 15:46:00.223 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":178} 15:46:00.499 MQT: stat/tasmota_FA2A95/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:46:00","SML":{"Power_curr":-177,"Power_Import_W":-177,"Verbrauch":18639.6670,"Einspeise":39284.5204}}} 15:46:00.548 MQT: stat/tasmota_FA2A95/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:46:00","SML":{"Power_curr":-177,"Power_Import_W":-177,"Verbrauch":18639.6670,"Einspeise":39284.5204}}} 15:46:01.222 Script: performs "Publish tele/tasmota_FA2A95/SENSOR {"Aktuell Plus1":177}" 15:46:01.228 MQT: tele/tasmota_FA2A95/SENSOR = {"Aktuell Plus1":177}

Log aus PV-Zähler :48:23.588 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":305.0} 15:48:24.622 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":305.0}" 15:48:24.626 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":305.0} 15:48:25.618 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":305.0}" 15:48:25.623 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":305.0} 15:48:26.602 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":305.0}" 15:48:26.606 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":305.0} 15:48:27.601 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":305.0}" 15:48:27.606 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":305.0} 15:48:28.595 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":306.0}" 15:48:28.600 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":306.0} 15:48:29.620 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":306.0}" 15:48:29.625 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":306.0} 15:48:30.329 MQT: stat/tasmota_55BF13/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:48:30","SML":{"Power_curr":306,"Power_Import_W":306,"Ertrag":50168.4385}}} 15:48:30.365 MQT: stat/tasmota_55BF13/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:48:30","SML":{"Power_curr":306,"Power_Import_W":306,"Ertrag":50168.4385}}} 15:48:30.583 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":306.0}" 15:48:30.588 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":306.0} 15:49:02.604 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":310.0}" 15:49:02.608 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":310.0} 15:49:03.598 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":312.0}" 15:49:03.602 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":312.0} 15:49:04.602 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":312.0}" 15:49:04.607 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":312.0} 15:49:05.606 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":312.0}" 15:49:05.611 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":312.0} 15:49:06.608 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":312.0}" 15:49:06.613 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":312.0} 15:49:07.583 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":312.0}" 15:49:07.588 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":312.0} 15:49:08.628 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":311.0}" 15:49:08.633 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":311.0} 15:49:09.584 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":311.0}" 15:49:09.588 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":311.0} 15:49:10.332 MQT: stat/tasmota_55BF13/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:49:10","SML":{"Power_curr":312,"Power_Import_W":312,"Ertrag":50168.4421}}} 15:49:10.384 MQT: stat/tasmota_55BF13/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:49:10","SML":{"Power_curr":312,"Power_Import_W":312,"Ertrag":50168.4421}}} 15:49:10.625 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":312.0}" 15:49:10.629 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":312.0} 15:49:11.628 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":312.0}" 15:49:11.633 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":312.0} 15:49:12.594 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":314.0}" 15:49:12.598 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":314.0} 15:49:13.598 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":314.0}" 15:49:13.602 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":314.0} 15:49:14.602 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":314.0}" 15:49:14.606 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":314.0} 15:49:15.603 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":322.0}" 15:49:15.607 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":322.0} 15:49:16.584 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":322.0}" 15:49:16.589 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":322.0} 15:49:17.596 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":320.0}" 15:49:17.601 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":320.0} 15:49:18.598 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":320.0}" 15:49:18.602 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":320.0} 15:49:19.615 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":316.0}" 15:49:19.619 MQT: tele/tasmota_55BF13/SENSOR = {"Aktuell Plus":316.0} 15:49:20.474 MQT: stat/tasmota_55BF13/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:49:20","SML":{"Power_curr":316,"Power_Import_W":316,"Ertrag":50168.4429}}} 15:49:20.523 MQT: stat/tasmota_55BF13/STATUS8 = {"StatusSNS":{"Time":"2023-08-17T15:49:20","SML":{"Power_curr":316,"Power_Import_W":316,"Ertrag":50168.4429}}} 15:49:20.615 Script: performs "Publish tele/tasmota_55BF13/SENSOR {"Aktuell Plus":316.0}"

Steps to reproduce

1.Ist EVCC deaktiviert, habe ich keine Status8 Einträge in den Log. 2. 3. Anmerkung: Ich Glaube, dass in der Vorgängerversion oder Anfangs, den doppelten Eintrag in der PV noch nicht gab. War nur im Stromzähler ...

Configuration details

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

# unique installation id
plant: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

interval: 10s # control cycle interval

sponsortoken: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: false

meters:
- type: template
  template: tasmota
  usage: grid
  host: 192.168.178.29
  name: grid1
- type: template
  template: tasmota
  usage: grid
  host: 192.168.178.66
  name: pv2

chargers:
- type: template
  template: go-e
  host: 192.168.178.22
  name: wallbox4

vehicles:
- type: template
  template: opel
  title: Mokka-e
  user: XXXXXXXXXXXXX
  password: XXXXXXXXXXXX
  vin: XXXXXXXXXXXXXX
  capacity: 50
  phases: 1
  icon: car
  cache: 15m
  minSoc: 20
  targetSoc: 80
  minCurrent: 6
  maxCurrent: 20
  name: ev3

loadpoints:
- title: Garage
  charger: wallbox4
  mode: off
  phases: 1
  mincurrent: 6
  maxcurrent: 20
  resetOnDisconnect: true

tariffs:
  currency: EUR
  grid:
    type: fixed
    price: 0.281

  feedin:
    type: fixed
    price: 0.192

site:
  title: West
  meters:
    grid: grid1
    pv:
    - pv2

Log details

pi@evcc:~ $ evcc --log debug
[main  ] INFO 2023/08/17 16:05:30 evcc 0.118.11
[main  ] INFO 2023/08/17 16:05:30 using config file: /etc/evcc.yaml
[main  ] INFO 2023/08/17 16:05:30 starting ui and api at :7070
[db    ] INFO 2023/08/17 16:05:31 using sqlite database: /home/pi/.evcc/evcc.db
[site  ] INFO 2023/08/17 16:05:32 site config:
[site  ] INFO 2023/08/17 16:05:32   meters:      grid ✓ pv ✓ battery ✗
[site  ] INFO 2023/08/17 16:05:32     grid:      power ✓ energy ✓ currents ✗
[site  ] INFO 2023/08/17 16:05:32     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2023/08/17 16:05:32   vehicles:
[site  ] INFO 2023/08/17 16:05:32     vehicle 1: range ✓ finish ✓ status ✓ climate ✓ wakeup ✗
[lp-1  ] INFO 2023/08/17 16:05:32 loadpoint 1:
[lp-1  ] INFO 2023/08/17 16:05:32   mode:        off
[lp-1  ] INFO 2023/08/17 16:05:32   charger:     power ✓ energy ✓ currents ✓ phases ✗ wakeup ✗
[lp-1  ] INFO 2023/08/17 16:05:32   meters:      charge ✓
[lp-1  ] INFO 2023/08/17 16:05:32     charge:    power ✓ energy ✓ currents ✓
[lp-1  ] DEBUG 2023/08/17 16:05:32 phase timer inactive
[lp-1  ] DEBUG 2023/08/17 16:05:32 pv timer inactive
[lp-1  ] DEBUG 2023/08/17 16:05:32 guard timer inactive
[site  ] WARN 2023/08/17 16:05:32 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2023/08/17 16:05:32 ----
[lp-1  ] DEBUG 2023/08/17 16:05:32 charge power: 0W
[site  ] DEBUG 2023/08/17 16:05:32 pv power: 706W
[site  ] DEBUG 2023/08/17 16:05:32 grid power: -643W
[site  ] DEBUG 2023/08/17 16:05:32 site power: -643W
[lp-1  ] DEBUG 2023/08/17 16:05:32 charge voltages: [226 227 223]V
[lp-1  ] DEBUG 2023/08/17 16:05:32 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:05:32 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:05:32 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:05:32 charger status: A
[lp-1  ] INFO 2023/08/17 16:05:32 car disconnected
[lp-1  ] DEBUG 2023/08/17 16:05:32 set charge mode: off
[lp-1  ] DEBUG 2023/08/17 16:05:32 set min current: 6
[lp-1  ] DEBUG 2023/08/17 16:05:32 set max current: 20
[lp-1  ] DEBUG 2023/08/17 16:05:32 set min soc: 0
[lp-1  ] DEBUG 2023/08/17 16:05:32 set target soc: 100
[lp-1  ] DEBUG 2023/08/17 16:05:32 set priority: 0
[site  ] DEBUG 2023/08/17 16:05:42 ----
[lp-1  ] DEBUG 2023/08/17 16:05:42 charge power: 0W
[site  ] DEBUG 2023/08/17 16:05:42 pv power: 711W
[site  ] DEBUG 2023/08/17 16:05:42 grid power: -650W
[site  ] DEBUG 2023/08/17 16:05:42 site power: -650W
[lp-1  ] DEBUG 2023/08/17 16:05:42 charge voltages: [226 227 224]V
[lp-1  ] DEBUG 2023/08/17 16:05:42 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:05:42 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:05:42 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:05:42 charger status: A
[site  ] DEBUG 2023/08/17 16:05:52 ----
[lp-1  ] DEBUG 2023/08/17 16:05:52 charge power: 0W
[site  ] DEBUG 2023/08/17 16:05:52 pv power: 718W
[site  ] DEBUG 2023/08/17 16:05:52 grid power: -657W
[site  ] DEBUG 2023/08/17 16:05:52 site power: -657W
[lp-1  ] DEBUG 2023/08/17 16:05:52 charge voltages: [226 227 224]V
[lp-1  ] DEBUG 2023/08/17 16:05:52 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:05:52 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:05:52 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:05:52 charger status: A
[site  ] DEBUG 2023/08/17 16:06:02 ----
[lp-1  ] DEBUG 2023/08/17 16:06:02 charge power: 0W
[site  ] DEBUG 2023/08/17 16:06:02 pv power: 725W
[site  ] DEBUG 2023/08/17 16:06:02 grid power: -662W
[site  ] DEBUG 2023/08/17 16:06:02 site power: -662W
[lp-1  ] DEBUG 2023/08/17 16:06:02 charge voltages: [226 227 223]V
[lp-1  ] DEBUG 2023/08/17 16:06:02 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:06:02 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:06:02 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:06:02 charger status: A
[site  ] DEBUG 2023/08/17 16:06:12 ----
[lp-1  ] DEBUG 2023/08/17 16:06:12 charge power: 0W
[site  ] DEBUG 2023/08/17 16:06:12 pv power: 731W
[site  ] DEBUG 2023/08/17 16:06:12 grid power: -666W
[site  ] DEBUG 2023/08/17 16:06:12 site power: -666W
[lp-1  ] DEBUG 2023/08/17 16:06:12 charge voltages: [226 228 224]V
[lp-1  ] DEBUG 2023/08/17 16:06:12 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:06:12 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:06:12 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:06:12 charger status: A
[site  ] DEBUG 2023/08/17 16:06:22 ----
[lp-1  ] DEBUG 2023/08/17 16:06:22 charge power: 0W
[site  ] DEBUG 2023/08/17 16:06:22 pv power: 737W
[site  ] DEBUG 2023/08/17 16:06:22 grid power: -676W
[site  ] DEBUG 2023/08/17 16:06:22 site power: -676W
[lp-1  ] DEBUG 2023/08/17 16:06:22 charge voltages: [226 227 224]V
[lp-1  ] DEBUG 2023/08/17 16:06:22 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:06:22 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:06:22 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:06:22 charger status: A
[site  ] DEBUG 2023/08/17 16:06:32 ----
[lp-1  ] DEBUG 2023/08/17 16:06:32 charge power: 0W
[site  ] DEBUG 2023/08/17 16:06:32 pv power: 742W
[site  ] DEBUG 2023/08/17 16:06:32 grid power: -677W
[site  ] DEBUG 2023/08/17 16:06:32 site power: -677W
[lp-1  ] DEBUG 2023/08/17 16:06:32 charge voltages: [226 228 223]V
[lp-1  ] DEBUG 2023/08/17 16:06:32 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:06:32 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:06:32 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:06:32 charger status: A
[site  ] DEBUG 2023/08/17 16:06:42 ----
[lp-1  ] DEBUG 2023/08/17 16:06:42 charge power: 0W
[site  ] DEBUG 2023/08/17 16:06:42 pv power: 750W
[site  ] DEBUG 2023/08/17 16:06:42 grid power: -686W
[site  ] DEBUG 2023/08/17 16:06:42 site power: -686W
[lp-1  ] DEBUG 2023/08/17 16:06:42 charge voltages: [226 227 224]V
[lp-1  ] DEBUG 2023/08/17 16:06:42 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:06:42 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:06:42 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:06:42 charger status: A
[site  ] DEBUG 2023/08/17 16:06:52 ----
[lp-1  ] DEBUG 2023/08/17 16:06:52 charge power: 0W
[site  ] DEBUG 2023/08/17 16:06:52 pv power: 756W
[site  ] DEBUG 2023/08/17 16:06:52 grid power: -694W
[site  ] DEBUG 2023/08/17 16:06:52 site power: -694W
[lp-1  ] DEBUG 2023/08/17 16:06:52 charge voltages: [226 227 224]V
[lp-1  ] DEBUG 2023/08/17 16:06:52 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:06:52 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:06:52 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:06:52 charger status: A
[site  ] DEBUG 2023/08/17 16:07:02 ----
[lp-1  ] DEBUG 2023/08/17 16:07:02 charge power: 0W
[site  ] DEBUG 2023/08/17 16:07:02 pv power: 762W
[site  ] DEBUG 2023/08/17 16:07:02 grid power: -700W
[site  ] DEBUG 2023/08/17 16:07:02 site power: -700W
[lp-1  ] DEBUG 2023/08/17 16:07:02 charge voltages: [226 227 224]V
[lp-1  ] DEBUG 2023/08/17 16:07:02 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:07:02 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:07:02 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:07:02 charger status: A
[site  ] DEBUG 2023/08/17 16:07:12 ----
[lp-1  ] DEBUG 2023/08/17 16:07:12 charge power: 0W
[site  ] DEBUG 2023/08/17 16:07:12 pv power: 769W
[site  ] DEBUG 2023/08/17 16:07:12 grid power: -707W
[site  ] DEBUG 2023/08/17 16:07:12 site power: -707W
[lp-1  ] DEBUG 2023/08/17 16:07:12 charge voltages: [226 227 224]V
[lp-1  ] DEBUG 2023/08/17 16:07:12 detected connected phases: 3p
[lp-1  ] DEBUG 2023/08/17 16:07:12 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/08/17 16:07:12 charge total import: 2794.000kWh
[lp-1  ] DEBUG 2023/08/17 16:07:12 charger status: A
^Cpi@evcc:~ $

What type of operating system are you running?

Linux

Version

evcc version 0.118.11

thierolm commented 1 year ago

Das war schon immer so. Status8 wird für mehrere Parameter ausgelesen (Power+Energy). Die Tasmota Implemetierung cached die Abfragen in einem evcc Cycle nicht! War auch bisher nicht nörig ==> NO ISSUE!

thierolm commented 1 year ago

Hinweis: Bei deinem pv2 Meter, solltest du usage von grid auf pv ändern.

thierolm commented 1 year ago

Ich Glaube, dass in der Vorgängerversion oder Anfangs, den doppelten Eintrag in der PV noch nicht gab. War nur im Stromzähler

Das kann sein, in den ersten Tasmota Versionen wurde nur Power ausgelesen ...

AUSMAUS commented 1 year ago

Als am Anfang die meine Anlage konfigurierte stand bei pv2 auch pv drinnen. Da hatte ich das Problem, dass bei PV nichts angezeigt wurde. Dann habe ich eine Anfrage in github gestartet und ich bekam die Empfehlung dies auf grid zu ändern. https://github.com/evcc-io/evcc/discussions/8084

AUSMAUS commented 1 year ago

Ich habe in pv2 grid auf pv geändert und dann war bei Erzeugung wieder 0 drinn gestanden. Jetzt steht wieder grid drinnen und nun wird wieder was angezeigt.

thierolm commented 1 year ago

Ah, ok, ich erinnere mich. Kann es sein, dass Du über einen Lesekopf einen Zähler ausliest, der deinen Solarstrom misst? Dann passt das mit usage: grid.

AUSMAUS commented 1 year ago

Ein Lesekopf für Hausstrom und ein weiterer Lesekopf PV-Erzeugung

thierolm commented 1 year ago

OK, passt (mit grid)! :-)

AUSMAUS commented 1 year ago

Was ist mit den Doppelanfragen? Die sind wirklich unnötig

thierolm commented 1 year ago

Nope sind sie nicht, da einmal aus dem JSON Power ausgelesen wird und einmal Energy. Hast du funktional ein Problem damit?

VolkerK62 commented 1 year ago

Wenn es sooo sehr stört, Alternative wäre ein custom-meter, bei dem nur power abgefragt wird

- name: grid1
  type: custom
  power:
    source: http
    uri: http://192.168.178.29/cm?cmnd=Status%208
    jq: .StatusSNS.SML.Power_curr
thierolm commented 1 year ago

Hi ihr Zwei, ich bin gerade dabei das Caching auch in die Tasmota Logik einzubauen ... PR folgt ...

AUSMAUS commented 1 year ago

hat geklappt. Danke. Diese Lösung würde mir auch reichen!

andig commented 1 year ago

Die Tasmota Implemetierung cached die Abfragen in einem evcc Cycle nicht! War auch bisher nicht nörig ==> NO ISSUE!

@thierolm ein kleines cache: 1s wäre natürlich nice ;)