bump version for PR and lib update

This commit is contained in:
Dave Conway-Jones 2024-09-24 21:37:53 +01:00
parent 23e6147e72
commit 442576e838
No known key found for this signature in database
GPG Key ID: 1DDB0E91A28C2643
3 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@
<p>The start and end times can be offset by a number of minutes before (minus) or after (plus) the chosen event time.</p> <p>The start and end times can be offset by a number of minutes before (minus) or after (plus) the chosen event time.</p>
<p>The first output emits a <code>msg.payload</code> of <i>1</i> or <i>0</i> every minute depending if in between selected times or not. <p>The first output emits a <code>msg.payload</code> of <i>1</i> or <i>0</i> every minute depending if in between selected times or not.
The second output emits only on the transition between night to day (<i>-> 1</i>) or day to night (<i>-> 0</i>). The second output emits only on the transition between night to day (<i>-> 1</i>) or day to night (<i>-> 0</i>).
When the initial value at startup is required to be sent, that value will be emitted at the second output.</p> The second output can optionally send the initial value at startup if required.</p>
<p>It also outputs <code>msg.start</code>, <code>msg.end</code> and <code>msg.now</code> which are todays start and end times, with offsets applied, in ISO format, and the current ISO time.</p> <p>It also outputs <code>msg.start</code>, <code>msg.end</code> and <code>msg.now</code> which are todays start and end times, with offsets applied, in ISO format, and the current ISO time.</p>
<p><code>msg.sun</code> is an object containing the azimuth and altitude, in degrees, of the current sun position.</p> <p><code>msg.sun</code> is an object containing the azimuth and altitude, in degrees, of the current sun position.</p>
<p><code>msg.moon</code> is an object containing <thead></thead> position, phase, illumination and icon of the moon.</p> <p><code>msg.moon</code> is an object containing <thead></thead> position, phase, illumination and icon of the moon.</p>

View File

@ -1,4 +1,4 @@
{ {
"sunrise": { "sunrise": {
"label": { "label": {
"latitude": " Latitude", "latitude": " Latitude",
@ -29,6 +29,6 @@
"onePerMin": "once per minute", "onePerMin": "once per minute",
"onse": "only on change", "onse": "only on change",
"sunName": "Sun rise/set", "sunName": "Sun rise/set",
"sendAtStartup": "Send the current value at startup" "sendAtStartup": "Send current value at startup"
} }
} }

View File

@ -1,9 +1,9 @@
{ {
"name" : "node-red-node-suncalc", "name" : "node-red-node-suncalc",
"version" : "1.1.2", "version" : "1.2.0",
"description" : "A Node-RED node to provide a signal at sunrise and sunset", "description" : "A Node-RED node to provide a signal at sunrise and sunset",
"dependencies" : { "dependencies" : {
"suncalc" : "^1.8.0" "suncalc" : "^1.9.0"
}, },
"repository" : { "repository" : {
"type":"git", "type":"git",