Node Red Contrib Sun Position Versions Save

This is a ultimate Node-Red Timer, Sun, Moon and Blind flow control.

3.0.0-alpha

2 years ago

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

2 years ago

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

2 years ago
  • clock-timer
    • merged with blind-control

2.1.0

2 years ago
  • 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

2 years ago
  • general
    • Fixed bug with string with placeholder, if value is 0 it was replaced with an empty string #400

2.0.12

2 years ago
  • 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

2 years ago
  • 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

2 years ago
  • 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

2 years ago
  • 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

2 years ago

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