# Help with connecting to Victron VRM Api

**URL:** <https://community.homey.app/t/help-with-connecting-to-victron-vrm-api/144177>\
**Category:** Developers\
**Created:** [October 16, 2025, 9:03am UTC](https://community.homey.app/t/help-with-connecting-to-victron-vrm-api/144177 "2025-10-16T09:03:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![widameista](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/widameista/32/23333_2.png) [@widameista](https://community.homey.app/u/widameista)\
**Post date:** [October 16, 2025, 9:03am UTC](https://community.homey.app/t/help-with-connecting-to-victron-vrm-api/144177/1 "2025-10-16T09:03:43Z")

</div>

i would like to achieve the follwing:

Connect to the Victron VRM API ([Link](https://vrm-api-docs.victronenergy.com/#/operations/auth/login)) with username and password and then read e.g. the Battery State in % ([Link](https://vrm-api-docs.victronenergy.com/#/operations/installations/idSite/widgets/BatterySummary))

At the end i would like to use this battery state in a homey variable.  
Can someone assist a non programmer ?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 16, 2025, 9:21am UTC](https://community.homey.app/t/help-with-connecting-to-victron-vrm-api/144177/2 "2025-10-16T09:21:19Z")

</div>

You don’t want to use the Victron app?

---

<div class="post-metadata">

**Author:** ![widameista](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/widameista/32/23333_2.png) [@widameista](https://community.homey.app/u/widameista)\
**Post date:** [October 16, 2025, 9:37am UTC](https://community.homey.app/t/help-with-connecting-to-victron-vrm-api/144177/3 "2025-10-16T09:37:42Z")

</div>

the victron VRM App only shows PV values and the Victron App needs connect to a cerbo GX via IP, which i dont have ☹  
But shure i could ask in the VRM APP channel to add additional Values. Good idea!

---

<div class="post-metadata">

**Author:** ![widameista](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/widameista/32/23333_2.png) [@widameista](https://community.homey.app/u/widameista)\
**Post date:** [October 17, 2025, 6:42pm UTC](https://community.homey.app/t/help-with-connecting-to-victron-vrm-api/144177/4 "2025-10-17T18:42:43Z")

</div>

I managed it myself 🙂

with postman i gathered my bearer token from the VRM Portal.

Then i used Logik Http Get with the token in the header and with better logic i formatted the json into a variable

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d2a5640747079608eadffaa35eda4776720a45a0.png)

Update: as the token does not last forever, added a step to receive a new token

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/6/66984156f3d9acba6789bd6db6784927641ae197.png)
