@knallle/node-red-contrib-is-day

1.0.3 • Public • Published

node-red-node-is-day

A node that, given a latitude and a longitude, passes msg to either of its' two outputs.

A typical use case for this is to control lights only if the sun is down.

The node expects two inputs to be passed: msg.lat and msg.lon. This coordinate is used to calculate the times for various sun events, which are then used to determine if the sun is up or not.

Package Sidebar

Install

npm i @knallle/node-red-contrib-is-day

Weekly Downloads

2

Version

1.0.3

License

Apache-2.0

Unpacked Size

4.24 kB

Total Files

5

Last publish

Collaborators

  • knallle