Replies: 5 comments 1 reply
-
@Skjal My first response would be to have 2 scripts running in different directories (one for each inverter) and for the second directory you do modifications, e.g. the python script to get the second inverter. In solis2 directory you change the following:
Modify From:
into:
Let me know if this approach works for you. Maybe I can have the inverter index configurable in the future, so at least you do not have to modify the soliscloud_to_pvoutput.py script. But of course, I need to be sure the above is working, so I can also add this information to the README. |
Beta Was this translation helpful? Give feedback.
-
Hi. Got it working following your guide. The only thing that i needed to change was this "modify soliscloud_to_pvoutput.py to get the second inverter (line 168, change the 0 into 1)" My inverters was under the same system so got an error while trying to change this line but I changed line 173 instead to this "inverter_info = json.loads(content)["data"]["page"]["records"][1]" and then it worked. :) hope this makes sense to you, if not I will try to explain better next time. |
Beta Was this translation helpful? Give feedback.
-
@Skjal You are right, I did mention and copied the wrong line, it must be indeed line 173:
You do not need to donate to PVOutput, just make 2 PVOutput accounts (you need 2 email addresses). The second account you also configure the API key and for solis2 you configure the second PVOutput account as target. And as posted earlier, if you also want the combined data of the two inverters, use a third PVOutput account (yet another email address) and use my python tool CombinePVOutputSystems. I will make the inverter index configurable and will update the README.md to incorporate this information mentioned in this discussion. |
Beta Was this translation helpful? Give feedback.
-
I published a new release R1.11.0 |
Beta Was this translation helpful? Give feedback.
-
Thanks, will check it out. Seems like I skipped the part where you explained about pvoutput. That's the reason that I thought you needed to donate to make this work. Anyway lesson learned. :). Next year when my donation runs out I will implement your solution for pvoutput but until then I will make use of my donation. :) |
Beta Was this translation helpful? Give feedback.
-
Hi.
just got it up and running but I see in the description that you need to adjust the code if you have more than 1 inverter. I currently have 2 inverters and would like to get this working with both but not very good at scripting/coding so just wanted to ask if you can help me getting this sorted out. Thanks for sharing your code by the way.
Beta Was this translation helpful? Give feedback.
All reactions