minute-by-minute (max. 60 min), hour-by-hour (48 or 168 hours) and day-by-day (max. one week) forecasts
weather alerts in the US, Canada, European Union member nations, and Israel
39 different languages (and the possibility to contribute more translations)
I finally ported my work to OH2 and got it working again. At least with latest snapshot version (2.5.0 Build 1552). I will not provide support for OH2 release version 2.4.0. A test version is linked in GitHub. I will upload it to Eclipse Marketplace later.
The binding is nearly similar to the OpenWeatherMap binding. I need to adopt some more parts of the code to the latest version. It currently provides some features which will be removed before it will enter the OH2 Add-ons repository (e.g. sunrise and sunset trigger).
The API supports weather alerts which currently should be available in the USA, Canada, European Union member nations, and Israel. I could not manage to receive an alert even if one of their sources is DWD. It will be very much appreciated if someone can send me valid responses. Thanks.
I am afraid it will not be possible. AFAIK the weather1 binding provides a WebServlet which handles the widget feature including replacement of placeholders and so on. I am not sure if such thing is possible with OH2 resources.
Yes, after a very quick research I think it is. We e.g. already have some bindings which implements a HttpServlet to support some binding related API calls. I will give it a try.
First of all thx for the great work your doing. Just found your binding during search for a wunderground alternative. Very happy that as an ex-wunderground user i dont have to change a lot so it works (regarding to items). But i encountered a problem: Formatting “current#precip-probability” (in this case %.1f) doesn’t work - also i saw via Rest-api that the item is set as “readonly=true” (all others not), maybe this is the reason why? A other thing is like you describe on github station id, name and location: do they exist? For me they don’t work (from where do they come? The json of darksky as far is i saw does not provide this). And last question: Are things like “apparentTemperature or dewpoint” accessible? they appear in the json but are not on your list/not working for me with this name. If not would it be possible to add them?
Good news are: The binding has been merged and is part of OH 2.5.0 snapshot 1566.
@maxwie1093 Please have a look at the new official documentation. The precipitation probability is a percentage value which should be formatted with “%d”.
Just for clarification. All of the channels should be readonly. You cannot change them, only read them.
The station stuff has been removed because it is not part of the binding.
“apparentTemperature” or “dewpoint” are not yet accessible via the binding but it should be possible to add them. Feel free to come up with an enhancement PR for it.
I installed the binding (2.5.0.201904040158) on OH S1566, but when trying to create a managed Thing, there is nothing to select (no errors). [Edit… I can’t explain why, but I looked again, and they showed up! Something took a while.]
After setting this up, I’m wondering why the minimum refresh interval is 10 minutes. If the binding is only making one API call, we should be able to use 2 minutes as the minimum and still use a free API key. But if I have a paid account, why not let me set it even more frequently?
You can download the latest version here. But be aware of the fact that it will not work with an older OH2 version because of not available dependencies. Minimum is OH 2.5.0 snapshot 1566.
Hi, I tried your binding in last snapshot, works great. One value I would like to see is WindGust. Possible to add? Have this in my vera: CurrentWindGust. Thanks.
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [10:org.apache.felix.fileinstall:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [10:org.apache.felix.fileinstall:3.6.4]