I use #control.
{channel=“shelly:shelly25-roller:ThingRaffstoreWest:roller#control”, autoupdate=“false”}
The issue appears is the roller is in the open position and I try to move it up.
The position then jumps to 100 and back to 0 instantly.
here is the log:
2022-05-29 15:19:53.170 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'EG_Wohnen_RaffstoreWest' received command UP
2022-05-29 15:19:53.182 [DEBUG] [.internal.handler.ShellyRelayHandler] - shelly25-roller-thingraffstorewest: Roller command/position UP
2022-05-29 15:19:53.197 [DEBUG] [.internal.handler.ShellyRelayHandler] - shelly25-roller-thingraffstorewest: Open roller
2022-05-29 15:19:53.213 [DEBUG] [.internal.handler.ShellyRelayHandler] - shelly25-roller-thingraffstorewest: Set roller position for control channel to 100
2022-05-29 15:19:53.215 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel roller#control updated with 100 (type class org.openhab.core.library.types.PercentType).
2022-05-29 15:19:53.218 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'EG_Wohnen_RaffstoreWest' changed from 0 to 100
2022-05-29 15:19:53.222 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel device#heartBeat updated with 2022-05-29T15:19:53.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2022-05-29 15:19:53.226 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-roller-thingraffstorewest: CoIoT Message from /192.168.1.121:5683 (MID=8836): {"G":[[0,112,1],[0,122,0],[0,113,100],[0,111,0.000000],[0,121,0.000000],[0,118,0],[0,128,0],[0,115,61.89],[0,116,143.40],[0,117,0]]}
2022-05-29 15:19:53.228 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-roller-thingraffstorewest: CoIoT Sensor data {"G":[[0,112,1],[0,122,0],[0,113,100],[0,111,0.000000],[0,121,0.000000],[0,118,0],[0,128,0],[0,115,61.89],[0,116,143.40],[0,117,0]]} (serial=37376)
2022-05-29 15:19:53.230 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-roller-thingraffstorewest: 10 CoAP sensor updates received
2022-05-29 15:19:53.233 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel meter1#lastUpdate updated with 2022-05-29T15:19:53.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2022-05-29 15:19:53.235 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel meter2#lastUpdate updated with 2022-05-29T15:19:53.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2022-05-29 15:19:53.237 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel relay1#output updated with ON (type class org.openhab.core.library.types.OnOffType).
2022-05-29 15:19:53.243 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'EG_Wohnen_RaffstoreWest' changed from 100 to 0
2022-05-29 15:19:53.244 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel roller#control updated with 0 % (type class org.openhab.core.library.types.QuantityType).
2022-05-29 15:19:53.247 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-roller-thingraffstorewest: 4 channels updated from CoIoT status, serial=37376
2022-05-29 15:19:55.174 [INFO ] [org.openhab.core.model.script.test ] - Thing:EG_Wohnen_RaffstoreWest Status:null
2022-05-29 15:19:55.205 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel device#heartBeat updated with 2022-05-29T15:19:55.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2022-05-29 15:19:55.297 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel roller#state updated with open (type class org.openhab.core.library.types.StringType).
2022-05-29 15:19:55.299 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel device#uptime updated with 16319 s (type class org.openhab.core.library.types.QuantityType).
2022-05-29 15:19:56.290 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-roller-thingraffstorewest: CoIoT Message from /192.168.1.121:5683 (MID=8837): {"G":[[0,112,0],[0,122,0],[0,113,100],[0,111,0.000000],[0,121,0.000000],[0,118,0],[0,128,0],[0,115,61.76],[0,116,143.16],[0,117,0]]}
2022-05-29 15:19:56.295 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel device#heartBeat updated with 2022-05-29T15:19:56.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2022-05-29 15:19:56.296 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-roller-thingraffstorewest: CoIoT Sensor data {"G":[[0,112,0],[0,122,0],[0,113,100],[0,111,0.000000],[0,121,0.000000],[0,118,0],[0,128,0],[0,115,61.76],[0,116,143.16],[0,117,0]]} (serial=37632)
2022-05-29 15:19:56.298 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-roller-thingraffstorewest: 10 CoAP sensor updates received
2022-05-29 15:19:56.302 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel meter1#lastUpdate updated with 2022-05-29T15:19:56.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2022-05-29 15:19:56.303 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel meter2#lastUpdate updated with 2022-05-29T15:19:56.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2022-05-29 15:19:56.305 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel relay1#output updated with OFF (type class org.openhab.core.library.types.OnOffType).
2022-05-29 15:19:56.307 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-roller-thingraffstorewest: 3 channels updated from CoIoT status, serial=37632
2022-05-29 15:19:58.413 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel device#heartBeat updated with 2022-05-29T15:19:58.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2022-05-29 15:19:58.507 [DEBUG] [.internal.handler.ShellyRelayHandler] - shelly25-roller-thingraffstorewest: REST Update roller position: control=0, position=100
2022-05-29 15:19:58.509 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel roller#state updated with stop (type class org.openhab.core.library.types.StringType).
2022-05-29 15:19:58.512 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-roller-thingraffstorewest: Channel device#uptime updated with 16322 s (type class org.openhab.core.library.types.QuantityType).
There is a message that indicates that the Thing is null. That is from another script that checks the online status:
var thingStatusInfo = getThingStatusInfo("shelly:shelly25-roller:ThingRaffstoreWest:roller")
Haven’t figured out why that happens yet.