Dynamic Icons, Transformations and Unknown blind thing

  • Platform information:

    Orange Pi Plus 2e

  • Hardware: _CPUArchitecture/RAM/storage

    H3 Quad-core Cortex-A7 H.265/HEVC 4K
    2GB DDR3 (shared with GPU)
    16GB EMMC Flash

  • OS: what OS is used and which version

  • openHAB version:


I’ve a problem with dynamic icons. I add to my item bt it doesn’t appear. Not in the basic ui, not in Habpanel. What I’m doing wrong? This is my item:

Switch Server_jeroen "Jeroen [MAP(status.map):%s]" { channel="network:pingdevice:Server_jeroen:online" } <network>

This is how I red it in the documentation:

Switch Livingroom_Light "Livingroom Ceiling Light" <switch>

With the at the end but when I do that I go an EOF error. When I put after the label i got no error but it won’t show up.

And with creating transfromations. I made a file called status.map:


and this item

Switch Server_jeroen "Jeroen [MAP(status.map):%s]" { channel="network:pingdevice:Server_jeroen:online" } <network>

But it doesn’t change the text ON in Online and I don’t know what I’m doing wrong.

And at last:

I’ve had a shutter that is not on the list. I made an switch of it and can control it in habpanel. I made a widget for it. But in sitemap it doesn’t work. How can I make a custom thing for an unknown blinds?


The icon must go after the label and before the group, tags, and binding config. The order defined in the docs is required.

Probably because the icon isn’t in the right spot. Fix that first and then we can look at what the problem with the rest might be. But be aware that the built in dynamic icons only work with certain item types. For example, the door icon only works with the Contact item.

Hello Rich,

Thanks for your reply. The icon does work now. I put it in the right place where you mentioned, and it worked. For the Online text I made a typo.

Any help on the Shutter?

This question doesn’t make sense. You don’t put Things on a sitemap, you put Items. If they are unknown blinds how did you make a Thing? What binding controls them?

If it works in HABPanel then you have an item. Put the item on the Sitemap using the appropriate element, probably Slider.

My item is:

Switch Rolluiken_Liam "Rolluiken Liam's Kamer" <blinds> {channel="rfxcom:lighting2:ded27f2a:14166714_7:command"}

Normaly you would have Rollershutter… and then you would have an up and down button. But now I have an on off switch.
This is the binding:

If you want it to be a roller shutter and the channel supports that, you need to use a Rollershutter Item, not a Switch.

If the binding doesn’t support linking that channel to a Rollershutter, a Switch is all you have available because you can only send ON and OFF commands to the channel.

ok, Thanks for your help.