From 442576e838a267cde7ee3dd2fad634ea39eb5b0d Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Tue, 24 Sep 2024 21:37:53 +0100 Subject: [PATCH] bump version for PR and lib update --- time/suncalc/locales/en-US/79-suncalc.html | 2 +- time/suncalc/locales/en-US/79-suncalc.json | 4 ++-- time/suncalc/package.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/time/suncalc/locales/en-US/79-suncalc.html b/time/suncalc/locales/en-US/79-suncalc.html index 71e42bbb..cfc27b92 100644 --- a/time/suncalc/locales/en-US/79-suncalc.html +++ b/time/suncalc/locales/en-US/79-suncalc.html @@ -5,7 +5,7 @@

The start and end times can be offset by a number of minutes before (minus) or after (plus) the chosen event time.

The first output emits a msg.payload of 1 or 0 every minute depending if in between selected times or not. The second output emits only on the transition between night to day (-> 1) or day to night (-> 0). - When the initial value at startup is required to be sent, that value will be emitted at the second output.

+ The second output can optionally send the initial value at startup if required.

It also outputs msg.start, msg.end and msg.now which are todays start and end times, with offsets applied, in ISO format, and the current ISO time.

msg.sun is an object containing the azimuth and altitude, in degrees, of the current sun position.

msg.moon is an object containing position, phase, illumination and icon of the moon.

diff --git a/time/suncalc/locales/en-US/79-suncalc.json b/time/suncalc/locales/en-US/79-suncalc.json index adb8e2aa..8efceffb 100644 --- a/time/suncalc/locales/en-US/79-suncalc.json +++ b/time/suncalc/locales/en-US/79-suncalc.json @@ -1,4 +1,4 @@ -{ +{ "sunrise": { "label": { "latitude": " Latitude", @@ -29,6 +29,6 @@ "onePerMin": "once per minute", "onse": "only on change", "sunName": "Sun rise/set", - "sendAtStartup": "Send the current value at startup" + "sendAtStartup": "Send current value at startup" } } diff --git a/time/suncalc/package.json b/time/suncalc/package.json index be26a94f..5f1e9b35 100644 --- a/time/suncalc/package.json +++ b/time/suncalc/package.json @@ -1,9 +1,9 @@ { "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", "dependencies" : { - "suncalc" : "^1.8.0" + "suncalc" : "^1.9.0" }, "repository" : { "type":"git",