
Security News
Meet the Socket Team at RSAC and BSidesSF 2025
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
node-red-node-darksky
Advanced tools
A Node-RED node that gets the weather forecast from the DarkSky API
A Node-RED node that gets the weather forecast from the Dark Sky weather API.
You will need an API key from Dark Sky developer portal.
This allows 1000 requests per day. The polling node makes a request every 5 minutes = 288 requests.
Run the following command in the root directory of your Node-RED install.
This is usually ~/.node-red
npm install node-red-node-darksky
Two nodes that get the weather forecast from the Dark Sky weather API.
One node polls the Dark Sky api every 15 minutes, the other is triggered to request weather forecast data when an input is received.
The user has the option of providing a date to the node instead of returning data for the next day. The node will always prioritise the node settings if they are present.
The node is configured using a latitude and longitude set of coordinates, an optional date/time combination, and a set of units with which to format the response.
These can be passed in as settings on the node, or as:
If using msg.time it should be a javascript Date object. If using msg.payload it must be a string or number of milliseconds since 1970 (epoch time in mS.)
The node sets the following properties of msg.payload:
Both will return
The node also sets the following properties of msg.location.
Finally, the node sets:
Weather data Powered by Dark Sky
FAQs
A Node-RED node that gets the weather forecast from the DarkSky API
The npm package node-red-node-darksky receives a total of 21 weekly downloads. As such, node-red-node-darksky popularity was classified as not popular.
We found that node-red-node-darksky demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
Security News
Biome's v2.0 beta introduces custom plugins, domain-specific linting, and type-aware rules while laying groundwork for HTML support and embedded language features in 2025.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.