Add Elvia tariff: error due to change of clock
Hi, it seems the change of clock (summer to standard time) causes an error. The node does not handle the fact that there are 2 entries for 2 AM, throwing an error and not adding the grid tariff (i.e. Output (does not contain "powerPrice" and "gridTariff", only values received from Nordpool). I use those attributes in another flow which is way I stumbled upon it in the first place.
Error thrown by node: "Elvia tariff count mismatch. Expected 48 items, but got 49"
Output (does not contain "powerPrice" and "gridTariff", only values received from Nordpool):
{"priceData":[{"value":0.1909,"start":"2024-10-26T00:00:00+02:00"},{"value":0.1476,"start":"2024-10-26T01:00:00+02:00"},{"value":0.1133,"start":"2024-10-26T02:00:00+02:00"},{"value":0.1106,"start":"2024-10-26T03:00:00+02:00"},{"value":0.084,"start":"2024-10-26T04:00:00+02:00"},{"value":0.1433,"start":"2024-10-26T05:00:00+02:00"},{"value":0.2095,"start":"2024-10-26T06:00:00+02:00"},{"value":0.2864,"start":"2024-10-26T07:00:00+02:00"},{"value":0.3641,"start":"2024-10-26T08:00:00+02:00"},{"value":0.4139,"start":"2024-10-26T09:00:00+02:00"},{"value":0.4189,"start":"2024-10-26T10:00:00+02:00"},{"value":0.4191,"start":"2024-10-26T11:00:00+02:00"},{"value":0.422,"start":"2024-10-26T12:00:00+02:00"},{"value":0.4172,"start":"2024-10-26T13:00:00+02:00"},{"value":0.418,"start":"2024-10-26T14:00:00+02:00"},{"value":0.4192,"start":"2024-10-26T15:00:00+02:00"},{"value":0.3976,"start":"2024-10-26T16:00:00+02:00"},{"value":0.4148,"start":"2024-10-26T17:00:00+02:00"},{"value":0.4241,"start":"2024-10-26T18:00:00+02:00"},{"value":0.4174,"start":"2024-10-26T19:00:00+02:00"},{"value":0.3521,"start":"2024-10-26T20:00:00+02:00"},{"value":0.2878,"start":"2024-10-26T21:00:00+02:00"},{"value":0.1786,"start":"2024-10-26T22:00:00+02:00"},{"value":0.0692,"start":"2024-10-26T23:00:00+02:00"},{"value":0.0623,"start":"2024-10-27T00:00:00+02:00"},{"value":0.06,"start":"2024-10-27T01:00:00+02:00"},{"value":0.0149,"start":"2024-10-27T02:00:00+01:00"},{"value":0.0148,"start":"2024-10-27T03:00:00+01:00"},{"value":0.0148,"start":"2024-10-27T04:00:00+01:00"},{"value":0.0148,"start":"2024-10-27T05:00:00+01:00"},{"value":0.0148,"start":"2024-10-27T06:00:00+01:00"},{"value":0.0555,"start":"2024-10-27T07:00:00+01:00"},{"value":0.0659,"start":"2024-10-27T08:00:00+01:00"},{"value":0.0728,"start":"2024-10-27T09:00:00+01:00"},{"value":0.074,"start":"2024-10-27T10:00:00+01:00"},{"value":0.0731,"start":"2024-10-27T11:00:00+01:00"},{"value":0.0649,"start":"2024-10-27T12:00:00+01:00"},{"value":0.0662,"start":"2024-10-27T13:00:00+01:00"},{"value":0.0678,"start":"2024-10-27T14:00:00+01:00"},{"value":0.0668,"start":"2024-10-27T15:00:00+01:00"},{"value":0.0711,"start":"2024-10-27T16:00:00+01:00"},{"value":0.0884,"start":"2024-10-27T17:00:00+01:00"},{"value":0.1623,"start":"2024-10-27T18:00:00+01:00"},{"value":0.151,"start":"2024-10-27T19:00:00+01:00"},{"value":0.0993,"start":"2024-10-27T20:00:00+01:00"},{"value":0.0708,"start":"2024-10-27T21:00:00+01:00"},{"value":0.2616,"start":"2024-10-27T22:00:00+01:00"},{"value":0.2431,"start":"2024-10-27T23:00:00+01:00"}]}
Thank you
Could this be related to issue 178?
https://github.com/ottopaulsen/node-red-contrib-power-saver/issues/178
This may happen 1-2 times per year. I don't think I will spend time fixing it. Anyone else?