Closed BigManDave closed 2 years ago
@BigManDave If it's any use for you too, I added a couple of template sensors to get the real time PV total and the daily PV total;
platform: template sensors: pv_total_daily: friendly_name: "Daily sum of PV1 + PV2" value_template: "{{ states('sensor.daily_pv1_sum') | float + states('sensor.daily_pv2_sum') | float }}" unit_of_measurement: "kWh"
platform: template sensors: pv_total: friendly_name: "Sum of PV1 + PV2" value_template: "{{ states('sensor.foxess_pv1_power') | float + states('sensor.foxess_pv2_power') | float }}" unit_of_measurement: "kW"
These would be analagous to sensor.foxess_solar and sensor.foxess_solar_power respectively.
@Daibutt @BigManDave awesome work 💪 I'm going to close this issue but wondering if you wold like to document your awesome work around energy generation per string as a wiki article - after closing this issue it will be hard to reach here, i think what you did is valuable for the other users 🤓
@macxq Yes no problem putting some stuff in a Wiki. I've never created a Github Wiki before. Looking at the instructions I don't seem to have the option to add a new page;
@Daibutt I have added you as a collaborator you can add wiki pages tight now ;)
@macxq Thanks. I have had a go at creating my first Wiki page! The formatting was a bit of a nightmare, but I got something in there! Appreaciate any feedback. @BigManDave, any feedback from you very welcome too.
Thank you 🙇♂️ i have fixed the formatting a bit ;)
:) Thank you! I couldn't work out how to format the yaml code correctly !
Hi @macxq When you get 5 minutes could you update the readme with current entities please? It doesnt include the solar, solar_power, PV1, PV2 etc ones
Thanks ;)
@Daibutt yes I will do this! thx for bringing this up ;)
@Daibutt doc updated - feel free to add comments to PR https://github.com/macxq/foxess-ha/pull/16
Looks good @macxq :)
One very minor thing I spotted, nothing to do with this update. Is this a typo here;
Good Morning,
Thanks for the work you've put in so far. I was wondering what are the chances on being able to get more info out of this integration? My configuration is solar and battery with force charge and export to grid. So I'd be hoping to get things like Production (kwh), Battery charge (kwh), battery discharge (kwh), grid usage (kwh), grid export (kwh), energy draw (kwh), battery SoC (%), I think.
I'm not a developer but I've had a poke around the API and can see that there are a lot of variables available. The list can be seen using GET https://www.foxesscloud.com/c/v1/device/variables?deviceID=[xxxxx]. However I can only see that these are usable with a POST and a date range. I think there's a limit on how many can be in each POST too.
Would love to hear your feedback. Thanks in advance.