The devices are configured as follows: I've simplified the rules for a test to:
Code: Select all
on System#Boot do
Relay,0,0
endon
on MQTT#Connected do
publish /%sysname%/Dimmer/Dimmwert,[Dimmer#Dimmwert]
endon
on Eingang#Status=1 do
if [Var#1]=1
Relay,0,0
Let,1,0
else
YDim,17
Let,1,1
endif
endon
on GetState do
publish /%sysname%/status/LWT,Connected
publish /%sysname%/Dimmer/Dimmwert,[Dimmer#Dimmwert]
endon
If I switch the dimmer on after some unused time, the first YDim-command needs 2-3sec to execute. Same with Relay-command and also if I execute it from tools/command.
After the first switch operation is executed, the next toogles are quick. Same, Relay-/YDim-command via tools/command. After some minutes have gone, the problem is present again at the next switch-on event.
Any ideas why ???