template: huawei-dongle-powersensor 0 values of battery SOC and charge/uncharge power #9634
-
Describe the bugHi Guys, first thanks for your terrific work in this project! The battery values (charge/uncharge, SOC) of my meter are every times "0"(not null, only 0). Firmware: I'm also using HomeAssistant, where I can see successfully those values of the battery using the Huawei Solar Integration by https://github.com/wlcrs. Do I use the false template or there anywhere else an error in my config? Thanks! Steps to reproduce
Configuration detailsnetwork:
schema: http
host: evcc.local # .local suffix announces the hostname on MDNS
port: 7070
log: debug
levels:
cache: error
ocpp: trace
# unique installation id
plant: ***
interval: 10s # control cycle interval
meters:
- type: template
template: huawei-dongle-powersensor
id: 1
host: 192.168.178.35
port: 502
usage: grid
modbus: tcpip
name: grid1
- type: template
template: huawei-dongle-powersensor
id: 1
host: 192.168.178.35
port: 502
usage: pv
modbus: tcpip
name: pv2
- type: template
template: huawei-dongle-powersensor
id: 1
host: 192.168.178.35
port: 502
usage: battery
modbus: tcpip
name: battery3
chargers:
- type: template
template: ocpp
stationid: EVB-P*******
connector: 1
idtag: '***'
connecttimeout: 5m
timeout: 2m
getconfiguration: false
bootnotification: false
name: evbox-elvi
vehicles:
- type: template
template: mini
title: Mini Cooper SE
user: ***
password: ***
vin: ***
capacity: 28.9
name: ev4
loadpoints:
- title: Carport
charger: evbox-elvi
mode: minpv
phases: 3
mincurrent: 6
maxcurrent: 16
resetOnDisconnect: true
site:
title: MySite
meters:
grid: grid1
pv:
- pv2
battery:
- battery3 Log details
What type of operating system are you running?Linux Versionevcc version 0.119.0 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @annotationshacker, |
Beta Was this translation helpful? Give feedback.
-
Hi @fzzybllz, |
Beta Was this translation helpful? Give feedback.
-
Add |
Beta Was this translation helpful? Give feedback.
-
Works also for me. |
Beta Was this translation helpful? Give feedback.
Add
storageunit: 2
to battery meter or useevcc configure --advanced
to build a new config file by answering the advanced parameter settings.