olivier
(Olivier)
November 24, 2024, 11:03pm
1
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
glhopital
(Gaël L'hopital)
November 25, 2024, 5:54am
2
Can you please file an Ăźssue in gihub ?
olivier
(Olivier)
December 5, 2024, 12:56pm
3
Done here
opened 12:55PM - 05 Dec 24 UTC
bug
## Expected Behavior
I am using OH4 with Vigicrue binding.
It did work very we⊠ll 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 still really exists:
https://www.vigicrues.gouv.fr/station/F712000102
## Current Behavior
I get this error in my log file and the item values does not get refreshed
## Steps to Reproduce (for Bugs)
Item file configuration
Thing vigicrues:station:chatou âStation Chatouâ @ âVigiCruesâ [id=âF712000102â, refresh=30]
## Context
The addon worked perfectly for quite some years but I am now getting this error
2024-11-24 23:14:57.686 [INFO ] [es.internal.handler.VigiCruesHandler] - Historical flooding data are not available F712000102 : null
## Your Environment
OpenHab 4 running on RaspberryPi 3
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
system
(system)
Closed
January 16, 2025, 4:56am
4
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.