Can someone please help me figure out how to set up this card with my system?
These are the sensors I’m pulling into HA:
PV Current Generation: sensor.sunsynk_solar_pv1_power
Battery Output (positive) and Charge (Negative): sensor.sunsynk_battery_output_power
Battery SOC: sensor.sunsynk_battery_soc
Current Grid Import (export disabled): sensor.sunsynk_grid_ct
House consumption would be the below two combined:
Non-essential Load: sensor.sunsynk_grid_load
Essential Load (UPS): sensor.sunsynk_grid_inverter_load
Got this setup and working alright. It looks as it should in the web interface.
However the card does not show in lovelace on the android app.
It only shows as a blank spot.
In the iOS app it’s sometimes not rendered correctly. If I pull from top the whole page refreshes and it works normal again. Can’t you do something like that on Android?
Awesome card by the way, well done
Small issue with the alignment of the house to EV line where it is not quite centered and the correct height and I guess the line from the PV going down and from the Batery going up are also not centered.
That’s in Chrome.
Ok. So I started a new job and probably this card will only seldom see new features @alexdelprete unless other people join in. But you are right, I would also like to have more appliances, but maybe next year I can add them. @MJPVDH I have the impression that you are trying to use negativa values, so import and export can be both positive and negative. This won’t work with my card, you have to create separate sensors for negative and positive since they mean different things.
As you will find in the docs you need to define the flows. So from what I see at least:
grid_to_house:
generation_to_house:
generation_to_grid:
And if you have a battery a few more. Have you gone through the readme?
So your templates should calculate the flows I defined above. So grid_to_house might be just importing. But the solar production will be calculated as a sum of generation_to_house and generation_to_grid and house consumption will be a sum of grid_to_house and generation_to_house. This sum is going to be done by the card. You have to provide each flow.
Yeah, this is because the first rendering does sometimes not get a width for the card. I’m thinking of at some point doing the whole animation just as a few css steps and a css based animation not with svgs. But I haven’t found the time and it will be a while.
From your screenshot taken while importing from the grid I would say that each card in itself is consistent, it’s just that the two cards are not in sync, correct?
When you observe the underlying sensor values for each of the cards, are the cards at least in sync with those sensor values?