Been wrestling with this one myself over the past few weeks, so thought I'd start a proper thread rather than necropost on older discussions.
My setup is a Victron Multiplus-II with a Cerbo GX, and I've been trying to pull solar forecast data through the VRM API into Node-RED to do some smarter battery management decisions — particularly around pre-conditioning my Fogstar Drift cells before a high-demand morning.
The issue I keep hitting is the API connection just hanging indefinitely at the handshake stage. It's not a credentials problem — the token is valid and I can hit the endpoint fine via Postman. Something in the Node-RED HTTP request node seems to be fumbling the auth header formatting when polling VRM specifically.
A few things worth checking if you're seeing the same:
- Token format — VRM wants
Bearer <token>, and some node configs silently strip the prefix - SSL verification — disabling it temporarily can isolate whether it's a certificate chain issue
- Rate limiting — VRM API will quietly drop connections if you're hammering it; add a delay node between polls
- Portal ID — double-check it's pulling the correct installation ID, not defaulting to a cached value
I'm on Node-RED 3.1.x running on a local Pi 4, not the Cerbo's built-in instance, which adds another network hop that might be relevant.
Has anyone in a UK setup managed to get reliable solar forecast polling working through VRM? Particularly interested whether anyone's tied it into Octopus Agile tariff logic for smarter charge scheduling — that's the end goal here.
What are your experiences?