2.2.0-beta-3: enhancement
Pre-release
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 withnode-red-contrib-sun-position
- add unter the
Configuration
in the Node-Red options asnpm_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
- first implementation of tests with
-
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