node-red-contrib-suncron
Advanced tools
Comparing version 1.3.2 to 1.3.3
{ | ||
"name": "node-red-contrib-suncron", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "A Node-RED node that triggers configurable outgoing messages based on the position of the sun", | ||
@@ -48,3 +48,9 @@ "main": "index.js", | ||
"singleQuote": true | ||
}, | ||
"release": { | ||
"branches": [ | ||
"master", | ||
"next" | ||
] | ||
} | ||
} |
@@ -26,7 +26,7 @@ # SunCron | ||
The location (lat / lon) can either be entered manually or retrieved automatically via the location button. | ||
The location (lat / lon) can either be entered manually or retrieved automatically from your browser via the location button. | ||
![example](docs/config.png) | ||
The offsets can be overwritten at runtime by passing a config object as `msg.payload` to the suncron node. All attributes are optional. Offsets need to be expressed in seconds as positive or negative integer values. Below example adjusts the offset for the `dusk` event to -2 minutes and all others to 0 seconds. | ||
The offsets can be overwritten at runtime by passing a config object as `msg.payload` to the suncron node. All attributes are optional. Offsets need to be expressed in seconds as positive or negative integer values. Below example adjusts the offset for the `dusk` event to -2 minutes (-120 seconds) and all others to 0 seconds. | ||
@@ -33,0 +33,0 @@ ``` |
199171
10