Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.
/ solar-controller Public archive

web front-backend for watching status of tracer solar controller and inverter

Notifications You must be signed in to change notification settings

tost11/solar-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solar-controller

Solar Moitoring for solarcontroller e.g tracer
View current status of Solar Power life in browser via websockets
Backend stors data in mongodb and calculates day, month and year view
Client(e.g raspberrypi) reads out solar-controller and sends them to server

Example: solar.tost-soft.de

dependencies

java open-jdk 11 or later, python3, react

setup

To install the application check out the docker folder. To run the Server just execute these three scripts...

./build_backend.sh
./build_frontend.sh
docker-compose up -d

To acces the application configure the port and availability (localhost) in the docker-compose.yml or/and add a reverse proxy to the expost port.

For the client run the checkData.sh script from the client folder. For more Infomation read the client section.

config parameters

parameter function default value
client.auth-token endpoint token for pushing solar data token
input.delay delay of checking solardata on client in seconds 10
view.min-battery-voltage min voltage on battery graph 10
view.max-battery-voltage max voltage on battery graph 15
view.max-load-voltage max voltage on solar input graph 70
view.max-load-ampere max ampere on solar input graph 20
view.max-load-watt max watt on solar input graph 350
view.max-consumer-voltage max voltage on load graph 15
view.max-consumer-ampere max ampere on load graph 10
view.max-consumer-watt max watt on load graph 75
view.max-year-watt-hours max watt on year graph 2000
view.max-year-consumed-watt-hours max load watt on year graph 200

client

The client uses python and modbus to read out the status of the solar-controller and sends the inforamation to the server (spring boot aplication). As hardware i use a raspberrypi with an RS485 Adapter us adapter.As software an installation of python3 and pymodbus is nessesary. Also you habe to change the url and token declared in post-data.py in the first lines. Most of the python code comes from here. There are even more scripts for reading statistic-data and so on.

inverter

Also there is a script to read out an EPEver inverter.

Tested on IPower Series (IP1500-21). It doese not use the pymodbus library like the other script because the protocol doese not match the standart modbus function codes as i can see. But it seems to be a read registers on function code 67 on address 12552 (x3108) on unit 3. the result contains 22 byte of data

images

About

web front-backend for watching status of tracer solar controller and inverter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published