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 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
- 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
- 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
-
sun-position + moon-position
- smaller rework
-
new Node
delay-until
which allows to delay messages until defined time -
blind-control and clock-timer
-
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