# OPENHAB 1.8 weatherbinding problem

**URL:** <https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187>\
**Category:** Tutorials & Examples\
**Tags:** weather\
**Created:** [January 13, 2016, 7:54pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187 "2016-01-13T19:54:22Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marty56](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@Marty56](https://community.openhab.org/u/Marty56)\
**Post date:** [January 13, 2016, 7:54pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/1 "2016-01-13T19:54:23Z")

</div>

I am using the weatherbinding and also have customized the provided example.html file.

Unfortunately this does not work anymore.  
I getting the error message  
[WARN] [tty.util.resource.FileResource] - EXCEPTION  
and the url does not show the values of the reference items.

Any idea?

---

<div class="post-metadata">

**Author:** ![watou](https://community.openhab.org/user_avatar/community.openhab.org/watou/32/70595_2.png) [@watou](https://community.openhab.org/u/watou)\
**Post date:** [January 13, 2016, 7:59pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/2 "2016-01-13T19:59:31Z")

</div>

I believe a change was needed in openHAB 1.8:

From the [wiki page](https://github.com/openhab/openhab/wiki/Weather-Binding):

> **Important changes in 1.8:** The item token for layouts has been removed to make the binding openHab2 compatible (see Example tokens) and new example weather-data file in [download section](https://github.com/openhab/openhab/wiki/Weather-Binding#download).

[HTML Layouts](https://github.com/openhab/openhab/wiki/Weather-Binding#html-layouts)

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [January 13, 2016, 9:33pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/3 "2016-01-13T21:33:40Z")

</div>

So does this mean you can’t reference Items now? That’s a bummer as I was also pulling in some historical data points and Astro sunrise and sunsets. Of course it is all academic as I really only used it as a testbed but I am saddened about the loss of functionality none-the-less.

---

<div class="post-metadata">

**Author:** ![Marty56](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@Marty56](https://community.openhab.org/u/Marty56)\
**Post date:** [January 14, 2016, 7:34pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/4 "2016-01-14T19:34:29Z")

</div>

item token is removed!  
This is really terrible and are a real showstopper for me!  
How can this be?  
Is there a workarround?

I am relying heavily on this because there is no alternative.

1. the classic UI is not good on horizontally mounted display (all empty spaces, super low information density).
2. CometVisu, too much overhead and it almost takes a PhD to set it up.
3. GreenT broken and not usable.

Please, please bring back this functionality!!!

---

<div class="post-metadata">

**Author:** ![watou](https://community.openhab.org/user_avatar/community.openhab.org/watou/32/70595_2.png) [@watou](https://community.openhab.org/u/watou)\
**Post date:** [January 14, 2016, 8:19pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/5 "2016-01-14T20:19:58Z")

</div>

> [@martin\_klimke](#):
>
> I am relying heavily on this because there is no alternative.1. the classic UI is not good on horizontally mounted display (all empty spaces, super low information density).2. CometVisu, too much overhead and it almost takes a PhD to set it up.3. GreenT broken and not usable.

There may be something unworkable for your use case, but just to make sure you’re aware of this alternative UI thread:

> [@Dashboard UI suitable for tablets](https://community.openhab.org/t/dashboard-ui-suitable-for-tablets/2329):
>
> Continuing the discussion from [Alternative UIs? OpenRemote, iRule, iViewer?](https://community.openhab.org/t/alternative-uis-openremote-irule-iviewer/1839/13): For anyone else looking to try this out, my openHAB dashboards can be found at [GitHub - smar000/openhab-dashboard: Dashing based dashboard for OpenHAB.](https://github.com/smar000/openhab-dashboard).

---

<div class="post-metadata">

**Author:** ![Marty56](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@Marty56](https://community.openhab.org/u/Marty56)\
**Post date:** [January 14, 2016, 8:45pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/6 "2016-01-14T20:45:03Z")

</div>

@watou.  
Thanks for the support. Should have already done this in my first reply but the shock was to big.  
I have seen this but this again this is another “tool” I have to take care and install. I am having already some of workaround tools installed. Also I am running windows and it seems to be made for Linux.

Maybe Gehard can rethink this decision and reintroduce this feature again.  
Do you think that I can run weatherbinding V 1.7.1 under openhab 1.8?

---

<div class="post-metadata">

**Author:** ![watou](https://community.openhab.org/user_avatar/community.openhab.org/watou/32/70595_2.png) [@watou](https://community.openhab.org/u/watou)\
**Post date:** [January 14, 2016, 8:48pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/7 "2016-01-14T20:48:24Z")

</div>

> [@martin\_klimke](#):
>
> Maybe Gehard can rethink this decision and reintroduce this feature again.

He was actually asked to remove the feature due to architecture boundaries being crossed (I don’t remember the specifics but it’s in the history at github.)

---

<div class="post-metadata">

**Author:** ![Marty56](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@Marty56](https://community.openhab.org/u/Marty56)\
**Post date:** [January 14, 2016, 8:51pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/8 "2016-01-14T20:51:48Z")

</div>

ok. So I guess these architecture considerations will rule out my hope.  
So I am stuck for the time being at 1.7.1. Too bad.

Thanks again for the rapid feedback.

---

<div class="post-metadata">

**Author:** ![watou](https://community.openhab.org/user_avatar/community.openhab.org/watou/32/70595_2.png) [@watou](https://community.openhab.org/u/watou)\
**Post date:** [January 14, 2016, 9:33pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/9 "2016-01-14T21:33:57Z")

</div>

> [@martin\_klimke](#):
>
> So I am stuck for the time being at 1.7.1.

Perhaps the earlier binding continues to run on openHAB 1.8.0, until you can find a suitable replacement?

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [January 15, 2016, 12:05am UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/10 "2016-01-15T00:05:39Z")

</div>

It’s probably too soon given everything else going on with OH 2 development to suggest this, but I wonder if something like the item: token in the webview but implemented by core instead of just one binding could be a way for advanced users who want to spend the time to build a custom UI can do so natively.

Or maybe it is already there. I’m only now starting to follow the dev forum over on Eclipse and reading/learning about OH 2 in earnest.

---

<div class="post-metadata">

**Author:** ![Marty56](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@Marty56](https://community.openhab.org/u/Marty56)\
**Post date:** [January 16, 2016, 8:13am UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/11 "2016-01-16T08:13:02Z")

</div>

@watou:  
The weatherbinding V1.7.1. is working under V1.8.  
So I have gained some time.  
Thanks for the support.

---

<div class="post-metadata">

**Author:** ![Marty56](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@Marty56](https://community.openhab.org/u/Marty56)\
**Post date:** [January 17, 2016, 2:33pm UTC](https://community.openhab.org/t/openhab-1-8-weatherbinding-problem/6187/12 "2016-01-17T14:33:35Z")

</div>

Another workarround is to use REST API and create HTML with JavaScripts.  
If anyone is interested, I could provide the example code.  
The website loads a bit slower but in my use case this is ok.  
A bit of work but at least I can stay on the offical release suite of addons and server.
