Solarity is an enterprise involved in Photovoltaic systems. The IT department works on various projects basically to get informations from PV associated devices, show its status and do required jobs to maintain the plants. The technologies used are mostly debian linux, eiffel, python, postgresql and angular.
As responsible for IT department I'd like to share the maximum of code I can so that I contribute to this big concept of knowledge sharing through humanity.
I recommend for ethical purpose to use sourceforge repository more than github since github belongs to microsoft I personnaly don't agree with many ethical choices.
Sorry for inconsistencies and things that need some more time to be as good as I would like to be.
as tested on a raspberry pi 3B+ with raspbian 9 and 10, linux commands are put here for reference and quick installation
git@github.com:sunspec/pysunspec.git
git@github.com:jebeaudet/SunriseSunsetCalculator.git
`sudo apt-get install python-pygments python-pip python-pymodbus python3-pip python3-serial
sudo pip3 install serial requests click pymodbus prompt_toolkit`
This project is under LGPLv2.1, see LICENCE file
In case pip3 install fails sudo pip3 install --upgrade setuptools helped me
You'll find samples into the sample directory
Tested on ABB device PVS 100 and TRIO 50, documentation into doc/ABB directory and example into sunspec_device.py file, also working on SMA inverter_manager
respectivly
* /sma/inverter_manager.py
* /sma/sunny_tripower_60.py
* /sma/janitza_UMG604.py
respectivly
* /sma/cluster_controller.py
* /sma/cluster_controller_inverter.py note that the inverters have to be configured each one with its slave_address. Most reliable way is to edit the plant xml file