Problem with Vigicrue binding

Hello,

I am using OH4 with Vigicrue Addon. It did work very well for quite some time but now I get the following message in my log file and data are not refreshed:
2024-11-24 23:14:57.686 [INFO ] [es.internal.handler.VigiCruesHandler] - Historical flooding data are not available F712000102 : null
It is strange because if I follow the setup guidelines, the location does really exist:

My thing configuration is
Thing vigicrues:station:chatou “Station Chatou” @ “VigiCrues” [id=“F712000102”, refresh=30]

Thank you for your help

Kind regards

Olivier

Can you please file an Ăźssue in gihub ?

Done here

Thank you for your support

------------------------- Update February 2025

After discussion with the developer, the complete binding is no longer fonctional dur to a change in the API of the vigicrue service.

If you want to get the data, you can workaround the binding by using a script like this one that you can call from the exec binding:
curl -X GET --silent “https://www.vigicrues.gouv.fr/services/observations.json/index.php?CdStationHydro=F712000102” | jq | grep -m 1 “ResObsHydro” | cut -d’:’ -f 2 | sed ‘s/ //g’

Kind regards

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.