Closed DanielB0nd closed 1 year ago
Thanks for that.
did you manage to get PV1 and 2 on the total for the day? I am having the same issue.
this is the code I used for it
sensor:
- name: power_solar_total_today
unique_id: "power_solar_total_today"
state: "{{ states('sensor.be04070***_generated_energy_today') |int(0) + states('sensor.be04070***_generated_energy_today') |int(0) }}"
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
this would work, https://pastebin.com/2Xnxq8qU, using the PV1 Generated and PV2 generated from two inverters
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
I had a look at the MQTT data to try to confirm this and these are my findings, This is the energy generated by pv1
This is what the supposibly combined generation is for pv1 and pv2
And this is what pv2 generated
As seen in the data taken from MQTT epv1today is 53 which is converted to 5.3kWh by the sensors added also stored in mqtt. However there is also pvenergytoday which matches pv1 at 53. epv2today is 28 (2.8kWh) so pvenergytoday should in theory be 81 (8.1kWh)
I dont know if this is an issue with GROTT as a whole or just the HA addon, so if I am misunderstanding something, or this is better suited to be posted on the GROTT page let me know and I will make an appropriate post on that page.
I am using the following version: Home Assistant 2023.7.3 Supervisor 2023.07.1 Operating System 10.3 Grott edge edge-5353307094 Growatt Shine LAN-X Home assistant is also running as a VM (incase this matters)