Meteo Alerte Binding do not receive data since May 2023

Jar updated. Discovery is now functional, documentation updated.

I tried different configurations for this new binding release without success. I tested this morning on a fresh openhab 4.2.0 (snapshot) with a minimum a configured elements: only the meteoalert.things and items for instance (plus some minor settings in addons.cfg I usualy have).

First of all, here is my meteoalert.things file:

Thing meteoalerte:department:alpesmaritimes @ "Sophia Antipolis" [department="ALPES_MARITIMES", refresh=60]

I also tried adding an apikey="..." as a thing parameter (after registering on MeteoFrance API and get a token with duration of 0 as described above).

But in any case, I have the following error “at the end”:
bundle org.openhab.binding.meteoalerte:4.2.0.202404022325 (264)[org.openhab.binding.meteoalerte.internal.MeteoAlerteHandlerFactory> java.lang.IllegalArgumentException: argument type mismatch

I activated the DEBUG level for the meteoalert binding logs.
openhab.log (200.5 KB)

Thanks in adavance for any help.

Got all coming online now. Thanks for the quick fix !

Will see how it behaves over the next couple of days and feed back.

Many thanks for supporting this fix.

Envoyé de mon iPhone

File update, it now also include Rain previsions based on @sebSmarthome work described here.

Note that rain intensity prevision is making use of timeseries. You’ll have to define persistence accordingly (documentation not yet updated).

Also, due to the fact that things exposed in this binding both rely on MeteoFrance services, it’s more than likely that the binding will be renamed from MeteoAlerte to MeteoFrance.

2 Likes

The Metéo France binding has been merged this morning (French time)

2 Likes

Hello,

I see this was merged 2 days before the 4.2.2 release so I believe it missed the time window for it to be backported to the 4.2 branch which is quite understandable.

That being said, is there a plan to eventually backport it to 4.2 or will we have to wait for 4.3 to come out?

It is not back ported - too huge.
You will not have to wait too long, 4.3 should be out mid december.

Fair enough, I’ll wait then

I have now updated to 4.3 and installed the Meteo France binding but I must be doing something wrong. For starters, the bridge does not start with this error:

I went to the portal, and I believe this is the API I must register for: MeteofranceWeb

I’m able to get an API key for a given duration, but where do I input it for the bridge to use it?

And if that API key is only for alerts, which other dataset must I register for to get the “rain in the hour” forecast?