Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

[Weather] Add support for APIXU and Weatherbit as weather provider #5750

Merged
merged 12 commits into from
Jan 12, 2019

Conversation

jmahmens
Copy link
Contributor

@jmahmens jmahmens commented Jan 3, 2019

I 've added two new free provider for weather forecast.

Both provides a free forecast. Only ApiKey must be created like all other provider.
I will try to create openhab2-addons for these both in the next day's.

@9037568
Copy link
Contributor

9037568 commented Jan 5, 2019

First, @jmahmens, thank you for your contribution. However, I'm not sure it makes sense to add new functionality to the OH1 platform, especially when you plan to create new matching OH2 addons.

@kaikreuzer what do you think?

Resolve merge conflicts from master after rebase.
Remove unused responsecode for Weatherbit provider.
@jmahmens
Copy link
Contributor Author

jmahmens commented Jan 5, 2019

First, @jmahmens, thank you for your contribution. However, I'm not sure it makes sense to add new functionality to the OH1 platform, especially when you plan to create new matching OH2 addons.

@kaikreuzer what do you think?

Well, i think this is a good startingpoint for development of new oh2 addons.
I do this additon of new providers because yahoo was dropped and Wunderground dosn't support free use anymore. OpenWeatherMap provides no free 'daily' forecast, only 3hourly. DarkSky (forecastio), WorldWeaterOnline provides only a limited free forecast.
So this both APIXU and Weatherbit are a chance for those OH1 user have only change their provider and not the whole System.

@jmahmens jmahmens closed this Jan 5, 2019
@jmahmens jmahmens reopened this Jan 5, 2019
@jmahmens
Copy link
Contributor Author

jmahmens commented Jan 5, 2019

Sorry closed accidently

@kaikreuzer
Copy link
Member

@kaikreuzer what do you think?

As @jmahmens did the work, I think it is fair to merge it. But in general, I very much agree that new features should rather be done directly as OH2 bindings.

Copy link
Contributor

@9037568 9037568 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to addressing the inline comments, please run the source through the Eclipse formatter.

Resolve review finding.
Resolve review findings.
Resolve review findings
Resolve review findings
Resolve review findings
Resolve review findings
Resolve review findings
Resolve review findings
@jmahmens
Copy link
Contributor Author

jmahmens commented Jan 9, 2019

I've tryed to resolve the review findings.
Please do a new rewiev.

@9037568
Copy link
Contributor

9037568 commented Jan 12, 2019

Thanks, @jmahmens !

@9037568 9037568 merged commit b6aaf4a into openhab:master Jan 12, 2019
@jmahmens
Copy link
Contributor Author

Thanks for mergin this. I will now try the next step. But one question.
Should I try develop an OH2 binding or an eclipse.
A good template for these two new provider are die existing Wunderground and openweathermap eclipse bindings.

@kaikreuzer
Copy link
Member

@jmahmens Please go for adding them to the openhab2-addons repo - thanks!

@wborn wborn changed the title [Weather] Add two new Provider APIXU and Weatherbit. [Weather] Add two new Provider APIXU and Weatherbit Dec 8, 2019
@wborn wborn changed the title [Weather] Add two new Provider APIXU and Weatherbit [Weather] Add support for APIXU and Weatherbit as weather provider Dec 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants