evcc-io / evcc

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

Without update or change at EVCC: strconv.ParseFloat: parsing \"<nil>\": invalid syntax #15075

Closed linuxstony closed 3 months ago

linuxstony commented 3 months ago

Describe the bug

I had router problems as my FritzBox forgot my provider details. Before I realised that I replaced a repeater Fritzbox with a Switch. After that I had massive DNS problems which I was able to compensate and hopefully fix.

EVCC is able to contact the Shelly 3EM and the Ahoy-DTU for my hoymiles inverter.

Sadly this created an error which I don't know how to fix - now I am presented with the message in the topic.

Could it be that the error is thrown because the inverter is not reachable at that specific time?

Steps to reproduce

Duplicate my setup? There is sadly nothing to reproduce the behavior.

Configuration details

meters:
- type: template
  template: shelly-3em 
  usage: grid  
  host: 192.168.178.54  
  name: grid1
- type: template
  template: hoymiles-ahoydtu 
  usage: pv  
  host: 192.168.178.28  
  id: 0  
  name: pv2

chargers:
- type: template
  template: fritzdect 
  uri: https://192.168.178.1  
  user: fritz9155  
  password: mypassword  
  ain: myain-number  
  standbypower: 15  
  name: Ladeziegel #wallbox3
- type: template
  template: ocpp
  timeout: 2m # optional 
  stationid: garage
  name: Wall-E

loadpoints:
- title: Wallbox
  charger: Wall-E
  phases: 3
  mincurrent: 6
  maxcurrent: 16
  enable:
    threshold: -300
    delay: 3m
  disable:
    threshold: 2100
    delay: 3m   
- title: Ziegel
  charger: Ladeziegel
  mode: off

site:
  title: Schäfergarten
  meters:
    grid: grid1
    pv:
    - pv2

Log details

