[SOLVED] Item for Shelly Binding cannot be displayed at sitemap

Hello everyone,

I am controlling my roller shutters with the shelly 2.5.
Installed is the Shelly Binding.

Everything works fine, but I have one problem.
I wanna have an output like open/closed.
For this case, I use:

Copied from the configuration/things

Roller Position (100=open, 0=closed)
shelly:shelly25-roller:XXXXX2:roller#rollerpos content_copy

in my code, the item is correctly filled


2020-02-19 17:40:20.635 [vent.ItemStateChangedEvent] - Shelly_XXXXX2_Pos changed from 100.0 to 0.0

but when I try to display this item at the sitemap it won’t work.

Text item=Shelly_XXXXX2_Pos

the sitemap is not being filled with the item.
I tried different declaration but it seems I don’t find the correct one…

Does somebody know, what am I doing wrong here?

Try this:

Text item=Shelly_XXXXX2_Pos label="Roller shutter: [%d]"
1 Like

yeah it worked !! thank u very much !! :slight_smile:

Straight from the docs…