-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[meteofrance] Replacement of meteoalerte binding #15462
Conversation
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/meteo-alerte-binding-do-not-receive-data-since-may-2023/148545/5 |
bb043b9
to
cdea557
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@clinique I am not sure if I am a good reviewer for this binding.... For now, I just checked a few code style topics, javadoc has only expected warnings, i18n property file is in sync. That is what I can do today.
Find my suggestions below.
...hab.binding.meteoalerte/src/main/java/org/openhab/binding/meteoalerte/internal/dto/Term.java
Outdated
Show resolved
Hide resolved
...binding.meteoalerte/src/main/java/org/openhab/binding/meteoalerte/internal/dto/BlocType.java
Outdated
Show resolved
Hide resolved
...lerte/src/main/java/org/openhab/binding/meteoalerte/internal/handler/MeteoAlerteHandler.java
Outdated
Show resolved
Hide resolved
...teoalerte/src/main/java/org/openhab/binding/meteoalerte/internal/db/DepartmentDbService.java
Outdated
Show resolved
Hide resolved
@lolodomo : if you can start to have a look at this. I think it's pretty ready codewise. Documentation still has to be updated. |
@lolodomo : can I kindly request a review ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just 2 minor comments regarding the README...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, this one seems missing.
Otherwise the parts I have looked at LGTM, leaving the code review to @lolodomo.
@lolodomo : as you're currently working only for me 😀 , maybe you can have a look at this one also ? |
a2fb986
to
5007393
Compare
5007393
to
2cc4b74
Compare
Signed-off-by: clinique <gael@lhopital.org>
Signed-off-by: clinique <gael@lhopital.org>
Small and slow progress Signed-off-by: clinique <gael@lhopital.org> Signed-off-by: gael@lhopital.org <gael@lhopital.org>
Data is ok. Still has to take care of auto refresh and we're ready to go. Signed-off-by: clinique <gael@lhopital.org>
Signed-off-by: clinique <gael@lhopital.org>
Signed-off-by: clinique <gael@lhopital.org>
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Renamed from Meteo Alerte to Meteo France Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
dc17bf9
to
68c6fec
Compare
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviving this binding. As @lolodomo has chosen to work for anotther contributer ;-) i took the change and reviewed this PR.
Covered all files and after this initial round i expect jus a smaller last round before a merge. Ping me when you are ready to proceed.
.../src/main/java/org/openhab/binding/meteofrance/internal/handler/MeteoFranceChildHandler.java
Outdated
Show resolved
Hide resolved
...ance/src/main/java/org/openhab/binding/meteofrance/internal/handler/RainForecastHandler.java
Show resolved
Hide resolved
...ance/src/main/java/org/openhab/binding/meteofrance/internal/handler/RainForecastHandler.java
Outdated
Show resolved
Hide resolved
...ofrance/src/main/java/org/openhab/binding/meteofrance/internal/handler/VigilanceHandler.java
Show resolved
Hide resolved
...ofrance/src/main/java/org/openhab/binding/meteofrance/internal/handler/VigilanceHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some previous comments are open and found some new ones. I expect this to be the last pass.
bundles/org.openhab.binding.meteofrance/src/main/resources/OH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.meteofrance/src/main/resources/OH-INF/thing/channels.xml
Show resolved
Hide resolved
bundles/org.openhab.binding.meteofrance/src/main/resources/OH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.meteofrance/src/main/resources/OH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.meteofrance/src/main/resources/OH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.meteofrance/src/main/resources/OH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.meteofrance/src/main/resources/OH-INF/thing/channels.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.meteofrance/src/main/resources/OH-INF/thing/rain-forecast.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.meteofrance/src/main/resources/OH-INF/thing/vigilance.xml
Outdated
Show resolved
Hide resolved
...ance/src/main/java/org/openhab/binding/meteofrance/internal/handler/RainForecastHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Thank you for adapting this binding. There are some additional steps to do.
Edit: Note to self and whoever it concerns: for future binding replacements, it is better to seperate the removal and add the new binding in two seperate PR's so they show up indepent in the changelog and can be backported (removal) |
Update notification added : openhab/openhab-distro#1687 |
Icons updated here: openhab/openhab-docs#2375 |
Thanks for you help in reviewing and finalizing this, @lsiepel |
* Adapting binding to new data feed Signed-off-by: clinique <gael@lhopital.org>
* Adapting binding to new data feed Signed-off-by: clinique <gael@lhopital.org>
* Adapting binding to new data feed Signed-off-by: clinique <gael@lhopital.org> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
Resolves #15461 .
Data feed changed completely, this will have major impact on binding organization.
This binding also integrates another Meteo France service : rain previsions over the coming hour.
Being more generic, it has been renamed and meteoalerte binding should be removed.