RAPINOLOGYRapin + Technology

App for Homey Pro

Flood & Fire Alerts France

Flood and wildfire danger levels near you, from French public services.

Available v1.0.3

Two French public services, watched side by side. Vigicrues colours every river section green, yellow, orange or red; the Météo des forêts publishes each day, by département, tomorrow's and the day after's wildfire danger, during the fire season. The app follows a section found by name or suggested near your Homey, and a département found by name or number, and can react the moment a level rises.

View on the Homey App Store

Devices

Flood vigilance 3 readings

  • Vigilance level
  • Vigilance alert
  • Last update

Wildfire danger 4 readings

  • Vigilance level
  • Level the day after tomorrow
  • Vigilance alert
  • Last update

Dashboards

A widget is a tile you place on a Homey Dashboard: it shows its information without your having to open anything.

Flood vigilance

Flood vigilance 175 px tall

The level of the followed section, in words and in colour, from green to red, with the time since the last update.

Wildfire danger

Wildfire danger 175 px tall

Tomorrow's danger in large type with its dot, the day after's at the foot with the publication date. Outside the fire season, from June to September, the tile says so instead of showing a level.

The computation, step by step

Vigicrues offers neither a search by coordinates nor by name: the national feed gives every section at once, leaving it to the app to sort them. The Météo des forêts, for its part, only publishes a feed that grows every day, with a département's latest value buried inside it.

  1. 01

    The nearest section

    distance ≈ haversine(centroïde du tronçon, position de la Homey)

    Each section is a line, sometimes tens of kilometres long: its position is reduced to the average of every point in its geometry, a centroid, good enough to sort more than three hundred sections by proximity without computing a true distance to the nearest segment. The same list serves pairing, to suggest sections near the Homey, and the search by name.

  2. 02

    One reading for every section followed

    un relevé national partagé par tous les appareils, plutôt qu'un par appareil

    The national feed weighs about two megabytes, whatever the number of sections being looked up in it. Fetching it once per followed device would have multiplied that weight for no reason: it is therefore cached for the length of a cycle and shared across every device of the driver, each of which only picks out its own section.

  3. 03

    The seasonal gap, told apart from a failure

    hors juin-septembre : le fichier de l'année est absent, pas en panne

    The Météo des forêts is only published during the fire season, from June to September: outside that window, the year's file simply does not exist yet, or any more. The device says so plainly, without mistaking it for a network failure, which is still flagged as such.

Flow cards

Homey writes an automation in three parts: when something happens, and if a condition holds, then do this. Anything on a lighter background, such as radius, is a parameter you set in the Flow. Every condition also exists in its negative form, which Homey flips with one click.

When 1

  • the vigilance level changes

And 1

  • the level is at least level

Then 1

  • refresh the level

What's new

  1. Version 1.0.3

    Flood & Fire Alerts France 1.0.3 is for the dashboard widgets: easier to set up, easier to read.

    • The Flood vigilance widget now picks its river section from a list with search, and the Wildfire danger widget its département, instead of a name typed by hand.
    • Each entry in the list shows its current level (“Today's alert: Yellow”, “Danger tomorrow: Orange”), so you can see where things stand before you choose.
    • Widgets you placed before keep showing what you typed; nothing to redo.
    • If the section or département a widget points to is removed from Devices, the tile says so and asks you to choose another one, instead of staying blank.
    • Both tiles share a common layout: category, section or département, the level in large type, then the details (time of the last update, or the day-after level and publication date).

    Edit a dashboard, add a widget and choose Flood & Fire Alerts France, then Flood vigilance or Wildfire danger. In the widget settings, pick the section or département from the list (leave it empty to show the first one) and choose a background: deep blue, slate, plum, forest or sand.