Skip to content

Releases: rdmtc/node-red-contrib-sun-position

3.0.0-alpha 1

12 Apr 19:56
Compare
Choose a tag to compare
3.0.0-alpha 1 Pre-release
Pre-release

Warning, this is a not stable alpha version!!

Breaking changes:

  • removed all "Radiant" angle selection from typed input. The standard selection (which was previous the decimal degree output) gives now an angle based on the type selection (degree or radiant) of the configuration node. Version number is changed to 3 to reflect these API changes.

This is still a non stable development version!!

Installation

This is a beta version and can only be installed over command line.

Install of this Version in Node-Red:

  • change to the installation directory of Node-Red
  • enter the command npm install [email protected]

Install of a specific Version in Redmatic (on a Homematic):

  • logon per ssh
  • enter the commands in the order:
    • source /usr/local/addons/redmatic/home/.profile
    • cd /usr/local/addons/redmatic/var
    • npm install --save --no-package-lock --global-style --save-prefix="~" --production [email protected]

Install of a specific Version in HomeAssistant:

  • go to the Supervisor
  • go to the Node-Red AddOn
  • stop the Node-Red AddOn
  • edit config/node-red/package.json and remove the line with node-red-contrib-sun-position
  • add unter the Configuration in the Node-Red options as npm_packages:
npm_packages:
  - [email protected]

Changes

  • general

    • first implementation of tests with mocha and some changes due to the test implementation (inject enhance and delay-until)
      • revised error handling and output messages if the configuration of nodes is not correct (missing config node, missing latitude/longitude).
    • added type checking
    • allow of custom sun position set and rise angles in the configuration node
    • allow of custom angles in the configuration node
    • removed the following angle selections (replaced by existing ones without rad):
      • time by azimuth (rad)
      • time by elevation (set or rise in rad)
      • next time by elevation (set or rise in rad)
      • next rise time by elevation (rad)
      • next set time by elevation (rad)
    • sun-times and moon-times have now every angle in Radians and Degree
  • inject enhance (time-inject)

    • added repletely inject with CRON expression
    • added automatic test case
      • basic inject
      • time based inject
  • within-time-switch

    • changed state output in case time span is over midnight, because the shown times could be not correct #416
    • added automatic test case
      • basic test for configuration
      • test for message passing is for later
  • sun-position + moon-position

    • smaller rework
  • new Node delay-until which allows to delay messages until defined time

  • blind-control and clock-timer

    • implement start and end time for rules #357
    • show rule edit dialog no longer modal to allow usage of JSON and JSONATA editor #432
    • separated renamed earliest/latest naming to make it clearer #441
    • reworked value caching mechanism; fixed bug #434
  • blind-control

    • fix #421
    • added for oversteer blind position the possibility to select msg property, flow or global context #423
      • This has some limitations. Changes would only have effect if the oversteer are evaluated.
    • fix not working oversteer mode limitation #431
    • implemented optional alternative azimuth input like node-red-contrib-blindcontroller #430
  • time-comp

    • better adjustable of next time, fixes #420
    • preprocessing rules
    • added automatic test case
      • basic test for configuration

2.2.0-beta-3: enhancement

13 Mar 22:07
Compare
Choose a tag to compare
Pre-release

Installation

This is a beta version and can only be installed over command line.

Install of this Version in Node-Red:

  • change to the installation directory of Node-Red
  • enter the command npm install [email protected]

Install of a specific Version in Redmatic (on a Homematic):

  • logon per ssh
  • enter the commands in the order:
    • source /usr/local/addons/redmatic/home/.profile
    • cd /usr/local/addons/redmatic/var
    • npm install --save --no-package-lock --global-style --save-prefix="~" --production [email protected]

Install of a specific Version in HomeAssistant:

  • go to the Supervisor
  • go to the Node-Red AddOn
  • stop the Node-Red AddOn
  • edit config/node-red/package.json and remove the line with node-red-contrib-sun-position
  • add unter the Configuration in the Node-Red options as npm_packages:
npm_packages:
  - [email protected]

Changes

  • general

    • first implementation of tests with mocha and some changes due to the test implementation (inject enhance and delay-until)
      • revised error handling and output messages if the configuration of nodes is not correct (missing config node, missing latitude/longitude).
    • added type checking
  • inject enhance (time-inject)

    • added repletely inject with CRON expression
    • added automatic test case
      • basic inject
      • time based inject
  • within-time-switch

    • changed state output in case time span is over midnight, because the shown times could be not correct #416
    • added automatic test case
      • basic test for configuration
      • test for message passing is for later
  • new Node delay-until which allows to delay messages until defined time

  • blind-control

    • fix #421
    • added for oversteer blind position the possibility to select msg property, flow or global context #423
      • This has some limitations. Changes would only have effect if the oversteer are evaluated.
    • fix not working oversteer mode limitation #431
    • show rule edit dialog no longer modal to allow usage of JSON and JSONATA editor #432
  • time-comp

    • better adjustable of next time, fixes #420
    • preprocessing rules
    • added automatic test case
      • basic test for configuration

2.1.1: bug fixes

15 Feb 11:23
18d39f4
Compare
Choose a tag to compare
  • clock-timer
    • merged with blind-control

2.1.0: bug fixes

09 Feb 20:15
dd8af5f
Compare
Choose a tag to compare
  • blind-control
    • fix bug of handling not time constrained rules be first to last evaluated
    • could maybe change way which rules gets active first!

2.0.13: bug fixes

06 Feb 19:55
bf90e82
Compare
Choose a tag to compare
  • general
    • Fixed bug with string with placeholder, if value is 0 it was replaced with an empty string #400

2.0.12: bug fixes

01 Feb 20:22
a9a5f79
Compare
Choose a tag to compare
  • general
    • Fixed bug with wrong default values for Input type in blind-control and within-time-switch node, added console error in case it occurs again.
    • additional check for missing position configuration

2.0.10: maintenance release

31 Jan 21:51
9870a2d
Compare
Choose a tag to compare
  • general

    • code cleanup
    • added string with placeholder as property value for more nodes (time-input, time comp, within-time, time-compare)
  • clock-timer

    • isDisabled now stored to context as already implemented in blind-control

2.0.8: bug fix

30 Jan 14:19
a9893fb
Compare
Choose a tag to compare
  • added node.path (Node-Red 2.2) as possible output configuration, fallback to node.name or node.id if not defined
  • fixed string with placeholder output (string could not be entered before)

string with placeholder are working now:
image

2.0.7: maintenance release

23 Jan 11:18
3a7b2b1
Compare
Choose a tag to compare
  • blind-control + clock-time

    • fixed blind-control example 3 and 4; clock-time example #388
      • the function node in the example can now simulate different days for testing at the same time on different days
    • renamed external given time property from .dNow to .now to maintain consistency to other nodes
    • nodes can be completely disables and enabled by incoming message (topic must be enableNode and disableNode) #365
  • blind-control

    • after expire of manual override with -1 force to send output #387
    • add possibility to force output to first output when topic contains forceOutput
    • add possibility to add offset for the open/close position of the blind in active sun control #371

2.0.6: bug fixes

27 Nov 23:55
a50a6f5
Compare
Choose a tag to compare

2.0.6: bug fixes

  • time-inject fix for next property #364

  • within-time-switch fix error with output value #363

  • blind-control + clock-time

    • reduced default startup delay to may 1s
    • do output to first output on startup #369
  • blind-control