Retrieve price information from VRM API in Node-Red

I just started with Node-Red and I’m trying to create a flow based on the price information used by DESS. I found an article that explains how to extract the DESS configuration, including the price schedules from the VRM API node:

https://communityarchive.victronenergy.com/articles/293324/node-red-vrm-api-and-dynamic-ess-1.html

I can retrieve the info using API type “Installations” with “Get Dynamic ESS configuration”, but the price schedules in the resulting object are empty:

buyPriceSchedule: null
sellPriceSchedule: null

What am I missing?

I finally figured it out myself. Apparently, the VRM API changed in the meantime. You should use Installation stats instead of Get Dynamic ESS configuration now. So use the following properties for the VRM API node:

API type: Installations
Installation: Installation stats
Attribute: Dynamic ESS
Interval: hours
Start: now
End: now

The results will be delivered in the following arrays:

deBc[]: battery cost
deGs[]: sell price
deGb[]: buy price