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

0.0.3 • Public • Published

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 and license

Copyright 2018 IBM Corp. under the Apache 2.0 license.

Readme

Keywords

Package Sidebar

Install

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

Weekly Downloads

0

Version

0.0.3

License

Apache-2.0

Unpacked Size

31.4 kB

Total Files

7

Last publish

Collaborators

  • chughts