jwillemsen / saj_collector Goto Github PK
View Code? Open in Web Editor NEWPull stats from SAJ Solar Inverter and push them to PVOutput
Home Page: https://www.remedy.nl
License: MIT License
Pull stats from SAJ Solar Inverter and push them to PVOutput
Home Page: https://www.remedy.nl
License: MIT License
pvoutput made a change that addbatchoutput
has been deprecated and replaced by addoutput
but batching is only possible in donation mode, see https://forum.pvoutput.org/t/changes-in-addbatchoutput-jsp-related-to-donation-mode/4461 and https://pvoutput.org/help/api_specification.html#add-output-service
Hi there,
I just noticed on pvoutput.org that somewhere early 2019 it no longer logs temperature. It would be around the time I migrated to a new version on my Pi (saj_collector-0.5.2 -> saj_collector-0.5.8).
To be fair; I haven't downgraded to see what happens.
The inverter's website is still displaying temperature; the XML also contains it.
Anything I can do to help troubleshoot?
Or did the pvoutput.org API change? (I'm a donator, since I also log consumption)
Model: SAJ Sununo Plus 2K
real_time_data.xml:
<real_time_data>
<state>Normal</state>
<Vac_l1>240.7</Vac_l1>
<Vac_l2>-</Vac_l2>
<Vac_l3>-</Vac_l3>
<Iac_l1>4.03</Iac_l1>
<Iac_l2>-</Iac_l2>
<Iac_l3>-</Iac_l3>
<Freq1>49.99</Freq1>
<Freq2>-</Freq2>
<Freq3>-</Freq3>
<pac1>958</pac1>
<pac2>-</pac2>
<pac3>-</pac3>
<p-ac>958</p-ac>
<temp>39.0</temp>
<e-today>1.14</e-today>
<t-today>2.7</t-today>
<e-total>6513.80</e-total>
<CO2>6494.26</CO2>
<t-total>11548.1</t-total>
<v-pv1>244.5</v-pv1>
<v-pv2>0.0</v-pv2>
<v-pv3>-</v-pv3>
<v-bus>373.0</v-bus>
<maxPower>1006</maxPower>
<i-pv11>4.14</i-pv11>
<i-pv12>-</i-pv12>
<i-pv13>-</i-pv13>
<i-pv14>-</i-pv14>
<i-pv21>-</i-pv21>
<i-pv22>-</i-pv22>
<i-pv23>-</i-pv23>
<i-pv24>-</i-pv24>
<i-pv31>-</i-pv31>
<i-pv32>-</i-pv32>
<i-pv33>-</i-pv33>
<i-pv34>-</i-pv34>
</real_time_data>
saj_collector/exe/saj_collector
Line 56 in 8b76b21
<real_time_data>
<state>Normal</state>
<Vac_l1>230.7</Vac_l1>
<Vac_l2>231.3</Vac_l2>
<Vac_l3>229.9</Vac_l3>
<Iac_l1>0.30</Iac_l1>
<Iac_l2>0.32</Iac_l2>
<Iac_l3>0.33</Iac_l3>
<Freq1>49.96</Freq1>
<Freq2>49.97</Freq2>
<Freq3>49.97</Freq3>
<pac1>28</pac1>
<pac2>27</pac2>
<pac3>33</pac3>
<p-ac>85</p-ac>
<temp>29.8</temp>
<e-today>1.15</e-today>
<t-today>5.5</t-today>
<e-total>9211.77</e-total>
<CO2>9184.13</CO2>
<t-total>4819.1</t-total>
<v-pv1>565.8</v-pv1>
<i-pv1>0.19</i-pv1>
<v-pv2>553.4</v-pv2>
<i-pv2>0.23</i-pv2>
<v-bus>620.0</v-bus>
<maxPower>627</maxPower>
</real_time_data>
Just had a new PV system installed last week. saj_collector did its job wonderfully, first time!
Only issue is when there are connectivity issues (flaky Powerline), I lose some stats, ah well.
However, saj_output_collector appears to be using generation stats off by factor 10?
$ cd /etc && ruby /usr/local/bin/saj_output_collector
Number of days until now for this month 26
...
Energy generated 20171225: 4800 WH
Energy generated 20171226: 13500 WH
Actuals -> see attachment
pvoutput system_id: 29573
Inverter info:
Model: | Sununo Plus 2K
Grid Compliance: | C10_11
Maste Control Firmware Ver: | V1.050
Slave Control Firmware Ver: | V1.050
Display Board Firmware Ver: | V1.125
Ethernet Module Firmware Ver: | V1.018
Would be a good thing to have some unit tests which validate that a certain SAJ input xml results in the expected calls to pvoutput, the tests within the pvoutput gem could help with this
Dear Johnny,
I have a SAJ 3KM solar inverter.
I have noticed you have this interesting project to connect to the inverter. I wonder how you connect to the inverter. I only have an RS232 module. Did you buy an extra ethernet or wifi module to connect ? I am puzzled to figure out the right RS232 parameters.
Could you give me some more details ?
Thanks !
Paul
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.