I have installed WeeWX in the last few weeks and have come to know and appreciate the software.
But now i would like to add the solar yield of my pv system to the weewx database as well. Unfortunately, I have not found any suitable database fields for this. Do I have to adapt the database schema for this? Is there possibly already a ready-made solution for this?
Thanks
Since I
only want to display a few PV data, I decided to use the two database fields
"signal1" and "signal2" as storage location for the output
data of my two inverters.
In
principle, this also works, but I do not receive totalized yield data. This
means that at the end of the day, I can display the history, but not the daily
output.
Another issue is the subsequent import of the stored data into the WeeWX database. I wanted, to have the year 2022 complete, to transfer the data saved as csv to the WeeWX database afterwards using wee_import.
I have prepared the csv accordingly and assigned "signal1" and "signal2" to the group group_energy in the units.py file. If I start the import with the parameter "--dry-run" everything is fine. Without "--dry-run" the process also runs without errors, but the data is not included in the database due to a UNIQUE problem.
However, I would like to add the PV values to the respective existing data record and not create a new data record. Is there no way to keep the existing record and only save the additional values?
I am very
thankful for any tip
Since I only want to display a few PV data, I decided to use the two database fields "signal1" and "signal2" as storage location for the output data of my two inverters.
In principle, this also works, but I do not receive totalized yield data. This means that at the end of the day, I can display the history, but not the daily output.
Another issue is the subsequent import of the stored data into the WeeWX database. I wanted, to have the year 2022 complete, to transfer the data saved as csv to the WeeWX database afterwards using wee_import.
I have prepared the csv accordingly and assigned "signal1" and "signal2" to the group group_energy in the units.py file. If I start the import with the parameter "--dry-run" everything is fine. Without "--dry-run" the process also runs without errors, but the data is not included in the database due to a UNIQUE problem.
However, I would like to add the PV values to the respective existing data record and not create a new data record. Is there no way to keep the existing record and only save the additional values?
I am very thankful for any tip