Skip to content

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

License

Notifications You must be signed in to change notification settings

rdmtc/node-red-contrib-sun-position

Repository files navigation

node-red-contrib-sun-position for NodeRED

Maintenance npm version License Issues code style NPM

This is a ultimate (Swiss-Army-Knife) Node-Red Timer based flow control with dusk, dawn (and variations) and much more. Additional you can get sun and moon position or to control a flow by sun or moon position. It is ideal for usage of control smart home, but also for all other time based flow control. There is also a roller blind control node and a clock timer node. The blind control node can determine the position of the roller shutter by time or position of the sun. The timer can send different payloads depending on the time.

nodes

Information on Version changes

If a Node has a warning sign on the label like this one: warning sign This is not an error, it hides only that the node needs to be opened, saved and deployed to fix the label.

⚠ Nodes that were created or saved with a version 2.0.0 or later do not work in versions prior 2.0.0 of the package.

Table of contents

Preconditions

These nodes need at least NodeJS Version 8.0 and Node-Red with Version 1.0! Any early Version of Node-Red will not work!

Installation

npm install node-red-contrib-sun-position

General

Saving resources

The nodes are designed to do not calculate time events with every arriving message or with an interval every x time. This is to be able to handle a huge amount of messages also on even on computers with low resources.

second based accuracy

The nodes are designed to be accurate to seconds. This means it was designed to turn on/off at exact given second. Other timers often work using intervals where they check your schedule only once a minute or even less. This means when you want something to come on at 08:00am, it may actually not come on until 30 seconds later. This nodes does not have this problem, it will come on at exactly 08:00:00am.

Documentation of the nodes

The documentation of the nodes is moved to the wiki:

CHANGELOG

TODO

  • add possibility to select input/output timezone

Support, Bugs and Feedback

For bugs, questions and feature requests please use the GitHub Issues, or the Homematic forum.

💰 Donations Donate

Even for those that don't have the technical knowhow to help developing on there are ways to support development. So if you want to donate some money please feel free to send money via PayPal.

LICENSE

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this nodes except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Other