Socket
Book a DemoInstallSign in
Socket

node-red-contrib-uk-ea-flood-warnings

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-uk-ea-flood-warnings

Wrapper tp UK EA Flood Warnings API

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

node-red-contrib-uk-ea-flood-warnings

Node-RED wrapper to the UK Environment Agency Real Time Flood-monitoring API

Install

Use the manage palette option to install this node

Usage

This node allows you to run queries against the UK Environment Agency Flood Warning API

Configuration

Use the configuration to select the mode. If floods are selected then All Flooded Areas will return all active flood alerts. If tides are selected then All Stations will return details and measurements for all tidal measurement stations.

Input

msg.payload is not required. The node needs to be configured to select an area. A list of available areas and tidal stations is automatically retrieved by the node, making use of the API.

You can override the area setting by setting msg.floodarea, which must be a comma separated string.

Output

The output is a json array on msg.payload. When running in flood mode and there are no flood alerts in the selected area then the array is empty.

Contributing

For simple typos and fixes please just raise an issue pointing out our mistakes. If you need to raise a pull request please read our contribution guidelines before doing so.

Copyright 2018 IBM Corp. under the Apache 2.0 license.

Keywords

node-red

FAQs

Package last updated on 30 Apr 2018

Did you know?

Socket

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.

Install

Related posts