Blue Power
https://www.victronenergy.com/
App Store Page
https://homey.app/a/com.victronenergy
Description
Monitor and control your Victron system equipped with a GX device.
ESS Mode 2 is what is currently supported.
The app relies on the Modbus TCP API of the GX Devices.
I have a Cerbo GX, usually with the latest firmware version, and this is what the app is tested with.
Need to know before adding a GX Device to your Homey
- You need to know the IP number and port of your GX Device. Port is 502 by default.
- Your Homey needs to be able to connect to your GX Device via the network
- You need to enable Modbus TCP in your GX Device
By default, Modbus-TCP is disabled. To enable it, go into the settings menu, scroll down to āServicesā, and then enable the Modbus-TCP service.
- The different device types use different UnitIdās to read and write information. All Connectivity from the Victron Homey app is to your GX device, never directly to any other device (e.g. EV Charger). The add device view will show the UnitId you need to find by displaying something similar to
com.victronenergy.vebus,com.victronenergy.battery, orcom.victronenergy.grid
To see a list of available devices, and their Address, go to Settings ā Services ā Modbus/TCP ā Available services
Victron GX device type
Actions
-
Set switch position
Allows you to turn off or on the system, or charger vs inverter only.Modbus info
UnitId: com.victronenergy.vebus
Address: 33 -
Update grid setpoint (W)
A positive value means import from the grid, a negative value export to the grid. Default is 30W.Modbus info
UnitId: com.victronenergy.system
Address: 2700 -
Limit inverter power (W)
Maximum power in Watt that the Multi will feed to the loads.
(docs says -1 sets it back to unlimited, I donāt get this to work.)Modbus info
UnitId: com.victronenergy.system
Address: 2704 -
Limit charger current (A)
Only works when DVCC is turned on.- -1: No limit.
Solar Chargers and the Multi will charge to their full capacity or individual configured limits. - Any positive number: Maximum combined current in Ampere for battery charging. This limits the solar chargers and the multi, and takes loads into account. Solar chargers take priority over the Multi.
Modbus info
UnitId: com.victronenergy.system
Address: 2705 - -1: No limit.
-
Limit grid feed-in power
Maximum power in Watt to feed into the grid.
(docs says -1 sets it back to unlimited, I donāt get this to work.)Modbus info
UnitId: com.victronenergy.system
Address: 2706 -
Update minimum SoC (%)
Minimum state of charge in %, unless grid fails.Modbus info
UnitId: com.victronenergy.system
Address: 2901 -
Switch relay 1 on/off
Turn relay 1 on your GX device on or offModbus info
UnitId: com.victronenergy.system
Address: 806 -
Switch relay 2 on/off
Turn relay 2 on your GX device on or offModbus info
UnitId: com.victronenergy.system
Address: 807 -
Create charging schedule
Create any charging schedule, 1-5. Requires the config of ssh user and private key. -
Enable charging schedule
Enable any charging schedule, 1-5. Requires the config of ssh user and private key. -
Disable charging schedule
Disable any charging schedule, 1-5. Requires the config of ssh user and private key.
Settings
-
Charge current control
By default turned off. SettingControl charge currenttoYesmeans the app will automatically control the max charge current depending on the state of charge of the ESS. Please adjust the charge amp per state of charge interval to suit your needs. -
SSH
There are lots of tutorials out there on how to generate a public and private key to use for ssh authentication.
On Mac OS I did the following.
ssh-keygen -t rsa
Donāt enter a pass phrase- Copy the content of the public file (*.pub) to the file
~/.ssh/authorized_keyson the GX device. Create the file if it doesnāt exist. - Test login from Mac using command
ssh -i ./id_rsa root@192.168.nnn.nnn.id_rsain this case being the private key file. Enter the correct IP address of your GX device. If the login is successful continue to the next step. - Update config of the GX device in Homey. Enter
rootas user and paste entire contents of the private key file into key field.
Disclaimer
Use this app at your own risk.
Please note that an ESS is pretty complex stuff and it is easy to get lost and forget you had a flow that did this or that. You need to pay attention to the actions you use and if your system for instance is configured to charge using max 40 amps, then you shouldnāt set that to 200 amps and hope for the best.
As usual, any feedback is welcome ![]()
