Video:
Demo
You can familiarize yourself with the functionality of the program without connecting to your own equipment.
In demo mode, the program will show the real-time operation of my own solar station.
For this you need:
- Download the client program dSolar for Windows or Linux or Android
- Run the program
Dashboard
Architecture
The real-time solar monitoring system is built on the basis of client-server technology.
dSolard server program operates on a Raspbery or Linux x86_64 microcomputer and communicates with the equipment
by receiving and storing sensor data every seconds, and also responds to requests from dSolar client programs
that process and visualize data. The dSolar client program runs on Windows and Android.
Number of dSolar client programs that can be connected to one server dSolard is not limited.
All of them will receive data from the server in asynchronous mode.
That is, immediately as soon as the data arrives from the equipment sensors.
Equipment
The dSolard server processes data from the following equipment:
The equipment is connected to the Raspberry using specialized cables with a built-in inverter
interfaces rs485 to USB (for Deye/SunSynk and Epever), VE.Direct to USB (for Victron SmartShunt).
Connection of the RS485->USB cable to the Deye/Sunsynk inverter:
Pinout of RS485->USB cable for Deye/Sunsync:
Server installation
The dSolard and dSolar programs do not require any additional configuration
operating systems on which they function.
Step-by-step instruction for install dSolard on Raspberry PI or Debian:
For run in command-line mode
- Install Raspberry Pi OS (64-bit)
from Raspberry OS download or
Debian OS from Debian OS download
- Connect to Raspberry or Debian in console mode
- Run the following commands in sequence:
$ mkdir dSolar
$ mkdir dSolar/server
$ cd dSolar/server
$ wget http://doro.poltava.ua/dsolar/dSolard.zip (for Raspberry) or
$ wget http://doro.poltava.ua/dsolar/dSolardlin.zip (for Linux x86_64)
$ unzip dSolard.zip
- The application is ready to run. start server in console mode:
$ ./dSolard
For run in service mode
- Follow up the procedures described for installation in command-line mode
- Edit file etc/dsolard for replace all path starting with /home/doro to your path ( For example: /home/me )
- Run the following commands in sequence:
$ sudo cp etc/dsolard /etc/init.d
$ sudo ln -s /etc/init.d/dsolard /etc/rc3.d/S99dsolard
$ sudo ln -s /etc/init.d/dsolard /etc/rc5.d/S99dsolard
$ sudo ln -s /etc/init.d/dsolard /etc/rc0.d/K01dsolard
$ sudo ln -s /etc/init.d/dsolard /etc/rc6.d/K01dsolard
- It may be necessary to add your user to the dialout group if device files /dev/ttyUSB* are not accessible:
$ usermod -a -G dialout me
- Service is ready to run. start server in service mode:
$ sudo /etc/init.d/dsolard start
- If you need to stop the server, please execute the command:
$ sudo /etc/init.d/dsolard stop
Server upgrade
Step-by-step instruction for upgrade dSolard on Raspberry PI or Debian:
- Connect to Raspberry or Debian in console mode
- Stop dSolard server:
$ sudo /etc/init.d/dsolard stop
- Run the following commands in sequence:
$ cd dSolar/server
$ wget http://doro.poltava.ua/dsolar/dSolard.zip (for Raspberry) or
$ wget http://doro.poltava.ua/dsolar/dSolardlin.zip (for Linux x86_64)
$ unzip dSolard.zip
- The application is ready to run. Start server in console mode:
$ ./dSolard
or service mode:
$ sudo /etc/init.d/dsolard start
Raspberry or mini-PC
Recently, there has been a significant shortage of Raspberry computers. For my own use, I switched to a mini-PC.
Bought here: Beelink Mini S
I am satisfied with the computer.
|
Mini-PC as dSolard server |
|
Configuration
After starting the client program for the first time, you must specify the IP address of the Raspberry server in the settings:
The equipment configuration is allowed only when the server is running in configuration mode:
$ ./dSolard configure
And add your equipment:
When changing equipment communication data ("Port" or "MODBUS Address") or adding new equipment - it is necessary
restart the dSolard server.
After completing the equipment configuration, it is necessary to start dSolard server in
normal mode (without attribute "configure"):
Run in console mode:
$ ./dSolard
or run in service mode:
$ sudo /etc/init.d/dsolard start
Solar panel indicator
If the indicator is used on the main instrument panel where they are displayed
generalized data on all generating equipment. Otherwise, data on specific equipment is displayed.
Indicators of the indicator (from top to bottom):
- Maximum power for the current day
- Instantaneous power value
- Percentage of the instantaneous power value relative to the nominal value (set during equipment configuration)
- Energy generated during the current day
Battery indicator
If the indicator is used on the main instrument panel, they are displayed
generalized data on batteries. Otherwise, data on specific equipment is displayed.
Indicators of the indicator (from left to right, top to bottom):
- Battery state: Charge(Ch), Discharge(Di), Float(Fl), Absorption(Ab)
- Maximum charging current for the current day
- Maximum discharge current for the current day
- Maximum charge capacity for the current day
- Maximum discharge capacity for the current day
- Battery charge in percent
- Battery voltage
- Instantaneous charge/discharge power value
- Instantaneous charge/discharge current value
- Percentage of power from maximum
- Total charge energy for the current day
- Total discharge energy for the current day
- Remaining charge/discharge time
- Energy in ampere-hours until fully charged
Load indicator
If the indicator is used on the main instrument panel, they are displayed
generalized load data. Otherwise, data on specific equipment is displayed.
Indicators of the indicator (from left to right, top to bottom):
- Maximum load capacity for the current day
- Instantaneous load power value
- Percentage of power from maximum
- Total energy consumed by the load for the current day
Grid indicator
If the indicator is used on the main instrument panel, they are displayed
data over the public grid.
Indicators of the indicator (from left to right, top to bottom):
- Frequency of alternating current of the grid
- Maximum power consumption for the current day
- Maximum export capacity for the current day
- Off Grid - signals the physical disconnection of the grid from the inverters
- Instantaneous values of power, voltage and percentage of instantaneous power from equipment power
- Total energy consumption for the current day
- Total energy exported for the current day
Transducer indicator
Indicator is used on the main instrument panel where they are displayed
data from the sensors of the transducer.
Temperature indicator sliders have dynamic initial and final temperature values, which are, respectively, the minimum
and the maximum temperature value for the current day.
Indicators of the indicator (from left to right, top to bottom):
- AC frequency of the transducer
- Transducer voltage
- Transducer efficiency(useful energy ÷ all energy) and the power lost during invertion
- Current temperature value of the DC transformer
- Current radiator temperature value
- The transducer's own energy consumption for the current day
PV dynamic data
When clicking on the Solar Panel Indicator opens the PV dynamic data window. This window presents the data in section
existing equipment (MPPT tracker). Textual, graphical, diagrammatic information is displayed dynamically with a second-by-second change based on the latest
sensor values. For graphs, you can specify the visualization of data for the last minute, the last ten minutes, or the last hour.
PV historical data
Clicking on the icon located in the lower right corner of the solar panel indicator opens a
window of historical PV data. Histogram of energy and graphs by sensors.
Historical data on equipment sensors is available for any day. Graphs can be scaled to the seconds interval.
Battery dynamic data
When clicking on the Battery Panel Indicator opens the Battery dynamic data window. This window presents the data in section
existing equipment (Inverter). Textual, graphical, diagrammatic information is displayed dynamically with a second-by-second change based on the latest
sensor values. For graphs, you can specify the visualization of data for the last minute, the last ten minutes, or the last hour.
Battery historical data
Clicking on the icon located in the lower right corner of the Battery Panel Indicator opens a
window of historical Battery data. Histogram of energy and graphs by sensors.
The energy diagram is supplemented by two graphs:
- "Δ Delta" - the difference between charge and discharge energy
- "Σ Summation" - the amount of energy from the beginning of the day/month, year
Historical data on equipment sensors is available for any day. Graphs can be scaled to the seconds interval.
Server message
The program informs about server communication problems with the equipment by showing the server message icon on the dashboard.
Clicking on the icon takes you to the window with list of all existing server messages.
Also, this list is available from the main menu.
Viewing the full text of the server message is also available.
Four channel relay block
I use the first channel of the relay block to dump the excess energy to heat the water.
And uses the second channel of relay block for disconnects the grid when it is not needed.
Consider the rules for turning on and off the water heating relay:
Water heating is turned on if:
Battery current exceeds 115 ampers or battery SOC exceeds 98 percents and battery current is greater -40 ampers.
Water heating is turned off if:
Battery current less than 70 ampers and battery SOC less than 97.5 percents or battery current less than -75 ampers.
Manual relay control is also possible:
The current state of the relay is displayed on the dashboard:
The list of relay events for the last 7 days:
I am using dtwonder four channel relay block.
Bought here: DTWONDER 1,2,4,8,16,32 relay block
|
dtwonder Relay |
|
Privacy Policy
All programs presented on this site do not collect, transmit or use any personal information in any way.
Download ver 1.1.0
The program is in the stage of filling and development, but the functions that are presented
in any of the versions are considered working and complete, which does not exclude their progress!
Client Program:
Server Program:
ChangeLog |
ver 1.1.0 (01.06.2023)
ver 1.0.0 (09.05.2023)
ver 0.0.5 (13.04.2023)
- Sensor portrait orientation of the screen
- Message from the server
- Optimization of statistical requests to the database
- Assembling the dSolar server for Linux x86_64 architecture
ver 0.0.4 (27.03.2023)
- Added German interface language selection (thanks Michael Killermann)
- Optimization of statistical queries to the database
- Added to the converter indicator the energy consumed by the equipment for the current day
- Bug Fix
ver 0.0.3 (23.03.2023)
- Converter indicator
- Network indicator
- Dashboard complete
ver 0.0.2 (15.03.2023)
- Histogram of energy PV from solar panels
- Battery indicator
- Consumption indicator
- Client version for Android
ver 0.0.1 (28.02.2023)
- General settings window
- List of equipment. Adding, removing, editing equipment.
- Receiving, storing, analyzing data from equipment sensors (Deye/Sunsync) related to the generation of solar panels.
- Solar panel indicator.
- Visualization window of detailed dynamic information in a section of specific equipment (MPPT tracker)
|
|