# \[APP\]\[Pro\] Victron Energy

**URL:** <https://community.homey.app/t/app-pro-victron-energy/46219>\
**Category:** Apps\
**Tags:** app, homey-pro, pv-solar\
**Created:** [April 13, 2021, 10:10pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219 "2021-04-13T22:10:34Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![JosB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/josb/32/47675_2.png) [@JosB](https://community.homey.app/u/JosB)\
**Post date:** [February 26, 2023, 9:53pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219/42 "2023-02-26T21:53:55Z")

</div>

Thank you for your quick reply 👍🏼.

Keep us posted on the progress. No hurry here, as you have said, it’s only for scheduled charging. Can manage with the features on hand in the app so far.

---

<div class="post-metadata">

**Author:** ![LecramR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lecramr/32/48316_2.png) [@LecramR](https://community.homey.app/u/LecramR)\
**Post date:** [March 18, 2023, 2:56pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219/43 "2023-03-18T14:56:38Z")

</div>

SOLVED after rebooting the GX Cerbo

The app is great, thank you, but now, Homey cannot find the GX on port 502 anymore. The IP address is right. Homey recognized the GX a few days ago, but now, it says could nt connect to host … on port 502.  
Modbus TCP has enabled.

What is going wrong?

 ![Schermafbeelding 2023-03-18 155622](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/5/d5183e49c4c07f37f175a21b84117fea1534ea0c.jpeg)

---

<div class="post-metadata">

**Author:** ![xray001](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/xray001/32/72257_2.png) [@xray001](https://community.homey.app/u/xray001)\
**Post date:** [March 24, 2023, 7:22pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219/44 "2023-03-24T19:22:07Z")

</div>

Hi at all,

I am struggeling with the connection of my cerbo GX to Homey.  
I activated Modbus - ok  
I know the IP and also the port - ok  
I know the number for the batterie - ok  
But I do not have a number for VE

I connectet my MPPT and my shunt with VE direct.

I cant find a number in services and get the message :  
Connected successfully to GX device xxxxxx but com.victronenergy.vebus Unit ID 224 is invalid.  
I tried the 224 because it is my mppt where the battery is connected.

I hope I could explain my challenge and hope the sombode can help me.  
I only need the SOC of the battery for my Homey Flows 😉

regards  
Marcel

---

<div class="post-metadata">

**Author:** ![Richard\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richard_b/32/16805_2.png) [@Richard\_B](https://community.homey.app/u/Richard_B)\
**Post date:** [March 26, 2023, 7:26pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219/45 "2023-03-26T19:26:20Z")

</div>

> [@xray001](#):
>
> But I do not have a number for VE

Maybe I’m not following the entire problem, but you tried following the instructions in the [first post](https://community.homey.app/t/app-pro-victron-energy/46219#need-to-know-before-adding-a-gx-device-to-your-homey-4) of this thread? To find the Unit IDs.

---

<div class="post-metadata">

**Author:** ![xray001](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/xray001/32/72257_2.png) [@xray001](https://community.homey.app/u/xray001)\
**Post date:** [April 4, 2023, 2:18pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219/47 "2023-04-04T14:18:45Z")

</div>

Hello Richard,  
I already deleted my post where I tried to explain what I meant.  
I will use your App within the next days also with a Victron inverter.  
Then I will have the com.victronenergy.vebus ID. ;-).  
Sometimes its better to change the system than changing the software :-D.  
best regards  
Marcel

---

<div class="post-metadata">

**Author:** ![LecramR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lecramr/32/48316_2.png) [@LecramR](https://community.homey.app/u/LecramR)\
**Post date:** [April 24, 2023, 7:47pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219/48 "2023-04-24T19:47:49Z")

</div>

The Victron app has frozen and will not update the data anymore. I tried everything:  
restart Homey in the app and by turning off the the power for 30 secs  
rebooted the Cerbo  
Rebooted the network  
restart the Victron app  
all several times. Its shows data, but all old data.  
What else can I do to unfreeze the app?

---

<div class="post-metadata">

**Author:** ![Richard\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richard_b/32/16805_2.png) [@Richard\_B](https://community.homey.app/u/Richard_B)\
**Post date:** [April 25, 2023, 6:15pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219/49 "2023-04-25T18:15:04Z")

</div>

> [@LecramR](#):
>
> The Victron app has frozen and will not update the data anymore.

It should work as long as the Cerbo keeps the same IP and doesn’t rely on DHCP.  
Slim chance, but you can trigger a diag report manually that will be sent to me.  
You can check for the last API error on the device’s settings and paste it here.  
Otherwise, you can install the app via Homey CLI and see what is printed as the error.

---

<div class="post-metadata">

**Author:** ![LecramR](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lecramr/32/48316_2.png) [@LecramR](https://community.homey.app/u/LecramR)\
**Post date:** [April 28, 2023, 9:29am UTC](https://community.homey.app/t/app-pro-victron-energy/46219/50 "2023-04-28T09:29:15Z")

</div>

The Cerbo has a static address. I reinstalled the device on Homey and now it works for a few days. I also reinstalled the firmware on the Cerbo as I also had some issues with Node Red. Node Red works fine now and hopefully, it resolved the Homey issue as well.

---

<div class="post-metadata">

**Author:** ![KajLehtinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kajlehtinen/32/42837_2.png) [@KajLehtinen](https://community.homey.app/u/KajLehtinen)\
**Post date:** [May 15, 2023, 5:42am UTC](https://community.homey.app/t/app-pro-victron-energy/46219/51 "2023-05-15T05:42:56Z")

</div>

Hi @Richard_B,

Would it be possible to get the ModBus register 2636 available as a variable and if possible if it can be calculated per 24h period also as an ‘AND’ trigger ?

The usecase is that I want to sell some % of my battery/solar capacity and thus need to be able to track outgoing (Total Energy to net) energy regardless if it comes from battery or directly from PV.

/Kaj

---

<div class="post-metadata">

**Author:** ![Daniel\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_s/32/24881_2.png) [@Daniel\_S](https://community.homey.app/u/Daniel_S)\
**Post date:** [May 27, 2023, 9:54am UTC](https://community.homey.app/t/app-pro-victron-energy/46219/52 "2023-05-27T09:54:25Z")

</div>

Hi @Richard_B! Thanks for great app. I have new 3f Victron plant and wondering if you could add Power for each phase. Since I have Multiplus 3000 with max. 2,4kW load I want to restrict power devices when some heavy ones are turned on. Eg. turn off miscrowave socket when the kettle power is more than 1W. Since I want to set it for each phase, I do not have the values in Homey now. Many thanks

---

<div class="post-metadata">

**Author:** ![Richard\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richard_b/32/16805_2.png) [@Richard\_B](https://community.homey.app/u/Richard_B)\
**Post date:** [June 9, 2023, 8:35am UTC](https://community.homey.app/t/app-pro-victron-energy/46219/53 "2023-06-09T08:35:21Z")

</div>

> [@KajLehtinen](#):
>
> Would it be possible to get the ModBus register 2636

> [@Daniel\_S](#):
>
> add Power for each phase

By coincidence both these requests involves the addition of the `com.victronenergy.grid` service. I assume as normal this could have any Unit id so we would need a new configuration for that similar as for vebus and battery. I just did some maintenance of the code, will have a look at possibility to add this as well.

---

<div class="post-metadata">

**Author:** ![Richard\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richard_b/32/16805_2.png) [@Richard\_B](https://community.homey.app/u/Richard_B)\
**Post date:** [June 10, 2023, 5:17pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219/54 "2023-06-10T17:17:23Z")

</div>

Test version 1.1.1 is out.

- Grid lifetime import and export are added as capabilities. Requires the config of a grid unit id.
- Grid power for all three phases are added as flow tokens. I didn’t add them as capabilities so you won’t see them on the device. But they are available as flow tokens in all flows.
- Replaced SSH password with SSH private key. Please note that this is a breaking change, plain password is no longer supported.
- Some general code improvements

---

<div class="post-metadata">

**Author:** ![Daniel\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_s/32/24881_2.png) [@Daniel\_S](https://community.homey.app/u/Daniel_S)\
**Post date:** [June 21, 2023, 7:48am UTC](https://community.homey.app/t/app-pro-victron-energy/46219/55 "2023-06-21T07:48:20Z")

</div>

> [@Richard\_B](#):
>
> ome general code improvements

Hi Richard, many thanks for the improvement and including 3f power. However in some of WHEN cards I can not see/click the options. Maybe its not connected to your app. Example:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/e/5e1d3172763fc644f9abf83831c4b2d4bca595ae.png)

---

<div class="post-metadata">

**Author:** ![Richard\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richard_b/32/16805_2.png) [@Richard\_B](https://community.homey.app/u/Richard_B)\
**Post date:** [June 22, 2023, 7:28am UTC](https://community.homey.app/t/app-pro-victron-energy/46219/56 "2023-06-22T07:28:16Z")

</div>

> [@Daniel\_S](#):
>
> However in some of WHEN cards I can not see/click the options.

I guess related to me overriding the built in `meter_power` capability. Then you need to expose the logic manually. Will have a look.

The release is now pushed to all users, ie live.  
If you have used the ssh password, you need to change to ssh key instead. A short how-to at the end of the first post of this thread.

---

<div class="post-metadata">

**Author:** ![Daniel\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_s/32/24881_2.png) [@Daniel\_S](https://community.homey.app/u/Daniel_S)\
**Post date:** [June 22, 2023, 9:29am UTC](https://community.homey.app/t/app-pro-victron-energy/46219/57 "2023-06-22T09:29:35Z")

</div>

> [@Richard\_B](#):
>
> e first post of this t

Thanks I found the phase power value in the logic. Now I realize I was not precise in my request. You have implemented AC Input values and I was meaning AC Loads 🙂 In summer I usually run unplugged to grid as island and I want to automate according to AC Loads on each phase. Thanks a lot.

---

<div class="post-metadata">

**Author:** ![KajLehtinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kajlehtinen/32/42837_2.png) [@KajLehtinen](https://community.homey.app/u/KajLehtinen)\
**Post date:** [June 25, 2023, 8:00am UTC](https://community.homey.app/t/app-pro-victron-energy/46219/58 "2023-06-25T08:00:33Z")

</div>

Hi @Richard_B

When trying to edit the Advanced Settings of the GX device in the app I get a crash “TypeError: Cannot read property ‘toString’ of undefined”

So cant set the Grid unitID and hence I guess its why I get 0 on the variables for grid total export.

Also the when rule for Export in the Swedish translation says “När xxxx” while the Import says “Nät xxxx”- I guess its a type on the export …

/Kaj

---

<div class="post-metadata">

**Author:** ![Richard\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richard_b/32/16805_2.png) [@Richard\_B](https://community.homey.app/u/Richard_B)\
**Post date:** [July 4, 2023, 7:51pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219/59 "2023-07-04T19:51:20Z")

</div>

> [@Daniel\_S](#):
>
> You have implemented AC Input values and I was meaning AC Loads

Switched to loads/consumption

> [@KajLehtinen](#):
>
> “TypeError: Cannot read property ‘toString’ of undefined”

This one is strange, I don’t get it on my HP19 or my HP23. However, removed the suspected place where toString was used.

> [@KajLehtinen](#):
>
> Swedish translation says “När xxxx”

Fixed 👍

---

<div class="post-metadata">

**Author:** ![Glenn\_Seegers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/glenn_seegers/32/8353_2.png) [@Glenn\_Seegers](https://community.homey.app/u/Glenn_Seegers)\
**Post date:** [July 10, 2023, 1:46pm UTC](https://community.homey.app/t/app-pro-victron-energy/46219/60 "2023-07-10T13:46:37Z")

</div>

Am i missing something or am i going blind😇 I cannot find the com.victronenergy.vebus, looked everywhere. I have a cerbo gx. Firmware version 3.0.

 ![IMG_3395](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/8/1851de50ec0897ccf3c9dd8ca7978add17628658.jpeg)

---

<div class="post-metadata">

**Author:** ![KajLehtinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kajlehtinen/32/42837_2.png) [@KajLehtinen](https://community.homey.app/u/KajLehtinen)\
**Post date:** [July 13, 2023, 6:58am UTC](https://community.homey.app/t/app-pro-victron-energy/46219/61 "2023-07-13T06:58:40Z")

</div>

@Richard_B

Unfortunately with 1.1.2 same error in regards to toString & undefined.

/Kaj

---

<div class="post-metadata">

**Author:** ![Richard\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richard_b/32/16805_2.png) [@Richard\_B](https://community.homey.app/u/Richard_B)\
**Post date:** [July 13, 2023, 7:38am UTC](https://community.homey.app/t/app-pro-victron-energy/46219/62 "2023-07-13T07:38:43Z")

</div>

Traveling on vacation, on my mobile, so no way to test stuff now.

> [@Glenn\_Seegers](#):
>
> I cannot find the com.victronenergy.vebus

Maybe someone more knowledgeable in Victron understands?

About toString error. Can you check if you get the same in the web client? Dont recall if 1.1.2 was the latest, released one more version with a few more changes.

[Previous page](https://community.homey.app/t/app-pro-victron-energy/46219.md?page=2)

[Next page](https://community.homey.app/t/app-pro-victron-energy/46219.md?page=4)
