Skip to content

Releases: jensrossbach/node-red-contrib-chronos

Release 1.22.0

14 Apr 12:48
Compare
Choose a tag to compare

Added

  • Added possibility to retrieve time for operators before, after, between and outside of time switch and time filter nodes separately from environment variables, context variables or message properties.
  • Extended format of time input from environment variables, context variables or message properties (not all formats are applicable in all areas):
    • Number as milliseconds elapsed since the UNIX epoch
    • Number as milliseconds elapsed since midnight if value is smaller than 86.400.000
    • String containing time in 12 or 24 hour format
    • String containing sun time
    • String containing moon time
    • String containing custom sun time
    • String containing date and time in region-specific format
    • String containing date and time in ISO 8601 format
    • String containing date and sun time
    • String containing date and moon time
    • String containing date and custom sun time
  • Added regional date/time formats to predefined formats in convertion rule of change node:
    • regional date and time
    • regional date only
    • regional time only

Changed

  • Moved predefined formats in convertion rule of change node one level down under new item "predefined format".
  • Changed look of expand/collapse buttons in time switch and time filter nodes to be more intuitive (including tooltip).
  • Minor improvements to the README file.

Fixed

  • Fixed a bug that prevents repetition to start when until time without explicitly specified date is supposed to be on the next day.

NPM SHA-Sum: 341407aa70266e1efc1e87d061c1f5968098120d

Release 1.21.0

24 Mar 16:02
Compare
Choose a tag to compare

Added

  • Added new state node maintaining a state whose value is changed at specific times under consideration of specific conditions.
  • Added support for triggering next upcoming event in scheduler node via input message.
  • Added possibility to retrieve schedule override from environment variable.
  • Added possibility to retrieve custom delay from environment variable.
  • Added possibility to retrieve custom repetition and until time from environment variable.
  • Added possibility to retrieve conditions from environment variables.
  • Added conversion to relative and calendar time strings to time change node.

Changed

  • Date/time functions now use the locale configured in Node-RED if present instead of OS locale (and the latter only as fallback).
  • Minor code refactoring in UI code of all nodes.
  • Updated versions of dependencies where possible.

Fixed

  • Fixed non-working "preserve control properties" setting in delay node.

NPM SHA-Sum: 7215a721f154f5606ad4f32adf1f8042bfd91310

Release 1.20.1

10 Feb 09:50
Compare
Choose a tag to compare

Removed

  • Removed dedicated changelog as all changes are already documented in the Releases section of the repository.

Changed

  • Changed behavior of the map display in the configuration UI so that the location is now also shown on the map if coordinates are taken from environment variables.

NPM SHA-Sum: 0e4a29b40a5f050e06c13283141dc72288e611ad

Release 1.20.0

03 Feb 11:51
Compare
Choose a tag to compare

Added

  • Added possibility to retrieve location coordinates (latitude and longitude) in configuration from environment variables.
  • Added possibility to specify basetimes for time switch/filter nodes from context variables or message properties as datetime strings additionally to Unix epoch timestamps.
  • Added dropdown menu to convert rule of time change node that allows to easily create ISO-8601 strings.
  • Added more properties accessible to JSONata expressions of scheduler node output configurations.

Changed

  • Changed icons for custom / user defined data from wrench to user symbol.
  • Updated versions of dependencies where possible.

Fixed

  • Fixed references to old default branch name.

NPM SHA-Sum: 8a54ceec0d60b427223883a69a134a0e727f9005

Release 1.19.1

28 Jan 09:55
Compare
Choose a tag to compare

Changed

  • Replaced usage of deprecated synchronous variant of RED.util.evaluateJSONataExpression by asynchronous variant as synchronous variant will not work anymore starting with Node-RED 4.0.

NPM SHA-Sum: e0fb82f2341b5d1b1f9c0e5c2219702bcde73acb

Release 1.19

01 Mar 18:57
Compare
Choose a tag to compare

Added

  • Added support for dynamic repetition data and until times from context variables in repeat node.
  • Added support for dynamic durations and until times from context variables in delay node.
  • Added button for auto detection of location to configuration node.

Fixed

  • Fixed status update with 'disabled' information when enabling schedules in scheduler node.
  • Optimized updating of scheduler node status to prevent multiple updates with the same status.

NPM SHA-Sum: 13ecad9fb91a6294a3064ecb2b19a3118a7c9bf0

Release 1.18.4

12 Dec 18:58
Compare
Choose a tag to compare

Fixed

  • Fixed custom sun angle being rounded to whole integer values when reopening configuration node settings UI.
  • Fixed width of custom sun angle input field.

NPM SHA-Sum: 5cc79ed32e5dabec290c958acb9008adacdf2ec8

Release 1.18.3

30 Oct 16:07
Compare
Choose a tag to compare

Changed

  • Updated versions of some development dependencies (used for unit testing).

Fixed

  • Fixed non-working time zone shift for sun/moon time calculation.
  • Listeners for flows-started events in scheduler node are now only registered if next event time option is activated and immediately unregistered upon receiving event.

NPM SHA-Sum: 65f6a724122f187c24fbe479108e67f3c311ab29

Release 1.18.2

25 Sep 13:11
Compare
Choose a tag to compare

Added

  • Added example flows for time change node.

Changed

  • Updated versions of dependencies where possible.

Fixed

  • Listeners for flows-started events in scheduler node are now correctly unregistered on node closing.

NPM SHA-Sum: 406310448b71e3944edf4c48941e3d0c553138ca

Release 1.18.1

11 Sep 14:14
Compare
Choose a tag to compare

Added

  • Added example flows for repeat node.
  • Added example flows for delay node.

Fixed

  • Applied small corrections in help texts.
  • Fixed non-working unit translations in repeat node labels.

NPM SHA-Sum: 8e55acf61aca5cdb7d666e1610d20d3477559f25