dirkjanfaber / victron-vrm-api

Interface with the Victron Energy VRM API
MIT License
11 stars 5 forks source link

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.

VRM API flow

In order to allow the node to query your site, an access-token needs to be created and filled out in the configuration node.

Inputs

Outputs

The output of the answer depends on the selected configuration. See the VRM API documentation in case you need assistance with interpreting the output.

Configuration

There are currently 4 API types to choose from:

Depending on the API type, more or less extra fields appear.

In case of installation stats there appear some extra configuration options

In case of installation `dess`` there are even more configuration options.

VRM API edit panel

Note that instead of filling out the number of the VRM site id for installations and widgets in the box, you can also use context variables, e.g. {{flow.siteId}} or {{global.vrmId}}. This allows to query the site that has been set in this context field. Of course you need to make sure that context contains a valid VRM site id first.

Examples

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).

References

Please use either the issues on the GitHub site or the Node-RED space on our community for questions, troubleshooting and suggestions.