Alerts
A message when a number passes a line you set. By e-mail or text message.
In these docs
1. Choose the line
Open a station, choose “Alerts” and then “New alert”. Pick what is measured, “above” or “below”, and the number.
Tip: draw the line on the chart first. Drag it up and down and see how often the last month would have crossed it.
2. Choose who hears it
Write one or more e-mail addresses or phone numbers. Each gets a link to stop it with one click.
3. Choose how patient it is
An alert waits until the number has stayed past the line for as long as you say. Five minutes is a good start: a single wave does not send it, a rising tide does.
After it sends, it is quiet until the number has come back past the line.
The same from the API
An alert is a small piece of JSON, sent to the station’s alerts:
POST /stations/bergen-harbour/alerts
{ "measure": "level", "above": 2.10, "wait": "5m", "tell": ["harbour@example.com", "+4791234567"]}Where it goes
Free, as many as you like. The message says the station, the number, the line, and links to the chart.