evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Since Update 0.203.0 no connection to Solax Hybrid Inverter (Cloud) - power:strconv.ParseFloat: parsing "<nil>":invalid syntax

Open Champ40 opened this issue 1 year ago β€’ 1 comments

Describe the bug

Since the update to 0.203.0, evcc can no longer establish a connection with my grid meter, PV system and battery. When checking the connection, I always get the error message power: strconv.ParseFloat: parsing β€œβ€: invalid syntax.

I have a Solax X4 Hybrid inverter with battery storage. The data retrieval with evcc is done via the Solax Cloud. The token and serial number are checked and entered correctly.

According to TRACE, the TokenID is set in single quotation marks. However, this is identified as incorrect by the Solax Cloud and the connection is rejected.

Steps to reproduce

Configuration details

-

Log details

[main  ] INFO 2025/04/27 15:22:39 evcc 0.203.3
[main  ] INFO 2025/04/27 15:22:39 using config file: /config/evcc.yaml
[db    ] INFO 2025/04/27 15:22:39 using sqlite database: /data/evcc.db
[db    ] TRACE 2025/04/27 15:22:39 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2025/04/27 15:22:39 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2025/04/27 15:22:39 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2025/04/27 15:22:39 SELECT * FROM `settings` 7 <nil>
[db    ] TRACE 2025/04/27 15:22:39 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2025/04/27 15:22:39 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2025/04/27 15:22:39 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[main  ] INFO 2025/04/27 15:22:39 listening at :7070
[db    ] TRACE 2025/04/27 15:22:39 SELECT * FROM `configs` WHERE `configs`.`class` = 5 0 <nil>
[db    ] TRACE 2025/04/27 15:22:39 SELECT * FROM `configs` WHERE `configs`.`class` = 2 3 <nil>
[db    ] TRACE 2025/04/27 15:22:39 SELECT * FROM `configs` WHERE `configs`.`class` = 1 0 <nil>
[db    ] TRACE 2025/04/27 15:22:39 SELECT * FROM `configs` WHERE `configs`.`class` = 3 0 <nil>
[db    ] TRACE 2025/04/27 15:22:39 SELECT * FROM `configs` WHERE `configs`.`class` = 5 0 <nil>
[site  ] INFO 2025/04/27 15:22:39 site config:
[site  ] INFO 2025/04/27 15:22:39   meters:      grid βœ“ pv βœ“ battery βœ“
[site  ] INFO 2025/04/27 15:22:39     grid:      power βœ“ energy βœ— currents βœ—
[site  ] INFO 2025/04/27 15:22:39     pv 1:      power βœ“ energy βœ— currents βœ—
[site  ] INFO 2025/04/27 15:22:39     battery 1: power βœ“ energy βœ— currents βœ— soc βœ“ capacity βœ“
[site  ] INFO 2025/04/27 15:22:39   tariffs:
[site  ] INFO 2025/04/27 15:22:39     grid:      βœ—
[site  ] INFO 2025/04/27 15:22:39     feed-in:   βœ—
[site  ] INFO 2025/04/27 15:22:39     co2:       βœ—
[site  ] INFO 2025/04/27 15:22:39     solar:     βœ“
[httpd ] TRACE 2025/04/27 15:23:28 GET /api/config/site
[httpd ] TRACE 2025/04/27 15:23:29 GET /api/config/devices/charger
[httpd ] TRACE 2025/04/27 15:23:29 GET /api/config/loadpoints
[httpd ] TRACE 2025/04/27 15:23:29 GET /api/config/devices/circuit
[httpd ] TRACE 2025/04/27 15:23:29 GET /api/config/dirty
[httpd ] TRACE 2025/04/27 15:23:29 GET /api/config/devices/meter/db:1/status
[db:1  ] TRACE 2025/04/27 15:23:29 GET https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId=%272025*******************%27&sn=%27SRN*******+%27
[db:1  ] TRACE 2025/04/27 15:23:29 {"exception":"token invalid!","code":103,"tokenId":"'2025*******************'","success":false}
[httpd ] TRACE 2025/04/27 15:23:29 GET /api/config/devices/meter/db:3/status
[db:3  ] TRACE 2025/04/27 15:23:29 GET https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId=%272025*******************%27&sn=SRN*******
[db:3  ] TRACE 2025/04/27 15:23:29 {"exception":"token invalid!","code":103,"tokenId":"'2025*******************'","success":false}
[httpd ] TRACE 2025/04/27 15:23:30 GET /api/config/devices/meter/db:2/status
[httpd ] TRACE 2025/04/27 15:23:31 GET /api/config/products/meter
[httpd ] TRACE 2025/04/27 15:23:31 GET /api/config/devices/meter/1
[httpd ] TRACE 2025/04/27 15:23:31 GET /api/config/templates/meter
[httpd ] TRACE 2025/04/27 15:23:33 POST /api/config/test/meter/merge/1

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

0.203.3

Champ40 avatar Apr 27 '25 19:04 Champ40

Ich sehe nur token invalid. Erstmal den Fehler beheben? Das Problem ist eher, dass dieser Fehler nicht zurΓΌck gegeben wird.

andig avatar Apr 27 '25 20:04 andig