biddster / node-red-contrib-schedex

Scheduler for node-red which allows you to enter on/off times as 24hr clock (e.g. 01:10) or suncalc events (e.g. goldenHour). It also allows you to offset times and randomise the time within the offset.
22 stars 17 forks source link

offoffset not working in 1.6.4? #61

Closed bjoernbusch closed 4 years ago

bjoernbusch commented 4 years ago

I updated to 1.6.4 yesterday and now the offoffset parameter is not working anymore.

I have a simple schedex configured to turn off at dusk. I do some calculation in a function before the schedex and then send a offoffset to the schedex, which was working fine so far. I always sent it like this:

msg.payload = { offoffset: diff };

The diff is properly calculated, but the shown time doesn't change. Any hints on this what might have changed?

biddster commented 4 years ago

Regression in 1.6.3. Fixed in 1.6.5.

bjoernbusch commented 4 years ago

Awesome, thanks for the quick fix! Can confirm it works again.