evcc-io / evcc

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

Set up Sofar HYD 5KTL 3ph for battery control #17133

Closed MarkoSchweizer closed 6 days ago

MarkoSchweizer commented 6 days ago

Describe the bug

Hello,

I have a Sofar HYD 5KTL 3PH with Amass Store battery connected to evcc with LSE 3 logger stick. My evcc runs nice with meters over MQTT, but I want to control my battery for grid charging, so I changed my meters.

this is my meters in evcc.yaml now:

meters:

I get this error: [main ] FATAL 2024/11/07 20:17:48 failed configuring site: not found: battery

Somebody knows what to do?

Best regards Marko

Steps to reproduce

1. 2. 3. ...

Configuration details

meters:
  - name: grid
    type: custom    
    power:
        source: mqtt
        topic: homeassistant/sensor/grid_power/state

  - name: pv
    type: custom    
    power:
        source: mqtt
        topic: homeassistant/sensor/photovoltaik/state

- type: template
  template: sofarsolar-g3 
  id: 1  
  host: 192.168.178.47  
  port: 8899  
  usage: battery  
  modbus: tcpip  
  name: battery2

Log details

FATAL 2024/11/07 20:17:48 failed configuring site: not found: battery

What type of operating system are you running?

HomeAssistant Add-on

Nightly build

Version

0.131.4