evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Solax Hybrid-Inverter (Cloud) cannot correctly read Cloud API

Open de-Techneut opened this issue 2 weeks ago • 1 comments

Describe the bug

I have a Solax X1 Boost Air Mini, when I try to set it up with the Hybrid Inverter Cloud option I get an error.

When I check the Cloud API link it generates the following output:

{
  "success": true,
  "exception": "Query success!",
  "result": {
    "inverterSN": "XXXXXXXXX",
    "sn": "XXXXXXXX",
    "acpower": 1340,
    "yieldtoday": 3.3,
    "yieldtotal": 17461.6,
    "feedinpower": 0,
    "feedinenergy": 0,
    "consumeenergy": 0,
    "feedinpowerM2": 0,
    "soc": 0,
    "peps1": 0,
    "peps2": 0,
    "peps3": 0,
    "inverterType": "4",
    "inverterStatus": null,
    "uploadTime": "2025-12-13 14:06:57",
    "batPower": 0,
    "powerdc1": 1434,
    "powerdc2": 0,
    "powerdc3": null,
    "powerdc4": null,
    "batStatus": "0",
    "utcDateTime": "2025-12-13T06:06:57Z"
  },
  "code": 0
}

Reading the log file it says invalid syntax. I dont know why it is gerating this issue? Is there something wrong with the api output?

Steps to reproduce

  1. Setup Config
  2. Start container
  3. Read log ...

Configuration details

- name: my_pv
    type: template
    template: solax-hybrid-cloud
    usage: pv
    tokenid: XXXXXXXX
    serial: XXXXXXXXXX

Log details

[site ] ERROR 2025/12/13 14:27:47 2025-12-13 14:27:40.076542276 +0100 CET m=+610.793611739 !! 73ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:40.172895108 +0100 CET m=+610.889964609 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:40.212796363 +0100 CET m=+610.929865854 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:40.271709292 +0100 CET m=+610.988778763 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:40.322718712 +0100 CET m=+611.039788189 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:40.434460756 +0100 CET m=+611.151530273 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:40.63928661 +0100 CET m=+611.356356107 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:40.866009865 +0100 CET m=+611.583079364 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:41.117935407 +0100 CET m=+611.835004904 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:41.402981164 +0100 CET m=+612.120050638 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:42.431672163 +0100 CET m=+613.148741654 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:43.167116175 +0100 CET m=+613.884185662 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:45.371033902 +0100 CET m=+616.088103389 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax 2025-12-13 14:27:47.795808124 +0100 CET m=+618.512877620 !! 0ms add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax
[site ] ERROR 2025/12/13 14:27:47 pv 1 power: add[0]: strconv.ParseFloat: parsing "<nil>": invalid syntax

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

Docker container

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.211.1

de-Techneut avatar Dec 13 '25 13:12 de-Techneut

Template doesn‘t match api response.

andig avatar Dec 13 '25 14:12 andig