|
|
Re: Image from Item state (rather from URL) [message #1743034 is a reply to message #1743025] |
Fri, 09 September 2016 17:49 |
Tim Roberts Messages: 29 Registered: September 2016 |
Junior Member |
|
|
Actually - I just implemented it without having to modify the sitemaps. If the URL attribute is missing, simply look at the item state:
Image item=Russound_CoverArtUrl
That will create the image from the item state. To me, seems like it's not only straight forward but is consistent with all the other tags (Text item=xxxx, etc).
[Updated on: Fri, 09 September 2016 17:49] Report message to a moderator
|
|
|
Re: Image from Item state (rather from URL) [message #1743199 is a reply to message #1743034] |
Tue, 13 September 2016 09:30 |
Kai Kreuzer Messages: 673 Registered: December 2011 |
Senior Member |
|
|
Tim,
you might be interested in https://github.com/eclipse/smarthome/issues/1800, I think this is the best way to move forward. Using string items with urls is imho only a workaround, with the new Image item type, we can natively support this use case and do not have to use any additional proxy servlets, etc. Unfortunately, the Paper UI is currently the only UI supporting this new item type, but if there are more bindings using it, the pressure will rise to enhance the UIs
Regards,
Kai
[Updated on: Tue, 13 September 2016 09:31] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04125 seconds