-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working with Huawei FusionSolar #95
Comments
Any clue, please? |
Read the configuration from the tesla powerwall setup. Sure the variable names are different but you should be good with those. Otherwise search on the ha community website for someone that already did this or something similar. |
FusionSolar flow chart is different from this one as it has no direct lines between entities. They have intermediate units like meter and inverter and you must define individual lines from node to node. So to replicate it you must somehow define your own rules. All of this is a lot more complicated with batteries. I will post you my current configuration and templates... they may give wrong values in some situations as I am still monitoring and tweaking it. Sensors (note that you need to substitute
Card configuration:
(Hope I paste it correctly) |
maybe something wrong in sensor.grid_to_battery?
i've a inverter 5ktl + luna2000 huawey, so: |
yes, it's the one that I don't have and I destroyed my test env so I'm flying blind |
Well that was the testing version I had at that moment... home consumption and total consumption there are probably messed up. As I said when I posted it there is no direct translation from data obtained from inverter to the flows used in the card so you have to make your own rules. That sensor assumes that if you are not charging from PV and grid at the same time as the only charge in my case is done by a few W to keep the SOC at 15-16%... if you force the charge from grid that may not be true and you should figure out how to take that into account. If you manage to get a more realistic version please post it... I can post my current version... however it does have the same code for grid_to_battery |
Just copied it without formatting nor checking but this is what I am using right now, as I said a more precise version of grid_to_battery will be helpful for all of us.
|
many thanks 4 your code, but I've not any better solution, I don't use charge to/from grid (jus deleted 2 sensors from lovelace).
|
I've been trying for several days but still without results, I can't get the "tesla" card to work. I don't understand how to set the sensors, yet for the graph below I managed to make it work, but for this card I just can't ..... |
I did not any major modification from the configuration posted in this post. It is a template based on my sensor names, You should verify that you have the same names or adapt them in your configuration. Also to check what is going on I suggest you to create a card showing the values for the different flows (grid_to_battery, generation_to_grid, etc..) so you can locate which one used in the flow card is giving you wrong results, for example with an entity card like the following (as allways you should check your own sensor names and adapt the configuration to use them):
|
Hi there, Below you can see the code that I'm using:
Thanks |
Hello, I have made some changes in generation_to_grid and generation_to_house and it works correctly for me.
Lovelace Card:
|
Hi
Thank you so much for the help.
They are now working correctly.
Unfortunately I’m still having problems with house consumption sensor (shows as “Not Available”).
Do you have any suggestion?
|
Dear @Brusta37, Check that you have these sensors in home assistant, and if they have different names, change it in the template code. Best regards, |
Hi David, |
Hello,
As per the one of the last post I don't really have issue, I simply love the card and I'd like to replicate the app readings, FusionSolar, in HA.
In HA the integration mainly utilizes the following entities:
Home Usage (Load):
Power Imported from Grid:
PV Input Power:
Batteries charge/discharge readings are coming from sensor.storage_charge_discharge_power, this come directly from the integration. When value is positive the battery is charged by the PV system or from the external grid, when negative it feeds the Home Usage (Load).
How can I setup the card in order to properly distribute all the power flows? Thanks.
The text was updated successfully, but these errors were encountered: