Node-RED wrapper to the UK Environment Agency Real Time Flood-monitoring API
Use the manage palette option to install this node
This node allows you to run queries against the UK Environment Agency Flood Warning API
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.
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.
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.
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.