@matt1
So I removed the things and items (I am working with things and items files) and readded them. I also renamed the items, to be sure that there is no rule changing the value.
But the issue occured.
I also added a new WLED strip. There this issue is not occuring.
Now I get the following:
2021-12-15 07:50:49.819 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘WLEDLenaMasterControls’ changed from 37,100,0 to 37,100,100
2021-12-15 07:50:49.820 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘WLEDLenaMasterControls’ changed from 37,100,100 to 37,100,0
2021-12-15 07:50:59.851 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘WLEDLenaMasterControls’ changed from 37,100,0 to 37,100,100
2021-12-15 07:50:59.853 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘WLEDLenaMasterControls’ changed from 37,100,100 to 37,100,0
2021-12-15 07:51:09.851 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘WLEDLenaMasterControls’ changed from 37,100,0 to 37,100,100
2021-12-15 07:51:09.853 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘WLEDLenaMasterControls’ changed from 37,100,100 to 37,100,0
I changed the log value for wled to TRACE and this is the log output:
2021-12-15 07:57:40.859 [TRACE] [nding.wled.internal.api.WledApiV0130] - Sending WLED GET:/json/state
2021-12-15 07:57:40.898 [TRACE] [nding.wled.internal.api.WledApiV0130] - json/state:{“on”:false,“bri”:128,“transition”:7,“ps”:-1,“pl”:-1,“nl”:{“on”:false,“dur”:60,“mode”:1,“tbri”:0,“rem”:-1},“udpn”:{“send”:false,“recv”:true},“lor”:0,“mainseg”:0,“seg”:[{“id”:0,“start”:0,“stop”:300,“len”:300,“grp”:1,“spc”:0,“of”:0,“on”:false,“bri”:255,“cct”:127,“col”:[[255,160,0],[0,0,0],[0,0,0]],“fx”:0,“sx”:128,“ix”:128,“pal”:0,“sel”:true,“rev”:false,“mi”:false}]}
==> /var/log/openhab/events.log <==
2021-12-15 07:57:40.900 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘WLEDLenaMasterControls’ changed from 37,100,0 to 37,100,100
2021-12-15 07:57:40.901 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘WLEDLenaMasterControls’ changed from 37,100,100 to 37,100,0
So it looks like just one json response but it is setting the last value in WLEDLenaMasterControls to 100 and then directly in 1 ms to 0 back again