Hi,
I’m looking for some architecture guidance on integrating components:
Two PV inverters (Omnik)
Smartmeter (P1)
PVoutput
OH2
OH2 is running on a RPi3. DSMR binding is used to get P1 data in.
I have a script to get the PV data into OH2
A separate script updates PVoutput.org with PV data.
P1 data is not updated to PVoutput.org
Issues:
4 scripts and a binding to get the data updated in OH and PVoutput
I cannot have two processes updating OH and PVoutput.org using the same USB port on RPi.
Error prone & difficult to maintain.
Possible solutions:
Drop local updates to OH2. Update P1 and PV data to PVoutput only and update OH through http.
+Fairly simple to implement, PVoutput update scripts are existing, item update through http seems simple enough
-some data is lost, PVoutput cannot hold all data
-dependency on PVoutput (and donations as I have two inverters)
-still need for 3 scripts
Update to OH only, have OH update PVoutput with consolidated data
+Nice architecture
+No external dependencies
+local data processing
+no PVoutput donations needed as we’re working with consolidated data
-develop omnikPV update process
-develop PVoutput update process
I’d like to have your thoughts and suggestions on the subject.
Thanks