Hello,
i fgured it out how to get this working with Sonoff T1.
First of all you would need to flash your Sonoff device with Tasmota but forked by Stefan Bode https://github.com/stefanbode/Sonoff-Tasmota because it will be easier later, as this fork support values from 1-100.
I used PAPER UI like suggested from Vincent, but this is not a really good way if you need support, as you would have always need to post screenshots instead of code.
So here some Screenshots:
a) Install MQTT Binding from Addons
b) Add an MQTT Broker with username and passwort ( “Show More” Button)
c) Make sure your sonoff device can connect to this broker.
I changed the topic to RWL in this sreenshot
d) Add a new MQTT Generic Thing and let it use your currently added MQTT Broker
e) Add a rollershutter channel and use SHUTTERPOSITION1 in your command topic
f) Add new item with rollershutter Type and link it to this channel
as reslut you will get an Rollershutter like this:
You can see in the last screenshot, that i have added a Dimmer Channel ( Percentage value) that also can work with this settings.
Using this code in your sitemap file would give you something line this:
Frame label="Jalousien" {
Slider item=RWL icon="rollershutter"
Switch item=RWL mappings=[0="ZU ", 15="15%",30="30%", 78="78%" , 100=" AUF "]
You can slide or use predefined values.
Most of informations i got from openhabforum.de but it is in German, so i think it would be good to post it here for all people with the same problem.