Gathering detailed insights and metrics for node-red-contrib-time-switch
Gathering detailed insights and metrics for node-red-contrib-time-switch
Gathering detailed insights and metrics for node-red-contrib-time-switch
Gathering detailed insights and metrics for node-red-contrib-time-switch
node-red-contrib-moment
Node-Red Node that produces formatted Date/Time output using the Moment.JS library. Timezone, dst and locale aware.
node-red-contrib-chronos
Time-based Node-RED scheduling, repeating, queueing, routing, filtering and manipulating nodes
sass-loader
Sass loader for webpack
node-red-contrib-knx-ultimate
Control your KNX intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control and ETS group address importer. Easy to use and highly configurable.
npm install node-red-contrib-time-switch
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
3 Stars
97 Commits
1 Forks
1 Watching
4 Branches
2 Contributors
Updated on 24 Jul 2024
JavaScript (87.31%)
HTML (12.69%)
Cumulative downloads
Total Downloads
Last day
40%
21
Compared to previous day
Last week
-15.6%
92
Compared to previous week
Last month
-11.8%
472
Compared to previous month
Last year
10.1%
4,726
Compared to previous year
A simple Node-RED node that routes messages depending on the time or sun position.
It is possible to specify a time, the sun position (requires your geo location to be configured) or even a value of the message, the flow or the instance of node red.
Change directory to your node red installation and run the following command:
The times can be a 24 hour time or a suncalc event:
Time | Description |
---|---|
00:00 ... 23:59 | 24hr time (without seconds) |
sunrise | sunrise (top edge of the sun appears on the horizon) |
sunriseEnd | sunrise ends (bottom edge of the sun touches the horizon) |
goldenHourEnd | morning golden hour (soft light, best time for photography) ends |
solarNoon | solar noon (sun is in the highest position) |
goldenHour | evening golden hour starts |
sunsetStart | sunset starts (bottom edge of the sun touches the horizon) |
sunset | sunset (sun disappears below the horizon, evening civil twilight starts) |
dusk | dusk (evening nautical twilight starts) |
nauticalDusk | nautical dusk (evening astronomical twilight starts) |
night | night starts (dark enough for astronomical observations) |
nadir | nadir (darkest moment of the night, sun is in the lowest position) |
nightEnd | night ends (morning astronomical twilight starts) |
nauticalDawn | nautical dawn (morning nautical twilight starts) |
dawn | dawn (morning nautical twilight ends, morning civil twilight starts) |
{{msg.fieldName}} | Access a field of the message (mustache template syntax) |
{{flow.fieldName}} | Access a field of the flow (mustache template syntax) |
{{global.fieldName}} | Access a global field (mustache template syntax) |
Placeholders with prefix msg, flow or global are replaced by the corresponding field value.
The start and end time can have an offset. You can use fields here aswell.
This is specified in minutes:
The offset also supports placeholders:
Placeholder | Description |
---|---|
{{msg.fieldName}} | Access a field of the message (mustache template syntax) |
{{flow.fieldName}} | Access a field of the flow (mustache template syntax) |
{{global.fieldName}} | Access a global field (mustache template syntax) |
Specify the latitude and longitude of your geo location or use one of the followng placeolders as value:
Placeholder | Description |
---|---|
{{msg.fieldName}} | Access a field of the message (mustache template syntax) |
{{flow.fieldName}} | Access a field of the flow (mustache template syntax) |
{{global.fieldName}} | Access a global field (mustache template syntax) |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
3 existing vulnerabilities detected
Details
Reason
Found 3/23 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More