Interface with the Victron Energy VRM API
This node makes it easy to use the VRM API for data retrieval. Though not all possible API calls have been implemented, it can be used for retrieving and creating alarms and fetching installations statistics. It can also be used to retrieve the solar forecast data.
In order to allow the node to query your site, an access-token needs to be created and filled out in the configuration node.
- payload (
string|number|json) - the trigger to query the VRM API
- payload (
json) : the VRM answer
The output of the answer depends on the selected configuration. See the VRM API documentation in case you need assistance with interpreting the output.
- Name (
string) : The name of the node
- VRM (
config) : The configuration node
- VRM site id (
number) : The site to query. Note that this is the multi-digit number you see in the url of your vrm-site like this:
- Installation (
string) : The query type
- Verbose (
boolean) : Show the used url in the debug tab?
In case of installation
stats there appear some extra configuration options
- Attribute (
string) : Which attribute to fetch
- Interval (
string) : Time between retrieved data points
- Start (
integer) : Timestamp from which to fetch data
- End (
integer) : Timestamp to which to fetch data
There are several examples included in the package. In order to use them, import them via the victron-vrm-api examples dropdown on the Import nodes page (accessible via the menu or by pressing ctrl-i).
Please use either the issues on the GitHub site or the Node-RED space on our community for questions, troubleshooting and suggestions.