Closed MarkusMit closed 9 months ago
addendum: Checking the MQTT broker further, I noticed, that evcc seems to double the pv plant and battery internally:
addendum II: I just remembered that last week - in connectiont with the new "GoodWe over WiFi" - I shortly played around with the "Device Configuration" UI, adding additional pv and battery ("GoodWe over WiFi"), but since I didn't receive any values there as well (see #12040), I removed them again, so I only have my evcc.yaml
configured devices there:
But could it be that there's some residue from that experiment somewhere in the system, that now doubles my pv and battery?
[EDIT] Got rid of that (assumed) residue! I restored an old backup of evcc addon, and then updated that one to the latest version again. Now the doubled PV and Batt are gone again:
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main ] INFO 2024/02/10 11:59:30 evcc 0.124.1
[main ] INFO 2024/02/10 11:59:30 using config file: /config/evcc.yaml
[main ] INFO 2024/02/10 11:59:30 starting ui and api at :7070
[mqtt ] INFO 2024/02/10 11:59:30 connecting evcc-1663023739 at tcp://localhost:1883
[mqtt ] DEBUG 2024/02/10 11:59:30 tcp://localhost:1883 connected
[site ] INFO 2024/02/10 11:59:32 site config:
[site ] INFO 2024/02/10 11:59:32 meters: grid ✓ pv ✓ battery ✓
[site ] INFO 2024/02/10 11:59:32 grid: power ✓ energy ✓ currents ✓
[site ] INFO 2024/02/10 11:59:32 pv 1: power ✓ energy ✓ currents ✓
[site ] INFO 2024/02/10 11:59:32 battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✓
[site ] INFO 2024/02/10 11:59:32 vehicles:
[site ] INFO 2024/02/10 11:59:32 vehicle 1: range ✓ finish ✓ status ✓ climate ✗ wakeup ✓
[site ] WARN 2024/02/10 11:59:32 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[EDIT] The problem is already resolved. It was presumably caused by residue of playing around with the experimental "Device Configuration" UI. For details see below comment.
Describe the bug
This morning I noticed that evcc shows double the value for PV production than what is actually produced. Looking closer I discovered all power values, PV production, Battery power, consumption are all doubled. Not sure since when this is happening, I think last weekend it wasn't. Yesterday evening I updated evcc, NodeRed, HA OS and HA core. Tried downgrading evcc and NodeRed back again already, but with no effect.
evcc gets data from MQTT (via NodeRed). MQTT is reporting the correct values. evcc logs already the doubled values:
Steps to reproduce
Home Assistant, on Raspberry Pi 4
addons
FritzBox WiFi
Configuration details
Log details
What type of operating system are you running?
HomeAssistant Add-on
Version
0.124.1