[site ] DEBUG 2024/07/26 20:10:44 grid meter: 609W
[http ] TRACE 2024/07/26 20:10:44 GET http://192.168.178.54/emeter/0
[http ] TRACE 2024/07/26 20:10:44 {"power":291.01,"pf":0.76,"current":1.61,"voltage":234.74,"is_valid":true,"total":7410836.7,"total_returned":0.0}
[http ] TRACE 2024/07/26 20:10:44 GET http://192.168.178.54/emeter/1
[http ] TRACE 2024/07/26 20:10:44 {"power":329.68,"pf":0.65,"current":2.12,"voltage":235.31,"is_valid":true,"total":7134037.9,"total_returned":0.0}
[http ] TRACE 2024/07/26 20:10:44 GET http://192.168.178.54/emeter/2
[http ] TRACE 2024/07/26 20:10:44 {"power":-11.33,"pf":-0.33,"current":0.14,"voltage":235.88,"is_valid":true,"total":810827.8,"total_returned":746050.5}
[site ] DEBUG 2024/07/26 20:10:44 grid powers: [291 330 -11]W
[http ] TRACE 2024/07/26 20:10:44 GET http://192.168.178.54/emeter/0
[http ] TRACE 2024/07/26 20:10:44 {"power":291.25,"pf":0.76,"current":1.62,"voltage":234.73,"is_valid":true,"total":7410836.7,"total_returned":0.0}
[http ] TRACE 2024/07/26 20:10:44 GET http://192.168.178.54/emeter/1
[http ] TRACE 2024/07/26 20:10:44 {"power":329.43,"pf":0.65,"current":2.12,"voltage":235.28,"is_valid":true,"total":7134037.9,"total_returned":0.0}
[http ] TRACE 2024/07/26 20:10:44 GET http://192.168.178.54/emeter/2
[http ] TRACE 2024/07/26 20:10:44 {"power":-9.38,"pf":-0.22,"current":0.17,"voltage":235.83,"is_valid":true,"total":810827.8,"total_returned":746050.5}
[site ] DEBUG 2024/07/26 20:10:44 grid currents: [1.62 2.12 -0.17]A
[http ] TRACE 2024/07/26 20:10:44 GET http://192.168.178.54/status
[http ] TRACE 2024/07/26 20:10:44 {"wifi_sta":{"connected":true,"ssid":"Schaefergarten","ip":"192.168.178.54","rssi":-38},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"20:10","unixtime":1722017444,"serial":2802,"has_update":false,"mac":"244CAB42CE42","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"relays":[{"ison":true,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"is_valid":true,"source":"input"}],"emeters":[{"power":291.25,"pf":0.76,"current":1.62,"voltage":234.73,"is_valid":true,"total":7410836.7,"total_returned":0.0},{"power":329.43,"pf":0.65,"current":2.12,"voltage":235.28,"is_valid":true,"total":7134037.9,"total_returned":0.0},{"power":-9.38,"pf":-0.22,"current":0.17,"voltage":235.83,"is_valid":true,"total":810827.8,"total_returned":746050.5}],"total_power":611.30,"emeter_n":{"current":0.00,"ixsum":3.06,"mismatch":false,"is_valid":false},"fs_mounted":true,"v_data":1,"ct_calst":0,"update":{"status":"idle","has_update":false,"new_version":"20230913-114244/v1.14.0-gcb84623","old_version":"20230913-114244/v1.14.0-gcb84623","beta_version":"20231107-165007/v1.14.1-rc1-g0617c15"},"ram_total":49920,"ram_free":30804,"fs_size":233681,"fs_free":154365,"uptime":22166}
[site ] DEBUG 2024/07/26 20:10:44 site power: 609W
[lp-1 ] DEBUG 2024/07/26 20:10:44 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/26 20:10:44 charger status: A
[site ] DEBUG 2024/07/26 20:11:12 ----
[lp-1 ] DEBUG 2024/07/26 20:11:12 charge power: 0W
[fritzdect] TRACE 2024/07/26 20:11:12 GET https://192.168.178.1/webservices/homeautoswitch.lua?ain=116570558795&sid=8a2c40fa3a2f3e07&switchcmd=getswitchpower
[fritzdect] TRACE 2024/07/26 20:11:13 0
[lp-2 ] DEBUG 2024/07/26 20:11:13 charge power: 0W
[http ] TRACE 2024/07/26 20:11:13 GET http://192.168.178.28/api/inverter/id/0
[http ] TRACE 2024/07/26 20:11:13 null
[http ] TRACE 2024/07/26 20:11:13 GET http://192.168.178.28/api/inverter/id/0
[http ] TRACE 2024/07/26 20:11:13 null
[http ] TRACE 2024/07/26 20:11:14 GET http://192.168.178.28/api/inverter/id/0
[http ] TRACE 2024/07/26 20:11:14 null
[site ] ERROR 2024/07/26 20:11:14 pv 1 power: strconv.ParseFloat: parsing "<nil>": invalid syntax
[site ] DEBUG 2024/07/26 20:11:14 pv power: 0W
[http ] TRACE 2024/07/26 20:11:14 GET http://192.168.178.54/status
[http ] TRACE 2024/07/26 20:11:14 {"wifi_sta":{"connected":true,"ssid":"Schaefergarten","ip":"192.168.178.54","rssi":-38},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"20:11","unixtime":1722017474,"serial":2812,"has_update":false,"mac":"244CAB42CE42","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"relays":[{"ison":true,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"is_valid":true,"source":"input"}],"emeters":[{"power":291.71,"pf":0.76,"current":1.61,"voltage":234.76,"is_valid":true,"total":7410841.5,"total_returned":0.0},{"power":335.11,"pf":0.65,"current":2.14,"voltage":235.21,"is_valid":true,"total":7134044.2,"total_returned":0.0},{"power":-7.01,"pf":-0.18,"current":0.17,"voltage":235.83,"is_valid":true,"total":810827.8,"total_returned":746050.6}],"total_power":619.81,"emeter_n":{"current":0.00,"ixsum":3.08,"mismatch":false,"is_valid":false},"fs_mounted":true,"v_data":1,"ct_calst":0,"update":{"status":"idle","has_update":false,"new_version":"20230913-114244/v1.14.0-gcb84623","old_version":"20230913-114244/v1.14.0-gcb84623","beta_version":"20231107-165007/v1.14.1-rc1-g0617c15"},"ram_total":49920,"ram_free":32136,"fs_size":233681,"fs_free":154365,"uptime":22196}
[site ] DEBUG 2024/07/26 20:11:14 grid meter: 620W
[http ] TRACE 2024/07/26 20:11:14 GET http://192.168.178.54/emeter/0
[http ] TRACE 2024/07/26 20:11:14 {"power":291.71,"pf":0.76,"current":1.61,"voltage":234.76,"is_valid":true,"total":7410841.5,"total_returned":0.0}
[http ] TRACE 2024/07/26 20:11:14 GET http://192.168.178.54/emeter/1
[http ] TRACE 2024/07/26 20:11:14 {"power":335.11,"pf":0.65,"current":2.14,"voltage":235.21,"is_valid":true,"total":7134044.2,"total_returned":0.0}
[http ] TRACE 2024/07/26 20:11:14 GET http://192.168.178.54/emeter/2
[http ] TRACE 2024/07/26 20:11:14 {"power":-7.01,"pf":-0.18,"current":0.17,"voltage":235.83,"is_valid":true,"total":810827.8,"total_returned":746050.6}
[site ] DEBUG 2024/07/26 20:11:14 grid powers: [292 335 -7]W
[http ] TRACE 2024/07/26 20:11:14 GET http://192.168.178.54/emeter/0
[http ] TRACE 2024/07/26 20:11:14 {"power":291.71,"pf":0.76,"current":1.61,"voltage":234.76,"is_valid":true,"total":7410841.5,"total_returned":0.0}
[http ] TRACE 2024/07/26 20:11:14 GET http://192.168.178.54/emeter/1
[http ] TRACE 2024/07/26 20:11:14 {"power":335.11,"pf":0.65,"current":2.14,"voltage":235.21,"is_valid":true,"total":7134044.2,"total_returned":0.0}
[http ] TRACE 2024/07/26 20:11:14 GET http://192.168.178.54/emeter/2
[http ] TRACE 2024/07/26 20:11:14 {"power":-7.01,"pf":-0.18,"current":0.17,"voltage":235.83,"is_valid":true,"total":810827.8,"total_returned":746050.6}
[site ] DEBUG 2024/07/26 20:11:14 grid currents: [1.61 2.14 -0.17]A
[http ] TRACE 2024/07/26 20:11:14 GET http://192.168.178.54/status
[http ] TRACE 2024/07/26 20:11:14 {"wifi_sta":{"connected":true,"ssid":"Schaefergarten","ip":"192.168.178.54","rssi":-38},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"20:11","unixtime":1722017474,"serial":2812,"has_update":false,"mac":"244CAB42CE42","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"relays":[{"ison":true,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"is_valid":true,"source":"input"}],"emeters":[{"power":291.71,"pf":0.76,"current":1.61,"voltage":234.76,"is_valid":true,"total":7410841.5,"total_returned":0.0},{"power":335.11,"pf":0.65,"current":2.14,"voltage":235.21,"is_valid":true,"total":7134044.2,"total_returned":0.0},{"power":-7.01,"pf":-0.18,"current":0.17,"voltage":235.83,"is_valid":true,"total":810827.8,"total_returned":746050.6}],"total_power":619.81,"emeter_n":{"current":0.00,"ixsum":3.08,"mismatch":false,"is_valid":false},"fs_mounted":true,"v_data":1,"ct_calst":0,"update":{"status":"idle","has_update":false,"new_version":"20230913-114244/v1.14.0-gcb84623","old_version":"20230913-114244/v1.14.0-gcb84623","beta_version":"20231107-165007/v1.14.1-rc1-g0617c15"},"ram_total":49920,"ram_free":31024,"fs_size":233681,"fs_free":154365,"uptime":22197}
[site ] DEBUG 2024/07/26 20:11:14 site power: 620W
[fritzdect] TRACE 2024/07/26 20:11:14 GET https://192.168.178.1/webservices/homeautoswitch.lua?ain=116570558795&sid=8a2c40fa3a2f3e07&switchcmd=getswitchenergy
[fritzdect] TRACE 2024/07/26 20:11:15 3396409
[lp-2 ] DEBUG 2024/07/26 20:11:15 charge total import: 3396.409kWh
[fritzdect] TRACE 2024/07/26 20:11:15 GET https://192.168.178.1/webservices/homeautoswitch.lua?ain=116570558795&sid=8a2c40fa3a2f3e07&switchcmd=getswitchpresent
[fritzdect] TRACE 2024/07/26 20:11:15 1
[lp-2 ] DEBUG 2024/07/26 20:11:15 charger status: A
[fritzdect] TRACE 2024/07/26 20:11:15 GET https://192.168.178.1/webservices/homeautoswitch.lua?ain=116570558795&sid=8a2c40fa3a2f3e07&switchcmd=getswitchstate
[fritzdect] TRACE 2024/07/26 20:11:16 0
[ocpp ] TRACE 2024/07/26 20:11:35 recv garage: [2,"4685","Heartbeat",{}]
[ocpp ] TRACE 2024/07/26 20:11:35 send garage: [3,"4685",{"currentTime":"2024-07-26T18:11:35Z"}]
[site ] DEBUG 2024/07/26 20:11:42 ----
[lp-1 ] DEBUG 2024/07/26 20:11:42 charge power: 0W
[fritzdect] TRACE 2024/07/26 20:11:42 GET https://192.168.178.1/webservices/homeautoswitch.lua?ain=116570558795&sid=8a2c40fa3a2f3e07&switchcmd=getswitchpower
[fritzdect] TRACE 2024/07/26 20:11:43 0
[lp-2 ] DEBUG 2024/07/26 20:11:43 charge power: 0W
[http ] TRACE 2024/07/26 20:11:43 GET http://192.168.178.28/api/inverter/id/0
[http ] TRACE 2024/07/26 20:11:43 null
[http ] TRACE 2024/07/26 20:11:43 GET http://192.168.178.28/api/inverter/id/0
[http ] TRACE 2024/07/26 20:11:43 null
[site ] ERROR 2024/07/26 20:11:43 pv 1 power: strconv.ParseFloat: parsing "<nil>": invalid syntax
[site ] DEBUG 2024/07/26 20:11:43 pv power: 0W

What type of operating system are you running?

Docker-Installation

Version

0.128.4

linuxstony commented 3 months ago

Voraussichtlich Duplikat von https://github.com/evcc-io/evcc/issues/11140