« Only listed cities are supported. Lyon now requires an account for its traffic feed, Grenoble publishes levels without the names of the sections, Paris and Toulouse only publish hourly or archived counts: these cities can be added if their data allows it. »
Do you think it’s possible to add authentication or would a separate integration be needed? (I can take care of it )
Yes, we’re going to add Lyon directly to Trafic, with authentication: an optional Grand Lyon username and password in the settings, only requested if you add a Lyon route. No need for a separate integration, the per-route level calculation, the widget, and the triggers remain the same, only the source changes.
We’ll create an account on data.grandlyon.com to test it out before publishing. I’ll let you know here when it’s live
Hi @prohand, as promised: the 1.2.0 version of Trafic adds Lyon! Update from Gladys.
You need a free Grand Lyon account, with a small trap that got me at first: the data portal has its own password, separate from the GrandLyon Connect one.
In the Trafic settings, enter Grand Lyon ID and Grand Lyon Data Password, then add your Lyon routes.
Tested in real life: 884 routes, for example the Genas road congested at 11 km/h while the Boulevard de la Croix-Rousse was flowing. If the credentials are rejected, the integration status says so, and the other cities continue to work.
Two limitations:
The Métropole does not publish the municipality of the sections: a route corresponds to a street name, so « Route de Lyon » groups its sections from several municipalities;
the names are in capitalized abbreviations (« RTE DE GENAS »), but the search accepts « route de genas ».
It’s done @prohand: the 1.3.0 version of Trafic adds a widget setting « Show data age » (unchecked by default). When checked, each line ends with the age, for example « Dense · 42 km/h · 3 min ago ». Update from Gladys, then check the box in the widget settings.
Small note: Gladys keeps the widget content in cache for one to a few minutes, so the displayed age may have a slight delay.