Skip to content

gbbsoft/GbbConnect

Repository files navigation

GbbConnect

Program to connect inverters (eg: Deye) and program GbbVictronWeb.gbbsoft.pl.

To connect with inverters program uses SolarmanV5 protocol. (Loggers serial numers: 17xxxxxxx, 21xxxxxxx or 40xxxxxxx) (maybe also: 27xxxxxxx, 23xxxxxxx)

To connect with GbbVictronWeb program uses Mqtt server and own protocol (see Wiki).

GbbConnect remarks:

  • Data on disk are grouped using number in column "No". So if you want start new inverter with new data then put new No.

Download

Last version download: GbbConnect.msi setup.exe

Connection to inverter

if first connection failed than program tries to connect every 5 minutes.

Program connects to inverter every 1 minute and downloads statistic.

Connection to mqtt

If first connection to mqtt failed then program tries to connect every 5 minutes.

Program every minute sends keepalive messave to mqtt. If connected has been lost then every minute program tries to reconect.

Setup in GbbVictronWeb

Manual how setup GbbConnect with Deye and GbbVictronWeb: Manual

History

v1.2.2 - BUG: Linux version didn't send statistic to GbbVictronWeb

v1.2 - Deye: Disconnect from grid if Price<0 (option)

v1.1 - move configuration files (eg. Parameters.xml) to \GbbConnect\ directory

v1.0 - start version

GbbConnectConsole

Program on console.

Download

Last version download: GbbConnectConsole.zip

Parameters

-? - list of parameters

--dont-wait-for-key - don't wait for key, but just wait forever

Docker

Program GbbConnectConsole can be run in docker. File Dockerfile is present in root directory.

Configuration file

You can use GbbConnect program to create (and test) configuration file (My Documents\Gbb Connect\Parameters.xml). Then file can be move as /root/GbbConnect/Parameters.xml on docker container.

How to run on Docker

  • Install docker (or DockerDesktop)
  • Clone GbbConnect: Git clone https://github.com/gbbsoft/GbbConnect
  • run from GbbConnect directory: docker build . -t gbbconnectimage
  • create container: docker container create -i -t --name gbbconnectconsole gbbconnectimage
  • copy Parameters.xml: docker cp ./Parameters.xml gbbconnectconsole:/root/GbbConnect/Parameters.xml
  • start container: docker start gbbconnectconsole
  • make container always running: docker update --restart unless-stopped gbbconnect

Sample Parameters.xml file

<?xml version="1.0" encoding="utf-8"?>
<Parameters Version="1" GbbVictronWeb_Mqtt_Address="gbboptimizer2.gbbsoft.pl" GbbVictronWeb_Mqtt_Port="8883" Server_AutoStart="1" IsVerboseLog="1" IsDriverLog="0" IsDriverLog2="0">
  <Plant Version="1" Number="1" Name="MyPlant" InverterNumber="0" IsDisabled="0" AddressIP="<Deye dongle ip address>" PortNo="8899" SerialNumber=<Deye dongle SN>" PriceLess0_DisconnectGrid="1" GbbVictronWeb_UserEmail="<your email>" GbbVictronWeb_PlantId="<your PlantId>" GbbVictronWeb_PlantToken="<Your Token>" />
</Parameters>
  • InverterNumber=0 -> Deye 3 phases
  • InverterNumber=1 -> Deye 1 phase

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages