uploader18 said:Hi!
Thank you for all your answers but let me be more specific. Since i have PIP5048 that gives me only voltage and current for solar and no data in W or Wh. This make all calculations (for me) a little bit complicated since i do not know how to tell grafana to calculate daily power production from those two variables.
As for CRC16 it is strange that inverter accepts command that i want to set from SBU to grid but not the other way around. I can set solar charging current but not solar+grid charging current.
Regards iga
SELECT sum("solar_input_voltage_1" * "solar_input_current_1") / 360 FROM "mpi_query_general_status" WHERE $timeFilter
uploader18 said:This is my formula for now that works lets say correct for me....
SELECT (((mean("pv_input_voltage_1") *mean(pv_input_current_for_battery))/count(ac_output_active_power))*count(ac_output_active_power)) FROM "pip_query_general_status" WHERE $timeFilter GROUP BY time(1h)
Please do not laugh but it works......
I get data from inverter every 3 s.
SELECT (mean("pv_input_voltage_1") *mean(pv_input_current_for_battery)) FROM "pip_query_general_status" WHERE $timeFilter GROUP BY time(1h)
uploader18 said:Hi!
Thank you for all your answers but let me be more specific. Since i have PIP5048 that gives me only voltage and current for solar and no data in W or Wh. This make all calculations (for me) a little bit complicated since i do not know how to tell grafana to calculate daily power production from those two variables.
As for CRC16 it is strange that inverter accepts command that i want to set from SBU to grid but not the other way around. I can set solar charging current but not solar+grid charging current.
FrnanduMarti?ski said:uploader18 said:Hi!
Thank you for all your answers but let me be more specific. Since i have PIP5048 that gives me only voltage and current for solar and no data in W or Wh. This make all calculations (for me) a little bit complicated since i do not know how to tell grafana to calculate daily power production from those two variables.
As for CRC16 it is strange that inverter accepts command that i want to set from SBU to grid but not the other way around. I can set solar charging current but not solar+grid charging current.
Beware that when setting between SBU and other source priority the PIP as a 10min buffer interval before it will switch back to SBU.
I also have the PIP5048 and I added the PIP commands for these settings in solar-sis, and they should work quite nicely.
Using PIP reported voltage*current for calculating Wh will not be very precise.
I use a few SDM120s instead (for house and grid Wh measurements) which are much more reliable.
Only for solar (from the PCM60x) I use the method of reported voltage*current and summing it up in influx queries.
Here how it looks:
This is using my tesla app powerflow imitation code, you can try it at https://github.com/frnandu/diypowerflow
Check out more details of my build at: https://secondlifestorage.com/showthread.php?tid=1061
Michael said:Hi, why do I nothave pip_query_general_status as an option?
jesusangel said:Michael said:Hi, why do I nothave pip_query_general_status as an option?
Hi, why do I nothave pip_query_general_status as an option?
If you don't have it is because the table doesn't exists, if it doesn't exist you never run the script to insert data in that table or the table where you insert data have another name.
daromer said:You need to enable the status to be sent to influx. The script for pip4048 is called solar_pip and need to be enabled and started.
Enabling it is done in https://github.com/opengd/solar-sis/blob/master/example/PIP4084/session.json or in https://github.com/opengd/solar-sis/blob/master/example/PIP4084/calls.json
depending on how its setup. So best is to set influx true on both.
daromer said:Im testing a new ISO with new versions but hit a snag. WatchmonUDPListener eats up all ram and crashes the machine. Relates to NodeJS not working as it should. Currently looking into how to solve it so if you have upgraded and have this issue just let me know.
Hope to be able to solve it soon since its anoying to reboot the device every 24 hours