Releases: rdmtc/node-red-contrib-sun-position
Releases · rdmtc/node-red-contrib-sun-position
3.0.0-alpha 1
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
2.2.0-beta-3: enhancement
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
2.1.1: bug fixes
2.1.0: bug fixes
- 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
- general
- Fixed bug with string with placeholder, if value is 0 it was replaced with an empty string #400
2.0.12: bug fixes
- 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
-
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
2.0.7: maintenance release
-
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
anddisableNode
) #365
- fixed blind-control example 3 and 4; clock-time example #388
-
blind-control