marstek-venus-rs485-node-red icon indicating copy to clipboard operation
marstek-venus-rs485-node-red copied to clipboard

Zonneplan: no price data on DST transition day

Open MarckNL opened this issue 8 months ago • 1 comments

Hi, today (March 29, DST transition day in the Netherlands) my Dynamic strategy stopped showing price data. After some debugging I found the following error from CEH:

1 error: 47 datapoints (47.0 hours) in selection, where 48 (48.0 hours) are expected

This makes sense — on the day clocks move forward, Zonneplan only provides 47 hours of forecast data instead of the usual 48.

I was wondering: would it be possible to use source_settings='zonneplan' in the CEH call instead of the manual keys (sensor, attr_all, value_key)? From my testing it seems CEH handles the DST edge case automatically when using source_settings.

Or is there another recommended way to handle this? It will probably fix itself tomorrow when 48 hours of data are available again, but it would be nice to have a robust solution for the twice-yearly DST transitions.

Thanks for the great project!

MarckNL avatar Mar 29 '26 19:03 MarckNL

Resolved in https://github.com/gitcodebob/marstek-venus-rs485-node-red/releases/tag/v4.6.3

gitcodebob avatar Apr 07 '26 21:04 gitcodebob