PatrikTrestik / homeassistant-solax-http

Home assistant integration for SolaX EV Charger HTTP API
Apache License 2.0
21 stars 1 forks source link

Problem with sensor "available_pv_power" #24

Closed chreggy closed 6 months ago

chreggy commented 6 months ago

Hello,

I'm testing your plugin with my Solax EVC X1 and I have a sensor with, I think, wrong values.

image

Is it my Solax Boost X1 sending this ?

Thanks.

PatrikTrestik commented 6 months ago

Is your inverter connected with EVC correctly and Green function is working?

This sensor is based on what inverter sends to charger. It does not look like real values because you probably do not have 20kW of PV power installed, or you do?

If you have CT for measurement, I'm not sure how, and if, this works. Never tested this.

chreggy commented 6 months ago

My EVC is connected with my Inverter. Green mode is working and CT is connected to the inverter.

Green mode is not perfect and many times I have a lot of solar energy available but EVC charge is stopped.

PatrikTrestik commented 6 months ago

It seams your setup is correct and Available PV power should work.

Value of sensor is reflecting what Invertor sends to EVC. If I simplyfy it "AvailPV=PV - HouseLoad". EVC expects that ChargePower is included in HouseLoad. Check it it is true for you.

I suggest following observation. Watch realtime data (last 30 min).

chreggy commented 6 months ago

I have a digital meter in my electrical panel which gives me this information in real time. The AvailablePower curve is similar to the one I already have. So I wonder if there isn't a formula problem somewhere.

If this indicator does not reflect a problem in the operation of the solar charger, I personally have no use for it.

PatrikTrestik commented 6 months ago

If it corresponds to your measurement, than it is ok. Sensor is doing no calculation, it reflects exactly what Inverter sends to EVC. EVC uses this value for Green mode.

Formula I give you is simplified. In reality Inverter takes in account battery charging and export power limitation. Exact working is not documented.

Let me know if I can close this issue as "No issue" or if you see any problem in this sensor.

chreggy commented 6 months ago

My GREEN mode is not working as it could be. If you say that this sensor is important for EVC, i'm in contact with SOLAX support to investigate. Grid Power sensor is OK but Grid Current is not OK.

Just to test, I changed "export control value" and the sensor is more accurate but not totally true.

Thank you. I gave you a coffee ;o)

PatrikTrestik commented 6 months ago

If your Green mode is not working, investigate it first. HA sensors are only showing what EVC gets from Inverter. Green mode has to work completely without HA.

If you say Grid Power sensor is OK, you mean one from Inverter integration? What is "export control value" ? Can you post screenshot.

chreggy commented 6 months ago

Grid Power is the value reported by EVC Plugin.

image

This value is OK from the inverter but like you can see, available PV power and gris current not.

Export control value is a setting in the inverter to limit exported power to grid. If I modify this value from the default 20000 to 0 (no export), the curve of "Availability PV Power" si a little more comprehensive.

image

Solax on monday have updated inverter and EVC with the latest firmware but the GREEN mode is not working better.

PatrikTrestik commented 6 months ago

Are you sure that your CT is correctly oriented? And positioned on correct place?

From value you are showing it is saying that consumption in your house is 28kW which is most probably nonsense.

Go to SolaX cloud app or web and carefully check all values if all makes sense and reflects reality.

chreggy commented 6 months ago

I think this is OK ? I really don't know what's this wrong value...

I tried this morning to invert CT but the arrows are inverted too.

image

image

PatrikTrestik commented 6 months ago

Few ideas. 1) Check your charger setting. It should be set to source from Inverter. image 2) Check inverter setting. It has to be set to EV Charger mode. image 3) Graph you show has PV Power=AC Power it is not real. In reality AC power is only compensating remaining load. For example at 13:00 you have PV (5k)-EVC(3,6k)-House(1k)=+0,4k (should go to grid as AC (-0,4k) but you have AC +5k.

chreggy commented 6 months ago

Hello,

Thank you for the settings, they are the same for me. Solax support transfered my ticket to dev team.

PatrikTrestik commented 6 months ago

Let me know if you think that it is error in your setup and I can close this issue.

PatrikTrestik commented 6 months ago

I'm closing this as installation problem, not a bug. Feel free to comment if you still see errors in integration.

chreggy commented 6 months ago

Hello.

Solax answered me that my installation is OK. They said that the problem is on the solar inverter firmware with CT and EVC. They will send me a numeric module like SDM230 to solve the problem. I will give you the result of that.