Zonneplan: no price data on DST transition day
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!
Resolved in https://github.com/gitcodebob/marstek-venus-rs485-node-red/releases/tag/v4.6.3