Integration Steca coolcept (5503 +4803) + smart meter Schneider i3255

74 views
Skip to first unread message

Talkredius329

unread,
Jul 10, 2017, 6:45:11 AM7/10/17
to WebSolarLog
Hi,

abstract :
I managed to integrate Steca coolcept inverter into websolarlog.
Because the lack of documentation (yet) I did it mostly by try and error and following the Diehl-ethernet implementation.
So it might be that my changes might not be very efficient (performance), especially with the Schneider smart meter
I also made some changes to the C02 tree calculation etc., because I like it this way, e.g. Solar energy supplied to the grid produces "compensated trees"
Because of this many changes it might be difficult to supply a diff-patch. If someone wants to use my  changes I'm happy to provide the complete source code.


Details :

Steca Coolcept :

The inverter has a web interface, most data are available via xml, only the yield data are only available via the web interface
I used the xml for  better performance, only the yield data (cumulated kWh value for the actual day) is extracted from the web interface
possible issue : If the web interface is changed via FW updated it might not work any more


Schneider smart meter i3255 :

This smart meter has a Modbus RS485  interface. I'm using OpenPLC (http://www.openplcproject.com/) on a Raspi 3 to read the data from the device.
Openplc is Modbusmaster on the RS485 side and Modbusslave on the TCP (ethernet) side.
I retrieve the data from the Raspi with a separate php Modbus package via Modbus TCP.
II'm showing the data about exported/imported energy  on the right side of the weather api (updated every 5 minutes) and
the power of all 3 phases in the Live section.

known issues :
Because I have no idea about the internal structure of websolarlog I might have implemented too many,unnecessary Modbus TCP via php calls => performance issues

Ideas for improvement :
I'm running in parallel a daemon pvserver (https://pvbrowser.de/pvbrowser/index.php) as SCADA system on the same PC.
The pvserver puts the Modbus TCP data into shared memory, a php-package for accessing shared memory exists, so it might be a performance improvement to read the data directly from shared memory,

Finally :

Thanks for providing websolarlog, I like it very much.




Reply all
Reply to author
Forward
0 new messages