! EDIT 15 May 2023!
This topic was opened 5 years ago and except in very particular circumstances is not useful anymore so I wanted to close it but can’t find a way to do that on the forum.
On the subject of integrating Victron equipment with HA here is a short summary for those ending up here:
-
Use the VRM API as explained in this thread
When? If your Victron installation is remote and it’s only connection to the “world” is via VRM -
Use MQTT as explained in many threads and specifically here
When? If you’re familiar with MQTT and envision the use of, for instance, Red-Node, for logic programming and automations -
Use modbusTCP either using DYI config or using the excellent HACS integration from @sfstar you can find here
When? If you’re familiar with modbus and like to keep it simple
After having used all 3 methods I am now and for the foreseeable future using modbus because I have other modbus integrations in my HA such as for instance swimming pool filters/clorinator, Fronius inverter, etc. which reduces the number of integration and keeps it simple. But this is a purely personal choice, feel free to test and try and break and share your experiences.
If you want Victron’s opinion please read this post by Matthys Vader on the subject. you can find the complete thread here
Original thread:
I have a Victron set-up in an off-grid solar pumping irrigation system with battery monitor BMV and VRM Victron Remote Management connection via a Color Control GX.
With this set-up, I have access to solar panels and battery data via the Victron VRM Portal. And using VRM API VRM API documentation? I have managed to access the data I want with POST and GET commands using Postman (I have little programming experience).
What I want to do now is to get this data (for instance, battery state of charge) into Home Assistant (I’m using hassio on a Raspberry PI) and use it to automate alarms (e.g. send message when state of charge drops below X) and actions (e.g. turn-off load when battery state of charge drops below X).
What do I need to do this? Any help or advice most welcome.