Search found 4 matches

by benitoDomo
Sunday 25 August 2019 10:56
Forum: dzVents
Topic: Won't switch off script [Solved]
Replies: 18
Views: 4506

Re: Won't switch off script [Solved]

Hi,

It works great. I didn't think about not using forXXX().

Thanks!!!
by benitoDomo
Thursday 22 August 2019 20:18
Forum: dzVents
Topic: Won't switch off script [Solved]
Replies: 18
Views: 4506

Re: Won't switch off script [Solved]

I'm using this topic for a similar issue I have. I want to schedule devices in a series with following loop @benitoDomo, sorry but I am still confused what you want to achieve. If you want the device to switchOn for some time and switchOff after that then use for i, deviceName in pairs ...
by benitoDomo
Thursday 22 August 2019 14:04
Forum: dzVents
Topic: Won't switch off script [Solved]
Replies: 18
Views: 4506

Re: Won't switch off script [Solved]

Hello everyone, I'm using this topic for a similar issue I have. I want to schedule devices in a series with following loop Any idea ? Thanks ! Please add a log statement to show i. I cannot see from this snippet what the value of i is. Hello Waaren, Here follows Domoticz log: 2019-08-22 14:01:00 ...
by benitoDomo
Thursday 22 August 2019 11:20
Forum: dzVents
Topic: Won't switch off script [Solved]
Replies: 18
Views: 4506

Re: Won't switch off script [Solved]

Hello everyone, I'm using this topic for a similar issue I have. I want to schedule devices in a series with following loop for i, deviceName in pairs(devicesToControl) do local device = domoticz.devices(deviceName) local delayTimeMinute = (i-1)*TIME_DURATION -- reset device commands -- device ...