--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Victor,
That's great - I'll grab it and let you know.
Cheers
Chris
Hi Victor,
First run looks good. I'm still running the "broken" io.rest so it's a bit flakey, but the colors look good. I'll compile up the new sitemap/rest changes tonight and try it properly tomorrow.
Many thanks for this.
Cheers
Chris
Hi,
A great help would be to create a colored version of demo sitemap which can be used for tests and then be included into demo bundle instead of the current one?
--
As it currently stands, the selection widget only supports the label color - I'll have a look and see if value can be added.
Chris
-----Original message-----
From: karsten.k...@gmail.com
Sent: Tue 26-11-2013 16:40
Subject: Re: [openhab] Re: Sitemaps: Color and dynamic features to be added....
To: ope...@googlegroups.com;
--
Hi Karsten,
I'm afraid I'm not overly familiar with the classic UI. I can say that the html is specified in the "snippits" folder in org.openhab.ui and then generated dynamically with the renderers. However, I've spent some time trying to work out how to change this and can't find anywhere I can set a style that actually works for the selector widget.
Feel free to have a play with the ui, and if you can work out where to set a style that works for the selector then I'd be happy to make it dynamic. Maybe someone with more knowledge on the ClassicUI than me can comment?
Chris
-----Original message-----
From: karsten.k...@gmail.com
Sent: Wed 27-11-2013 10:22
Subject: Re: [openhab] Re: Sitemaps: Color and dynamic features to be added....
To: ope...@googlegroups.com;
--
just visible on ClassicUI in IE or Firefox
XbmcLiving_State==Pause
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.
Text item=Season_Name icon="Winter==winter,Autumn==autumn,Spring==spring,Summer==summer"
2) Dynamic IconsSimilar to colors, icons can now be changed dynamically. The existing static icon can still be used (eg icon="temperature"), but you can now add a dynamic array of icons (eg icon="30=temperature_high, 20=temperature_norm, 10=temperature_low"). The test is against the item defined in the widgets item= tag.
> The valuecolor works, but I can't get the icon part to work.
No - that’s what I said earlier. I was asked to remove the icon part as it wasn’t something Kai wanted at the time as he had another idea. As this other idea wasn’t implemented, and we’re on to OH2, if someone wanted to pick up the icon mods again for OH1, it should be possible to cherry pick it out of my repo…
Switch T_D_Garage1 "Garage Door 1 Opener"
Contact N_D_GarageDoor1 "Garage Door 1 Sensor"
Switch item=T_D_Garage1 label="Garage Door 1" icon="garagedoor-closed" mapping=[ON=Open] visibility=[N_D_GarageDoor1!="OPEN"]
Switch item=T_D_Garage1 label="Garage Door 1" icon="garagedoor-open" mapping=[ON=Close] visibility=[N_D_GarageDoor1=="OPEN"]
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/2251ee2e-3904-45e8-888b-94c803b8c760%40googlegroups.com.