evcc icon indicating copy to clipboard operation
evcc copied to clipboard

meter [SolarEdgeGrid] cannot create meter 'SolarEdgeGrid': cannot create meter type 'template:solaredge-hybrid': invalid key: timeout failed booting site: not found: SolarEdgeGrid

Open achims311 opened this issue 10 months ago • 4 comments

Describe the bug

When upgrading from 0.300.2 to 0.300.4 evcc does not start anymore, due to this error: [main ] FATAL ..... meter [SolarEdgeGrid] cannot create meter 'SolarEdgeGrid': cannot create meter type 'template:solaredge-hybrid': invalid key: timeout failed booting site: not found: SolarEdgeGrid

Steps to reproduce

  1. use evcc.yaml with parameters: meters:
  • name: SolarEdgeGrid type: template template: solaredge-hybrid usage: grid modbus: tcpip id: 1 host: xxx # Hostname port: 502 # Port timeout: 10s # Timeout, optional
  • name: SolarEdgePV type: template template: solaredge-hybrid usage: pv modbus: tcpip id: 1 host: xxx # Hostname port: 502 # Port timeout: 10s # Timeout, optional
  • name: SolarEdgeBattery type: template template: solaredge-hybrid usage: battery modbus: tcpip id: 1 host: xxx # Hostname port: 502 # Port timeout: 10s # Timeout, optional
  1. start evcc

Configuration details

see above

Log details

Config: configured (/config/evcc.yaml), exists
Database: configured (/config/evcc.db), exists
[main  ] INFO 2026/01/17 19:11:18 evcc 0.300.4
[main  ] INFO 2026/01/17 19:11:18 using config file: /config/evcc.yaml
[main  ] INFO 2026/01/17 19:11:18 using sqlite database: /config/evcc.db?_pragma=busy_timeout(5000)
[mqtt  ] INFO 2026/01/17 19:11:18 connecting evcc-1606430553 at tcp://xxx:1883
[main  ] INFO 2026/01/17 19:11:19 OCPP local url:    ws://127.0.0.1:8887/<stationId>
[main  ] INFO 2026/01/17 19:11:19 UI local url:      http://127.0.0.1:7070
[main  ] FATAL 2026/01/17 19:11:21 meter [SolarEdgeGrid] cannot create meter 'SolarEdgeGrid': cannot create meter type 'template:solaredge-hybrid': invalid key: timeout
failed booting site: not found: SolarEdgeGrid
[main  ] FATAL 2026/01/17 19:11:21 will attempt restart in: 15m0s

What type of operating system or environment does evcc run on?

HomeAssistant Add-on

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

evcc version 0.300.4

achims311 avatar Jan 17 '26 18:01 achims311

Try to reconfigure SE devices in the background while error message is displayed (as long as you can reach the ui!) and let it "check" again before saving.

Worked for me.

Ojoachim71 avatar Jan 18 '26 03:01 Ojoachim71

invalid key: timeout

Just remove it

andig avatar Jan 18 '26 06:01 andig

Works for me. thanks

achims311 avatar Jan 18 '26 10:01 achims311

Closed in fe5276bd35db8f7e3e915da58d98b65b2a4abd37

andig avatar Jan 18 '26 10:01 andig